View Issue Details

IDProjectCategoryView StatusLast Update
0001941ardourbugspublic2020-04-19 20:12
Reporterdeva Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionSVN/2.0-ongoing 
Summary0001941: Crash after split-drag-resize
DescriptionA have a rather complex project, which crashes after performing the actions illustrated in the attached png file.
TagsNo tags attached.

Activities

2007-10-29 18:39

 

ardour_bug.png (5,261 bytes)   
ardour_bug.png (5,261 bytes)   

2007-10-29 18:40

 

gdb_output (13,548 bytes)   
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/ardour_stable-debug/lib/ardour2/ardour-2.1 
[Thread debugging using libthread_db enabled]
[New Thread -1231968592 (LWP 12326)]
Ardour/GTK 2.1
   (built using 2513 and GCC version 4.1.1 (Gentoo 4.1.1))
Copyright (C) 1999-2007 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it 
under certain conditions; see the source for copying conditions.
loading default ui configuration file /usr/local/ardour_stable/etc/ardour2/ardour2_ui_default.conf
loading user ui configuration file /home/ardour/.ardour2/ardour2_ui.conf
Configuration::pack_canvasvars () called, canvas_colors.size() = 82
ardour: [INFO]: Loading ui configuration file /usr/local/ardour_stable/etc/ardour2/ardour2_ui_dark.rc
theme_init() called from internal clearlooks engine
loading system configuration file /usr/local/ardour_stable/etc/ardour2/ardour_system.rc
loading user configuration file /home/ardour/.ardour2/ardour.rc
ardour: [INFO]: Using SSE optimized routines
[New Thread -1232823392 (LWP 12345)]
[New Thread -1241216096 (LWP 12346)]
ardour: [INFO]: looking for control protocols in /home/ardour/.ardour2/surfaces/:/usr/local/ardour_stable/lib/ardour2/surfaces/
Unable to open "/dev/input/event0": Permission denied
Unable to open "/dev/input/event1": Permission denied
Unable to open "/dev/input/event2": Permission denied
Unable to open "/dev/input/event3": Permission denied
Unable to open "/dev/input/event4": No such file or directory
Unable to open "/dev/input/event5": No such file or directory
Unable to open "/dev/input/event6": No such file or directory
Unable to open "/dev/input/event7": No such file or directory
Unable to open "/dev/input/event8": No such file or directory
Unable to open "/dev/input/event9": No such file or directory
Unable to open "/dev/input/event10": No such file or directory
Unable to open "/dev/input/event11": No such file or directory
Unable to open "/dev/input/event12": No such file or directory
Unable to open "/dev/input/event13": No such file or directory
Unable to open "/dev/input/event14": No such file or directory
Unable to open "/dev/input/event15": No such file or directory
powermate: Opening of powermate failed - No such file or directory
ardour: [INFO]: Control protocol powermate not usable
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control protocol Tranzport not usable
[New Thread -1256592192 (LWP 12733)]
loading bindings from /home/ardour/.ardour2/ardour.bindings
[New Thread -1257178208 (LWP 12750)]
Loading session /home/ardour/DIE_Rise_of_the_Rotten_cut/dead_flesh_makeover using snapshot dead_flesh_makeover (1)
[New Thread -1318064960 (LWP 12767)]
[New Thread -1318568768 (LWP 12768)]
Loading history from '/home/ardour/DIE_Rise_of_the_Rotten_cut/dead_flesh_makeover/dead_flesh_makeover.history'.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1318064960 (LWP 12767)]
0xb6c384f7 in memset () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 7 (Thread -1318568768 (LWP 12768)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c80553 in poll () from /lib/libc.so.6
#2  0xb7eafb3c in ARDOUR::Session::midi_thread_work () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#3  0xb7eb046f in ARDOUR::Session::_midi_thread_work () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#4  0xb6ea3294 in start_thread () from /lib/libpthread.so.0
#5  0xb6c8932e in clone () from /lib/libc.so.6

Thread 6 (Thread -1318064960 (LWP 12767)):
#0  0xb6c384f7 in memset () from /lib/libc.so.6
#1  0xb71dee07 in psf_memset () from /usr/local/ardour_stable/lib/ardour2/libsndfile-ardour.so
#2  0x184052f4 in ?? ()
#3  0x00000000 in ?? ()

Thread 5 (Thread -1257178208 (LWP 12750)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c80553 in poll () from /lib/libc.so.6
#2  0xb6eb81f8 in jack_client_core_wait (client=0x8a80060) at client.c:1342
#3  0xb6eb87db in jack_thread_wait (client=0x8a80060, status=0) at client.c:1496
#4  0xb6eb8c21 in jack_client_thread (arg=0x8a80060) at client.c:1543
#5  0xb6ea3294 in start_thread () from /lib/libpthread.so.0
#6  0xb6c8932e in clone () from /lib/libc.so.6

Thread 4 (Thread -1256592192 (LWP 12733)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6ea97f6 in ?? () from /lib/libpthread.so.0
#2  0xb78e4a02 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0xb715847b in Glib::usleep () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#4  0xb7d49e59 in ARDOUR::AudioEngine::meter_thread () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#5  0xb7d5344d in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#6  0xb71497f8 in call_thread_entry_slot () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#7  0xb78e27bf in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x08a4b870 in ?? ()
#9  0x08a7f608 in ?? ()
#10 0x00000000 in ?? ()

Thread 3 (Thread -1241216096 (LWP 12346)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6ea6596 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7148f87 in Glib::Cond::wait () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#3  0xb7ef0cd0 in peak_thread_work () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#4  0x08682a8d in sigc::pointer_functor0<void>::operator() (this=0x89c562c) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x08682aa4 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x89c5628) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x08682ac0 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x89c5610) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0xb71497f8 in call_thread_entry_slot () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#8  0xb78e27bf in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x089c5600 in ?? ()
#10 0x089c5638 in ?? ()
#11 0x00000000 in ?? ()

Thread 2 (Thread -1232823392 (LWP 12345)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
#1  0xb6ea6596 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7148f87 in Glib::Cond::wait () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#3  0xb7ef0cd0 in peak_thread_work () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#4  0x08682a8d in sigc::pointer_functor0<void>::operator() (this=0x89c5534) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x08682aa4 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x89c5530) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x08682ac0 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x89c5518) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0xb71497f8 in call_thread_entry_slot () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#8  0xb78e27bf in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x089c5508 in ?? ()
#10 0x089c5540 in ?? ()
#11 0xb6e9e000 in ?? ()
#12 0x000100e8 in ?? ()
#13 0xb6bd8ffc in ?? () from /lib/libc.so.6
#14 0xb6eadff4 in ?? () from /lib/libpthread.so.0
#15 0xb6ea52d0 in ?? () from /lib/libpthread.so.0
#16 0xb6eadff4 in ?? () from /lib/libpthread.so.0
#17 0x00000000 in ?? ()

Thread 1 (Thread -1231968592 (LWP 12326)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6ea8c2e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#2  0xb6ea5574 in _L_mutex_lock_48 () from /lib/libpthread.so.0
#3  0xbf99bac8 in ?? ()
#4  0x08397d12 in boost::detail::sp_counted_base::add_ref_copy (this=0xb0f7e1b0) at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:133
#5  0xb7148d2d in Glib::Mutex::lock () from /usr/local/ardour_stable/lib/ardour2/libglibmm2.so
#6  0x084458de in RegionLock (this=0xbf99bb28, pl=0xb0f9efe8, do_block_notify=false) at libs/ardour/ardour/playlist.h:153
#7  0x086f50df in ARDOUR::Playlist::foreach_region<StreamView> (this=0xb0f9efe8, t=0xac5ab4b0, func=
    (void ( class StreamView::*)(boost::shared_ptr<ARDOUR::Region>,)) 17680667) at libs/ardour/ardour/playlist_templates.h:40
#8  0x086ec4d7 in AudioStreamView::redisplay_diskstream (this=0xac5ab4b0) at gtk2_ardour/audio_streamview.cc:394
#9  0x086e558a in StreamView::playlist_modified (this=0xac5ab4b0) at gtk2_ardour/streamview.cc:215
#10 0x086ed75e in AudioStreamView::playlist_modified (this=0xac5ab4b0) at gtk2_ardour/audio_streamview.cc:271
#11 0x086e8b96 in sigc::bound_mem_functor0<void, StreamView>::operator() (this=0xab6e5a6c) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#12 0x086e8bac in sigc::adaptor_functor<sigc::bound_mem_functor0<void, StreamView> >::operator() (this=0xab6e5a68) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#13 0x086e8bc8 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, StreamView>, void>::call_it (rep=0xab6e5a50) at libs/sigc++2/sigc++/functors/slot.h:103
#14 0xb7e0fb12 in ARDOUR::Playlist::notify_modified () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#15 0xb7d316b5 in ARDOUR::AudioPlaylist::region_changed () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#16 0xb7e0c260 in ARDOUR::Playlist::region_changed_proxy () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#17 0xb7e20d3e in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor2<void, ARDOUR::Playlist, ARDOUR::Change, boost::weak_ptr<ARDOUR::Region> >, boost::weak_ptr<ARDOUR::Region>, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_>, void, ARDOUR::Change>::call_it ()
   from /usr/local/ardour_stable/lib/ardour2/libardour.so
#18 0xb7e348bc in ARDOUR::Region::send_change () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#19 0xb7d5d1c7 in ARDOUR::AudioRegion::envelope_changed () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#20 0xb7d6b3bd in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioRegion>, void>::call_it () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#21 0xb7d77c22 in ARDOUR::AutomationList::thaw () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#22 0xb7d5e146 in ARDOUR::AudioRegion::recompute_at_end () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#23 0xb7e351aa in ARDOUR::Region::thaw () from /usr/local/ardour_stable/lib/ardour2/libardour.so
#24 0x084f62ab in Editor::thaw_region_after_trim (this=0x8a8e020, rv=@0xab5338b8) at gtk2_ardour/editor_mouse.cc:4433
#25 0x084f9ff3 in Editor::trim_finished_callback (this=0x8a8e020, item=0xab533b18, event=0x912e150) at gtk2_ardour/editor_mouse.cc:4325
#26 0x084fdfe4 in Editor::end_grab (this=0x8a8e020, item=0xab533b18, event=0x912e150) at gtk2_ardour/editor_mouse.cc:1708
#27 0x08507c7d in Editor::button_release_handler (this=0x8a8e020, item=0xab533b18, event=0x912e150, item_type=RegionViewNameHighlight) at gtk2_ardour/editor_mouse.cc:777
#28 0x084d9b04 in Editor::canvas_region_view_name_highlight_event (this=0x8a8e020, event=0x912e150, item=0xab533b18, rv=0xab5338b8)
    at gtk2_ardour/editor_canvas_events.cc:742
#29 0x08698cc9 in sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>::operator() (this=0xab52be80, _A_a1=@0xbf99c274, 
---Type <return> to continue, or q <return> to quit---
    _A_a2=@0xbf99c204, _A_a3=@0xab52be90) at libs/sigc++2/sigc++/functors/mem_fun.h:1958
#30 0x08698d95 in sigc::adaptor_functor<sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*> >::operator()<_GdkEvent* const&, Gnome::Canvas::SimpleRect*&, RegionView*&> (this=0xab52be7c, _A_arg1=@0xbf99c274, _A_arg2=@0xab52be8c, _A_arg3=@0xab52be90) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:123
#31 0x08698dc9 in sigc::bind_functor<-1, sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>, Gnome::Canvas::SimpleRect*, RegionView*, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_>::operator()<_GdkEvent* const&> (this=0xab52be78, _A_arg1=@0xbf99c274)
    at libs/sigc++2/sigc++/adaptors/bind.h:1335
#32 0x08698def in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>, Gnome::Canvas::SimpleRect*, RegionView*, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_>, bool, _GdkEvent*>::call_it (rep=0xab52be60, a_1=@0xbf99c274)
    at libs/sigc++2/sigc++/functors/slot.h:137
#33 0xb7332eb3 in (anonymous namespace)::Item_signal_event_callback () from /usr/local/ardour_stable/lib/ardour2/libgnomecanvasmm.so
#34 0xb7843d02 in gnome_canvas_marshal_BOOLEAN__BOXED () from /usr/lib/libgnomecanvas-2.so.0
#35 0xb78690ab in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#36 0xb7879ec5 in ?? () from /usr/lib/libgobject-2.0.so.0
#37 0xab50f760 in ?? ()
#38 0xbf99c3d0 in ?? ()
#39 0x00000002 in ?? ()
#40 0xbf99c3bc in ?? ()
#41 0x00000001 in ?? ()
#42 0x00000000 in ?? ()
#0  0xb6c384f7 in memset () from /lib/libc.so.6
gdb_output (13,548 bytes)   

2007-10-29 18:42

 

deva

2007-10-29 18:44

reporter   ~0004516

I have attached the gdb output from the crash, and the project file in question.

The described actions are taken at the first 3 tracks at once (using multiselect), and I have been able to reproduce it at about time 1:20:10 (the split).

deva

2007-10-29 18:46

reporter   ~0004517

The output from ulimit -a is as follows:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 23485
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
max rt priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 23485
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

cth103

2009-10-20 22:26

administrator   ~0006800

Thanks for the very detailed report. Unfortunately I am unable to reproduce that here with current Ardour 2. Is it still an issue?

deva

2009-10-21 07:54

reporter   ~0006824

I am not able to reproduce it either. At least not by the steps above, which was a reproduce-always scenario.
Consider the bug fixed. I'll re-open if the problem shows itself again.

cth103

2009-10-21 12:02

administrator   ~0006830

Thanks for checking.

system

2020-04-19 20:12

developer   ~0021574

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2007-10-29 18:39 deva New Issue
2007-10-29 18:39 deva File Added: ardour_bug.png
2007-10-29 18:40 deva File Added: gdb_output
2007-10-29 18:42 deva File Added: dead_flesh_makeover.ardour.bz2
2007-10-29 18:44 deva Note Added: 0004516
2007-10-29 18:46 deva Note Added: 0004517
2009-10-20 22:26 cth103 Note Added: 0006800
2009-10-20 22:26 cth103 Status new => feedback
2009-10-21 07:54 deva Note Added: 0006824
2009-10-21 12:02 cth103 cost => 0.00
2009-10-21 12:02 cth103 Note Added: 0006830
2009-10-21 12:02 cth103 Status feedback => resolved
2009-10-21 12:02 cth103 Resolution open => fixed
2009-10-21 12:02 cth103 Assigned To => cth103
2020-04-19 20:12 system Note Added: 0021574
2020-04-19 20:12 system Status resolved => closed