View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006232 | ardour | bugs | public | 2015-04-03 20:56 | 2015-06-16 10:29 |
| Reporter | Ebardie | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | random |
| Status | closed | Resolution | no change required | ||
| Platform | x86_64 | OS | linux | OS Version | 3.16.0-33-lowlat |
| Summary | 0006232: malloc or free related crashes with GUI in backtrace | ||||
| Description | I'm working on piece, and am recording a track from Jack. I'll set it going, touch nothing whilst it's recording, and frequently Ardour will lock up tight, dump core, and disappear. | ||||
| Additional Information | Linux soprano 3.16.0-33-lowlatency 0000044-Ubuntu SMP PREEMPT Thu Mar 12 12:48:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Ubuntu 14.10 Utopic The crashes don't seem to be related to that activity per se, since they don't happen consistently. Sometimes I get the over three minutes recorded fine, at others Ardour will lock up at differing points. Here's malloc complaining about "(unsigned long) (size) >= (unsigned long) (nb)" $ gdb /opt/Ardour-4.0.rc1-dbg/bin/ardour-4.0.rc1 CoreDump GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/Ardour-4.0.rc1-dbg/bin/ardour-4.0.rc1...done. [New LWP 20105] [New LWP 20110] [New LWP 20138] [New LWP 20135] [New LWP 20131] [New LWP 20130] [New LWP 20141] [New LWP 20113] [New LWP 20114] [New LWP 20128] [New LWP 20129] [New LWP 20111] [New LWP 20137] [New LWP 20136] [New LWP 20140] [New LWP 20134] [New LWP 20151] [New LWP 20139] [New LWP 20115] [New LWP 20112] [New LWP 20121] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/opt/Ardour-4.0.rc1-dbg/bin/ardour-4.0.rc1 Danooshi_Dream/Danooshi_Dream.ardour'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fd9e688be37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007fd9e688be37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 0000001 0x00007fd9e688d528 in __GI_abort () at abort.c:89 #2 0x00007fd9e68d26dd in __malloc_assert (assertion=assertion@entry=0x7fd9e69d63a8 "(unsigned long) (size) >= (unsigned long) (nb)", file=file@entry=0x7fd9e69d1f40 "malloc.c", line=line@entry=3695, function=function@entry=0x7fd9e69d22c8 <__func__.11523> "_int_malloc") at malloc.c:293 #3 0x00007fd9e68d67f1 in _int_malloc (av=0x7fd9e6c12760 <main_arena>, bytes=1024) at malloc.c:3695 0000004 0x00007fd9e68d7760 in __GI___libc_malloc (bytes=1024) at malloc.c:2891 0000005 0x00007fd9ec4a9e57 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libcairo.so.2 #6 0x00007fd9ec4a9fe8 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libcairo.so.2 #7 0x00007fd9ec484b07 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libcairo.so.2 0000008 0x00007fd9ec47c497 in cairo_rel_line_to () from /opt/Ardour-4.0.rc1-dbg/lib/libcairo.so.2 0000009 0x00007fd9ea0c9a7d in Cairo::Context::rel_line_to(double, double) () from /opt/Ardour-4.0.rc1-dbg/lib/libcairomm-1.0.so.1 0000010 0x00007fd9f0dc62a2 in ArdourCanvas::WaveView::draw_image (this=0x134ca750, image=..., _peaks=0x14974380, n_peaks=232) at ../libs/canvas/wave_view.cc:684 0000011 0x00007fd9f0dc75b8 in ArdourCanvas::WaveView::get_image (this=0x134ca750, image=..., start=0, end=1900544, image_offset=@0x7fff3b3ab668: 0) at ../libs/canvas/wave_view.cc:839 0000012 0x00007fd9f0dc7a9b in ArdourCanvas::WaveView::render (this=0x134ca750, area=..., context=...) at ../libs/canvas/wave_view.cc:901 0000013 0x00007fd9f0d9d744 in ArdourCanvas::Item::render_children (this=0x135ec860, area=..., context=...) at ../libs/canvas/item.cc:800 0000014 0x00007fd9f0d93ab5 in ArdourCanvas::Container::render (this=0x135ec860, area=..., context=...) at ../libs/canvas/container.cc:43 #15 0x00007fd9f0d9d744 in ArdourCanvas::Item::render_children (this=0x3a66320, area=..., context=...) at ../libs/canvas/item.cc:800 0000016 0x00007fd9f0d93ab5 in ArdourCanvas::Container::render (this=0x3a66320, area=..., context=...) at ../libs/canvas/container.cc:43 #17 0x00007fd9f0d9d744 in ArdourCanvas::Item::render_children (this=0xba382c0, area=..., context=...) at ../libs/canvas/item.cc:800 0000018 0x00007fd9f0d93ab5 in ArdourCanvas::Container::render (this=0xba382c0, area=..., context=...) at ../libs/canvas/container.cc:43 0000019 0x00007fd9f0d9d744 in ArdourCanvas::Item::render_children (this=0x63a14e0, area=..., context=...) at ../libs/canvas/item.cc:800 0000020 0x00007fd9f0d93ab5 in ArdourCanvas::Container::render (this=0x63a14e0, area=..., context=...) at ../libs/canvas/container.cc:43 0000021 0x00007fd9f0d9d744 in ArdourCanvas::Item::render_children (this=0x63d39a0, area=..., context=...) at ../libs/canvas/item.cc:800 0000022 0x00007fd9f0d93ab5 in ArdourCanvas::Container::render (this=0x63d39a0, area=..., context=...) at ../libs/canvas/container.cc:43 0000023 0x00007fd9f0dba444 in ArdourCanvas::ScrollGroup::render (this=0x63d39a0, area=..., context=...) at ../libs/canvas/scroll_group.cc:67 #24 0x00007fd9f0d9d744 in ArdourCanvas::Item::render_children (this=0x62990d0, area=..., context=...) at ../libs/canvas/item.cc:800 0000025 0x00007fd9f0d93ab5 in ArdourCanvas::Container::render (this=0x62990d0, area=..., context=...) at ../libs/canvas/container.cc:43 0000026 0x00007fd9f0d818f8 in ArdourCanvas::Canvas::render (this=0x62990b8, area=..., context=...) at ../libs/canvas/canvas.cc:117 0000027 0x00007fd9f0d8567e in ArdourCanvas::GtkCanvas::on_expose_event (this=0x62990b8, ev=0x7fff3b3ad150) at ../libs/canvas/canvas.cc:792 0000028 0x00007fd9eb0b0b93 in Gtk::Widget_Class::expose_event_callback(_GtkWidget*, _GdkEventExpose*) () from /opt/Ardour-4.0.rc1-dbg/lib/libgtkmm-2.4.so.1 0000029 0x00007fd9ecfe5ef8 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgtk-x11-2.0.so.0 0000030 0x00007fd9ede7a1e2 in g_closure_invoke () from /opt/Ardour-4.0.rc1-dbg/lib/libgobject-2.0.so.0 0000031 0x00007fd9ede91272 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgobject-2.0.so.0 0000032 0x00007fd9ede91f98 in g_signal_emit_valist () from /opt/Ardour-4.0.rc1-dbg/lib/libgobject-2.0.so.0 0000033 0x00007fd9ede927e3 in g_signal_emit () from /opt/Ardour-4.0.rc1-dbg/lib/libgobject-2.0.so.0 0000034 0x00007fd9ed13cd4f in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgtk-x11-2.0.so.0 0000035 0x00007fd9ecfdffe7 in gtk_main_do_event () from /opt/Ardour-4.0.rc1-dbg/lib/libgtk-x11-2.0.so.0 0000036 0x00007fd9ecc03742 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000037 0x00007fd9ecc036ef in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000038 0x00007fd9ecbfc514 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000039 0x00007fd9ecbfc879 in gdk_window_process_all_updates () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000040 0x00007fd9ecbfc8e9 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000041 0x00007fd9ecbc9da6 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000042 0x00007fd9edb75c95 in g_main_context_dispatch () from /opt/Ardour-4.0.rc1-dbg/lib/libglib-2.0.so.0 0000043 0x00007fd9edb77b08 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libglib-2.0.so.0 0000044 0x00007fd9edb77bb5 in g_main_loop_run () from /opt/Ardour-4.0.rc1-dbg/lib/libglib-2.0.so.0 0000045 0x00007fd9ecfdf617 in gtk_main () from /opt/Ardour-4.0.rc1-dbg/lib/libgtk-x11-2.0.so.0 0000046 0x00007fd9ef0fca8f in Gtkmm2ext::UI::run (this=0x33dd3f0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:280 0000047 0x0000000001241e13 in main (argc=2, argv=0x7fff3b3ad788) at ../gtk2_ardour/main.cc:355 (gdb) And here's int_free complaining about "corrupted double-linked list": $ gdb /opt/Ardour-4.0.rc1-dbg/bin/ardour-4.0.rc1 CoreDump GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/Ardour-4.0.rc1-dbg/bin/ardour-4.0.rc1...done. [New LWP 18742] [New LWP 18772] [New LWP 18770] [New LWP 18773] [New LWP 18762] [New LWP 18764] [New LWP 18769] [New LWP 18768] [New LWP 18774] [New LWP 18765] [New LWP 18752] [New LWP 18751] [New LWP 18775] [New LWP 18747] [New LWP 18771] [New LWP 18748] [New LWP 18749] [New LWP 18758] [New LWP 18763] [New LWP 18750] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/opt/Ardour-4.0.rc1-dbg/bin/ardour-4.0.rc1 Danooshi_Dream/Danooshi_Dream.ardour'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fda5ef2ce37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007fda5ef2ce37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 0000001 0x00007fda5ef2e528 in __GI_abort () at abort.c:89 #2 0x00007fda5ef6df74 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fda5f076f00 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007fda5ef73ff7 in malloc_printerr (action=<optimised out>, str=0x7fda5f072fbc "corrupted double-linked list", ptr=<optimised out>) at malloc.c:4996 0000004 0x00007fda5ef756bf in _int_free (av=0x7fda5f2b3760 <main_arena>, p=<optimised out>, have_lock=0) at malloc.c:3996 0000005 0x00007fda652a42d6 in gdk_window_end_paint () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 #6 0x00007fda65680ff0 in gtk_main_do_event () from /opt/Ardour-4.0.rc1-dbg/lib/libgtk-x11-2.0.so.0 #7 0x00007fda652a4742 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000008 0x00007fda652a46ef in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000009 0x00007fda6529d514 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000010 0x00007fda6529d879 in gdk_window_process_all_updates () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000011 0x00007fda6529d8e9 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000012 0x00007fda6526ada6 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libgdk-x11-2.0.so.0 0000013 0x00007fda66216c95 in g_main_context_dispatch () from /opt/Ardour-4.0.rc1-dbg/lib/libglib-2.0.so.0 0000014 0x00007fda66218b08 in ?? () from /opt/Ardour-4.0.rc1-dbg/lib/libglib-2.0.so.0 #15 0x00007fda66218bb5 in g_main_loop_run () from /opt/Ardour-4.0.rc1-dbg/lib/libglib-2.0.so.0 0000016 0x00007fda65680617 in gtk_main () from /opt/Ardour-4.0.rc1-dbg/lib/libgtk-x11-2.0.so.0 #17 0x00007fda6779da8f in Gtkmm2ext::UI::run (this=0x3c3a3f0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:280 0000018 0x0000000001241e13 in main (argc=2, argv=0x7fff488c6db8) at ../gtk2_ardour/main.cc:355 (gdb) | ||||
| Tags | No tags attached. | ||||
|
|
please use thread apply all bt this is most likley cause by a plugin (different thread). in the past we've seen "corrupted double-linked list" with calf (fftw related, that has meanwhile been fixed in calf-git). |
|
|
Thanks. I'm using several Calf plugins, so I'll get on to looking into calf-git later on. |
|
|
That was it. Closing. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-04-03 20:56 | Ebardie | New Issue | |
| 2015-04-03 21:52 | x42 | Note Added: 0016529 | |
| 2015-04-04 10:43 | Ebardie | Note Added: 0016535 | |
| 2015-06-16 10:29 | Ebardie | Note Added: 0016786 | |
| 2015-06-16 10:29 | Ebardie | Status | new => closed |
| 2015-06-16 10:29 | Ebardie | Resolution | open => no change required |