View Issue Details

IDProjectCategoryView StatusLast Update
0004870ardourbugspublic2020-04-19 20:16
Reporterx42 Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Target Version3.0 
Summary0004870: crash when quiting or closing a session
DescriptionIf there is at least one track (playlist) in a session, closing the session will crash ardour.

SVN r12195; backtrace attached.
Additional Information---During load or track creation---
Lock for playlist testtrack already held
  PBD::stacktrace(std::ostream&, int)
  ARDOUR::Playlist::RegionLock::RegionLock(ARDOUR::Playlist*, bool)
  ARDOUR::Playlist::find_next_region(long long, ARDOUR::RegionPoint, int)
  RouteTimeAxisView::find_next_region(long long, ARDOUR::RegionPoint, int)
  Editor::find_next_region(long long, ARDOUR::RegionPoint, int, TrackViewList&, TimeAxisView**)
  Editor::build_region_boundary_cache()
  Editor::set_session(ARDOUR::Session*)
  ARDOUR_UI::connect_dependents_to_session(ARDOUR::Session*)
  ARDOUR_UI::set_session(ARDOUR::Session*)
  ARDOUR_UI::load_session(std::string const&, std::string const&, std::string)

---at exit---
GThread-ERROR **: file /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gthread/gthread-posix.c: line 171 (g_mutex_free_posix_impl): error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'
aborting...
TagsNo tags attached.

Activities

2012-05-07 18:47

 

a3crash-lock_at_exit-backtrace.txt (30,616 bytes)   
[New Thread 0xaababb70 (LWP 25840)]
[New Thread 0xaa3aab70 (LWP 25841)]
[New Thread 0xa9ba9b70 (LWP 25842)]
[New Thread 0xa93a8b70 (LWP 25843)]
[New Thread 0xa8ba7b70 (LWP 25844)]
[New Thread 0xa83a6b70 (LWP 25845)]
[New Thread 0xa7ba5b70 (LWP 25846)]
[New Thread 0xa73a4b70 (LWP 25847)]
[New Thread 0xa7323b70 (LWP 25848)]
[Thread 0xa7323b70 (LWP 25848) exited]
[Thread 0xa73a4b70 (LWP 25847) exited]
[Thread 0xa93a8b70 (LWP 25843) exited]
[Thread 0xa8ba7b70 (LWP 25844) exited]
[Thread 0xa7ba5b70 (LWP 25846) exited]
[Thread 0xaababb70 (LWP 25840) exited]
[Thread 0xa83a6b70 (LWP 25845) exited]
[Thread 0xa9ba9b70 (LWP 25842) exited]
Set existing chooser to /home/rgareus/data/snd/a3
[New Thread 0xa9ba9b70 (LWP 25849)]
[Thread 0xa9ba9b70 (LWP 25849) exited]
[New Thread 0xa92c0b70 (LWP 25850)]
[New Thread 0xa923fb70 (LWP 25851)]
no more csLADSPA plugins
[Thread 0xaa3aab70 (LWP 25841) exited]
[New Thread 0xa7366b70 (LWP 25863)]
[New Thread 0xa2381b70 (LWP 25864)]
[New Thread 0xa2300b70 (LWP 25865)]
[New Thread 0xa227ec90 (LWP 25866)]
[New Thread 0xaa3aab70 (LWP 25867)]
Looking for MIDI Controllable with ID 2593
	result = 0x9f3d64c0
Looking for MIDI Controllable with ID 2713
	result = 0x9ea060f8
Looking for MIDI Controllable with ID 3163
	result = 0x9ea3d308
Looking for MIDI Controllable with ID 3133
	result = 0x9ea56770
Looking for MIDI Controllable with ID 3343
	result = 0x9ea6f248
Looking for MIDI Controllable with ID 3043
	result = 0x9ea8b958
Looking for MIDI Controllable with ID 2623
	result = 0x9eaaf1c0
Looking for MIDI Controllable with ID 2653
	result = 0x9eacdc30
Looking for MIDI Controllable with ID 2803
	result = 0x9d009740
Looking for MIDI Controllable with ID 3283
	result = 0x9d021070
Looking for MIDI Controllable with ID 2683
	result = 0x9d046180
Looking for MIDI Controllable with ID 2743
	result = 0x9d068280
Looking for MIDI Controllable with ID 2773
	result = 0x9d085200
Looking for MIDI Controllable with ID 2833
	result = 0x9d09cd48
Looking for MIDI Controllable with ID 2863
	result = 0x9d0b4710
Looking for MIDI Controllable with ID 3073
	result = 0x9d0dad38
Looking for MIDI Controllable with ID 2983
	result = 0x9b10a5c0
Looking for MIDI Controllable with ID 2923
	result = 0x9b121f68
Looking for MIDI Controllable with ID 3253
	result = 0x9b13e238
Looking for MIDI Controllable with ID 2893
	result = 0x9b160250
Looking for MIDI Controllable with ID 3223
	result = 0x9b184508
Looking for MIDI Controllable with ID 2953
	result = 0x9b1a5398
Looking for MIDI Controllable with ID 3193
	result = 0x9b1c9c90
Looking for MIDI Controllable with ID 3373
	result = 0x9b1e6568
Looking for MIDI Controllable with ID 3103
	result = 0x9920c218
Looking for MIDI Controllable with ID 0
	result = 0x9e9f550
Looking for MIDI Controllable with ID 1
	result = 0x9e9fb18
Looking for MIDI Controllable with ID 3013
	result = 0x9ea21f00
Looking for MIDI Controllable with ID 11933
	result = 0x99223f08
[New Thread 0x9b29ec90 (LWP 25868)]
[New Thread 0xa9ba9b70 (LWP 26299)]
[New Thread 0xa83a6b70 (LWP 26300)]
[New Thread 0xaababb70 (LWP 26301)]
[Thread 0xa9ba9b70 (LWP 26299) exited]
[Thread 0xa83a6b70 (LWP 26300) exited]
[Thread 0xaababb70 (LWP 26301) exited]
[New Thread 0xaababb70 (LWP 26379)]
[New Thread 0xa83a6b70 (LWP 26380)]
[New Thread 0xa9ba9b70 (LWP 26381)]
[New Thread 0x988ffb70 (LWP 26382)]
[New Thread 0x980feb70 (LWP 26384)]
[New Thread 0x978fdb70 (LWP 26385)]
[New Thread 0x970fcb70 (LWP 26386)]
[New Thread 0x968fbb70 (LWP 26387)]
[Thread 0x988ffb70 (LWP 26382) exited]
[Thread 0xaababb70 (LWP 26379) exited]
[Thread 0x978fdb70 (LWP 26385) exited]
[Thread 0xa9ba9b70 (LWP 26381) exited]
[Thread 0x970fcb70 (LWP 26386) exited]
[Thread 0x980feb70 (LWP 26384) exited]
[Thread 0x968fbb70 (LWP 26387) exited]
[New Thread 0x968fbb70 (LWP 26397)]
[New Thread 0x980feb70 (LWP 26398)]
[New Thread 0x970fcb70 (LWP 26399)]
[New Thread 0xa9ba9b70 (LWP 26400)]
[New Thread 0xaababb70 (LWP 26401)]
[New Thread 0x988ffb70 (LWP 26402)]
[Thread 0x988ffb70 (LWP 26402) exited]
[Thread 0xa9ba9b70 (LWP 26400) exited]
[Thread 0x980feb70 (LWP 26398) exited]
[Thread 0x968fbb70 (LWP 26397) exited]
[Thread 0xa83a6b70 (LWP 26380) exited]
[Thread 0xaababb70 (LWP 26401) exited]
[Thread 0x970fcb70 (LWP 26399) exited]
[New Thread 0x970fcb70 (LWP 26907)]
Lock for playlist metalic wind already held
  PBD::stacktrace(std::ostream&, int)
  ARDOUR::Playlist::RegionLock::RegionLock(ARDOUR::Playlist*, bool)
  ARDOUR::Playlist::find_next_region(long long, ARDOUR::RegionPoint, int)
  RouteTimeAxisView::find_next_region(long long, ARDOUR::RegionPoint, int)
  Editor::find_next_region(long long, ARDOUR::RegionPoint, int, TrackViewList&, TimeAxisView**)
  Editor::build_region_boundary_cache()
  Editor::set_session(ARDOUR::Session*)
  ARDOUR_UI::connect_dependents_to_session(ARDOUR::Session*)
  ARDOUR_UI::set_session(ARDOUR::Session*)
  ARDOUR_UI::load_session(std::string const&, std::string const&, std::string)
Lock for playlist saw bubbles already held
  PBD::stacktrace(std::ostream&, int)
  ARDOUR::Playlist::RegionLock::RegionLock(ARDOUR::Playlist*, bool)
  ARDOUR::Playlist::find_next_region(long long, ARDOUR::RegionPoint, int)
  RouteTimeAxisView::find_next_region(long long, ARDOUR::RegionPoint, int)
  Editor::find_next_region(long long, ARDOUR::RegionPoint, int, TrackViewList&, TimeAxisView**)
  Editor::build_region_boundary_cache()
  Editor::set_session(ARDOUR::Session*)
  ARDOUR_UI::connect_dependents_to_session(ARDOUR::Session*)
  ARDOUR_UI::set_session(ARDOUR::Session*)
  ARDOUR_UI::load_session(std::string const&, std::string const&, std::string)
Lock for playlist hell wind already held
  PBD::stacktrace(std::ostream&, int)
  ARDOUR::Playlist::RegionLock::RegionLock(ARDOUR::Playlist*, bool)
  ARDOUR::Playlist::find_next_region(long long, ARDOUR::RegionPoint, int)
  RouteTimeAxisView::find_next_region(long long, ARDOUR::RegionPoint, int)
  Editor::find_next_region(long long, ARDOUR::RegionPoint, int, TrackViewList&, TimeAxisView**)
  Editor::build_region_boundary_cache()
  Editor::set_session(ARDOUR::Session*)
  ARDOUR_UI::connect_dependents_to_session(ARDOUR::Session*)
  ARDOUR_UI::set_session(ARDOUR::Session*)
  ARDOUR_UI::load_session(std::string const&, std::string const&, std::string)
[New Thread 0xaababb70 (LWP 26911)]
[New Thread 0xa83a6b70 (LWP 26912)]
[New Thread 0x968fbb70 (LWP 26913)]
[New Thread 0x986ffb70 (LWP 26914)]
[New Thread 0x97efeb70 (LWP 26915)]
[New Thread 0x960fab70 (LWP 26916)]
[New Thread 0x958f9b70 (LWP 26917)]
[Thread 0x97efeb70 (LWP 26915) exited]
[Thread 0x986ffb70 (LWP 26914) exited]
[Thread 0xaababb70 (LWP 26911) exited]
[Thread 0x960fab70 (LWP 26916) exited]
[Thread 0x958f9b70 (LWP 26917) exited]
[Thread 0xa83a6b70 (LWP 26912) exited]

** (ardour-3.0:25833): CRITICAL **: clearlooks_style_draw_box_gap: assertion `width >= -1' failed
[New Thread 0xa83a6b70 (LWP 26918)]
[New Thread 0x958f9b70 (LWP 26919)]
[New Thread 0x960fab70 (LWP 26920)]
[New Thread 0xaababb70 (LWP 26922)]
[New Thread 0x982ffb70 (LWP 26924)]
[New Thread 0x97afeb70 (LWP 26926)]
[New Thread 0x950f8b70 (LWP 26929)]
[New Thread 0x948f7b70 (LWP 26931)]
[New Thread 0x940f6b70 (LWP 26933)]
[New Thread 0x938f5b70 (LWP 26935)]
[New Thread 0x930f4b70 (LWP 26937)]
[New Thread 0x928f3b70 (LWP 26939)]
[New Thread 0x920f2b70 (LWP 26941)]
[Thread 0x960fab70 (LWP 26920) exited]
[New Thread 0x918f1b70 (LWP 26943)]
[Thread 0xa83a6b70 (LWP 26918) exited]
[Thread 0x958f9b70 (LWP 26919) exited]
[Thread 0x97afeb70 (LWP 26926) exited]
[New Thread 0x910f0b70 (LWP 26945)]
[Thread 0xaababb70 (LWP 26922) exited]
[Thread 0x950f8b70 (LWP 26929) exited]
[Thread 0x940f6b70 (LWP 26933) exited]
[New Thread 0x908efb70 (LWP 26947)]
[Thread 0x938f5b70 (LWP 26935) exited]
[Thread 0x930f4b70 (LWP 26937) exited]
[Thread 0x920f2b70 (LWP 26941) exited]
[New Thread 0x900eeb70 (LWP 26949)]
[Thread 0x928f3b70 (LWP 26939) exited]
[Thread 0x982ffb70 (LWP 26924) exited]
[Thread 0x918f1b70 (LWP 26943) exited]
[New Thread 0x8f8edb70 (LWP 26952)]
[Thread 0x948f7b70 (LWP 26931) exited]
[New Thread 0x8f0ecb70 (LWP 26953)]
[New Thread 0x8e8ebb70 (LWP 26955)]
[Thread 0x910f0b70 (LWP 26945) exited]
[New Thread 0x8e0eab70 (LWP 26957)]
[Thread 0x908efb70 (LWP 26947) exited]
[Thread 0x900eeb70 (LWP 26949) exited]
[Thread 0x8f0ecb70 (LWP 26953) exited]
[Thread 0x8f8edb70 (LWP 26952) exited]
[Thread 0x8e8ebb70 (LWP 26955) exited]
[Thread 0x8e0eab70 (LWP 26957) exited]

** (ardour-3.0:25833): CRITICAL **: clearlooks_style_draw_box_gap: assertion `width >= -1' failed
[Thread 0x968fbb70 (LWP 26913) exited]
entered track canvas
left track canvas
entered track canvas
entered track canvas
entered track canvas
entered track canvas
left track canvas
entered track canvas
entered track canvas
entered track canvas
entered track canvas
left track canvas
Child process is running. trying SIGTERM
[Thread 0x970fcb70 (LWP 26907) exited]
[Thread 0x9b29ec90 (LWP 25868) exited]
[Thread 0xa227ec90 (LWP 25866) exited]
[Thread 0xa2300b70 (LWP 25865) exited]
[Thread 0xa2381b70 (LWP 25864) exited]

GThread-ERROR **: file /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gthread/gthread-posix.c: line 171 (g_mutex_free_posix_impl): error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'
aborting...

Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 22 (Thread 0xaa3aab70 (LWP 25867)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb40acf86 in *__GI___poll (fds=0xb4143ff4, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb5afbf5b in g_poll (fds=0xa097000, nfds=1, timeout=-1)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gpoll.c:132
#3  0xb5aeb96f in g_main_context_poll (n_fds=1, fds=0xa097000, 
    timeout=<optimized out>, context=0xa1e22fd8, priority=<optimized out>)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3404
#4  g_main_context_iterate (context=0xa1e22fd8, block=1, dispatch=1, 
    self=<optimized out>)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3086
#5  0xb5aec0f3 in g_main_loop_run (loop=0xa1e22e08)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3299
#6  0xb5c20013 in Glib::MainLoop::run() () from /usr/lib/libglibmm-2.4.so.1
#7  0xb5fc5d79 in BaseUI::main_thread (this=0xa1e22cb8)
    at ../libs/pbd/base_ui.cc:79
#8  0xb5fc8c2c in sigc::bound_mem_functor0<void, BaseUI>::operator() (
---Type <return> to continue, or q <return> to quit---
    this=0xa1e22eec)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#9  0xb5fc8a4a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0xa1e22ee8)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#10 0xb5fc8588 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0xa1e22ed0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#11 0xb5c16f82 in ?? () from /usr/lib/libglibmm-2.4.so.1
#12 0xb5b14b6f in g_thread_create_proxy (data=0xa1e23068)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gthread.c:1897
#13 0xb414dc39 in start_thread (arg=0xaa3aab70) at pthread_create.c:304
#14 0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 18 (Thread 0xa7366b70 (LWP 25863)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb41547f8 in sem_timedwait ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_timedwait.S:111
#2  0xb47951e0 in ?? () from /usr/lib/libjack.so.0
#3  0xb4783067 in ?? () from /usr/lib/libjack.so.0
#4  0xb47871fa in ?? () from /usr/lib/libjack.so.0
---Type <return> to continue, or q <return> to quit---
#5  0xb478198f in ?? () from /usr/lib/libjack.so.0
#6  0xb478187f in ?? () from /usr/lib/libjack.so.0
#7  0xb477fb85 in ?? () from /usr/lib/libjack.so.0
#8  0xb477be64 in jack_cycle_wait () from /usr/lib/libjack.so.0
#9  0xb7456f75 in ARDOUR::AudioEngine::process_thread (this=0xa0e1800)
    at ../libs/ardour/audioengine.cc:445
#10 0xb745697b in ARDOUR::AudioEngine::_process_thread (arg=0xa0e1800)
    at ../libs/ardour/audioengine.cc:343
#11 0xb477fb5f in ?? () from /usr/lib/libjack.so.0
#12 0xb4794439 in ?? () from /usr/lib/libjack.so.0
#13 0xb414dc39 in start_thread (arg=0xa7366b70) at pthread_create.c:304
#14 0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 17 (Thread 0xa923fb70 (LWP 25851)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb415533b in read () at ../sysdeps/unix/syscall-template.S:82
#2  0xb4796977 in ?? () from /usr/lib/libjack.so.0
#3  0xb479e374 in ?? () from /usr/lib/libjack.so.0
#4  0xb479a73f in ?? () from /usr/lib/libjack.so.0
#5  0xb4794439 in ?? () from /usr/lib/libjack.so.0
#6  0xb414dc39 in start_thread (arg=0xa923fb70) at pthread_create.c:304
#7  0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 16 (Thread 0xa92c0b70 (LWP 25850)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb415220a in __pthread_cond_wait (cond=0xa1110b4, mutex=0xa111098)
    at pthread_cond_wait.c:153
#2  0xb47960a6 in ?? () from /usr/lib/libjack.so.0
#3  0xb4791c80 in ?? () from /usr/lib/libjack.so.0
#4  0xb4794439 in ?? () from /usr/lib/libjack.so.0
#5  0xb414dc39 in start_thread (arg=0xa92c0b70) at pthread_create.c:304
#6  0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb0684b70 (LWP 25839)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb415220a in __pthread_cond_wait (cond=0x9f7ac88, mutex=0xb7ee1560)
    at pthread_cond_wait.c:153
#2  0xb5c179b7 in Glib::Cond::wait(Glib::Mutex&) ()
   from /usr/lib/libglibmm-2.4.so.1
#3  0xb7405f3d in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85
#4  0xb7405cca in analyser_work () at ../libs/ardour/analyser.cc:49

#5  0x0941c179 in sigc::pointer_functor0<void>::operator() (this=0x9f7a964)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
---Type <return> to continue, or q <return> to quit---
#6  0x0941a032 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9f7a960)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x094177da in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9f7a948)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0xb5c16f82 in ?? () from /usr/lib/libglibmm-2.4.so.1
#9  0xb5b14b6f in g_thread_create_proxy (data=0x9f7a608)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gthread.c:1897
#10 0xb414dc39 in start_thread (arg=0xb0684b70) at pthread_create.c:304
#11 0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb0e85b70 (LWP 25838)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb415220a in __pthread_cond_wait (cond=0x9f7b648, mutex=0xb7ee2270)
    at pthread_cond_wait.c:153
#2  0xb5c179b7 in Glib::Cond::wait(Glib::Mutex&) ()
   from /usr/lib/libglibmm-2.4.so.1

#3  0xb7880cfe in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#4  0x0941c179 in sigc::pointer_functor0<void>::operator() (this=0x9f7b324)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
---Type <return> to continue, or q <return> to quit---
#5  0x0941a032 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9f7b320)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x094177da in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9f7b308)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0xb5c16f82 in ?? () from /usr/lib/libglibmm-2.4.so.1
#8  0xb5b14b6f in g_thread_create_proxy (data=0x9f7afc8)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gthread.c:1897
#9  0xb414dc39 in start_thread (arg=0xb0e85b70) at pthread_create.c:304
#10 0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb1686b70 (LWP 25837)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb415220a in __pthread_cond_wait (cond=0x9f7b648, mutex=0xb7ee2270)
    at pthread_cond_wait.c:153
#2  0xb5c179b7 in Glib::Cond::wait(Glib::Mutex&) ()
   from /usr/lib/libglibmm-2.4.so.1
#3  0xb7880cfe in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#4  0x0941c179 in sigc::pointer_functor0<void>::operator() (this=0x9f525fc)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
---Type <return> to continue, or q <return> to quit---
#5  0x0941a032 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9f525f8)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x094177da in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9f525e0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0xb5c16f82 in ?? () from /usr/lib/libglibmm-2.4.so.1
#8  0xb5b14b6f in g_thread_create_proxy (data=0x9f7ee68)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gthread.c:1897
#9  0xb414dc39 in start_thread (arg=0xb1686b70) at pthread_create.c:304
#10 0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb1e87b70 (LWP 25836)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb4085406 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0xb40b466c in usleep (useconds=1000)
    at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0x09673518 in gui_event_loop (ptr=0x0)
    at ../gtk2_ardour/linux_vst_gui_support.cc:363
#4  0xb414dc39 in start_thread (arg=0xb1e87b70) at pthread_create.c:304
#5  0xb40ba96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb236e8a0 (LWP 25833)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb4018911 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb401bd42 in *__GI_abort () at abort.c:92
#3  0xb5af45e8 in g_logv (log_domain=0xb5b8c7a8 "GThread", 
    log_level=<optimized out>, 
    format=0xb5b8cb78 "file %s: line %d (%s): error '%s' during '%s'", 
    args1=0xbfffd87c "$ΛΈ\265\253")
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmessages.c:557
#4  0xb5af4622 in g_log (log_domain=0xb5b8c7a8 "GThread", 
    log_level=G_LOG_LEVEL_ERROR, 
    format=0xb5b8cb78 "file %s: line %d (%s): error '%s' during '%s'")
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmessages.c:577
#5  0xb5b8c214 in g_mutex_free_posix_impl (mutex=0xa1ab4e48)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gthread/gthread-posix.c:171
#6  0xb5c174cd in Glib::Mutex::~Mutex() () from /usr/lib/libglibmm-2.4.so.1

#7  0xb769df68 in ARDOUR::Playlist::~Playlist (this=0xa1ab46d8, 
---Type <return> to continue, or q <return> to quit---
    __in_chrg=<optimized out>) at ../libs/ardour/playlist.cc:328
#8  0xb7431720 in ARDOUR::AudioPlaylist::~AudioPlaylist (this=0xa1ab46d8, 
    __in_chrg=<optimized out>) at ../libs/ardour/ardour/audioplaylist.h:38
#9  0xb7431769 in ARDOUR::AudioPlaylist::~AudioPlaylist (this=0xa1ab46d8, 
    __in_chrg=<optimized out>) at ../libs/ardour/ardour/audioplaylist.h:38
#10 0xb76c3bc4 in boost::checked_delete<ARDOUR::AudioPlaylist> (x=0xa1ab46d8)
    at /usr/include/boost/checked_delete.hpp:34
#11 0xb76c87e2 in boost::detail::sp_counted_impl_p<ARDOUR::AudioPlaylist>::dispose (this=0xa1ab7830)
    at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
#12 0x08eda3f8 in boost::detail::sp_counted_base::release (this=0xa1ab7830)
    at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#13 0x08eda46a in boost::detail::shared_count::~shared_count (
    this=0xbfffda54, __in_chrg=<optimized out>)
    at /usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#14 0x08ee6202 in boost::shared_ptr<ARDOUR::Playlist>::~shared_ptr (
    this=0xbfffda50, __in_chrg=<optimized out>)
    at /usr/include/boost/smart_ptr/shared_ptr.hpp:168
#15 0xb7803603 in ARDOUR::SessionPlaylists::~SessionPlaylists (
    this=0xafb67728, __in_chrg=<optimized out>)
    at ../libs/ardour/session_playlists.cc:48
#16 0xb77b4220 in boost::checked_delete<ARDOUR::SessionPlaylists> (
    x=0xafb67728) at /usr/include/boost/checked_delete.hpp:34
---Type <return> to continue, or q <return> to quit---
#17 0xb77d9bde in boost::detail::sp_counted_impl_p<ARDOUR::SessionPlaylists>::dispose (this=0xafb67768)
    at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
#18 0x08eda3f8 in boost::detail::sp_counted_base::release (this=0xafb67768)
    at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#19 0x08eda46a in boost::detail::shared_count::~shared_count (
    this=0xbfffdb7c, __in_chrg=<optimized out>)
    at /usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#20 0xb779d67c in boost::shared_ptr<ARDOUR::SessionPlaylists>::~shared_ptr (
    this=0xbfffdb78, __in_chrg=<optimized out>)
    at /usr/include/boost/smart_ptr/shared_ptr.hpp:168
#21 0xb77a0979 in boost::shared_ptr<ARDOUR::SessionPlaylists>::reset (
    this=0xafb4cce8) at /usr/include/boost/smart_ptr/shared_ptr.hpp:386
#22 0xb77814b8 in ARDOUR::Session::destroy (this=0xafb4c890)
    at ../libs/ardour/session.cc:330
#23 0xb777ffc0 in ARDOUR::Session::~Session (this=0xafb4c890, 
    __in_chrg=<optimized out>) at ../libs/ardour/session.cc:230
#24 0xb7780b91 in ARDOUR::Session::~Session (this=0xafb4c890, 
    __in_chrg=<optimized out>) at ../libs/ardour/session.cc:231
#25 0x08f048f6 in ARDOUR_UI::finish (this=0x9df3878)
    at ../gtk2_ardour/ardour_ui.cc:838
#26 0x08f2b87c in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (
    this=0xa4d9cd0) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
---Type <return> to continue, or q <return> to quit---
#27 0x08f26ba6 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0xa4d9ccc)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#28 0x08f77258 in sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0xa4d9cc8)
    at /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h:265
#29 0x08f75d08 in sigc::internal::slot_call0<sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >, void>::call_it (rep=0xa4d9cb0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#30 0xb5c25103 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/libglibmm-2.4.so.1
#31 0xb5bbed6c in g_cclosure_marshal_VOID__VOID (closure=0xa4d9bf8, 
    return_value=0x0, n_param_values=1, param_values=0xa0c5778, 
    invocation_hint=0xbfffdf60, marshal_data=0x0)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gmarshal.c:79
#32 0xb5ba29f2 in g_closure_invoke (closure=0xa4d9bf8, return_value=0x0, 
    n_param_values=1, param_values=0xa0c5778, invocation_hint=0xbfffdf60)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:767
#33 0xb5bb5bb3 in signal_emit_unlocked_R (node=0xa2cd358, detail=0, 
    instance=0xa4d68a0, emission_return=0x0, instance_and_params=0xa0c5778)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsi---Type <return> to continue, or q <return> to quit---
gnal.c:3322
#34 0xb5bbe3f6 in g_signal_emit_valist (instance=0xa4d68a0, signal_id=377, 
    detail=0, 
    var_args=0xbfffe11c "\360I\252\265\360I\252\265\240hM\n`\371\341\t]\315i\265\240hM\n\200\370\341\t")
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2983
#35 0xb5bbe5a2 in g_signal_emit (instance=0xa4d68a0, signal_id=377, detail=0)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3040
#36 0xb569c316 in _gtk_action_emit_activate (action=0xa4d68a0)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkaction.c:794
#37 0xb569cd5d in IA__gtk_action_activate (action=0xa4d68a0)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkaction.c:824
#38 0xb5bbed6c in g_cclosure_marshal_VOID__VOID (closure=0x9e1f960, 
    return_value=0x0, n_param_values=1, param_values=0x989845c8, 
    invocation_hint=0xbfffe2d0, marshal_data=0xb5787d50)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gmarshal.c:79
#39 0xb5ba1347 in g_type_class_meta_marshal (closure=0x9e1f960, 
    return_value=0x0, n_param_values=1, param_values=0x989845c8, 
---Type <return> to continue, or q <return> to quit---
    invocation_hint=0xbfffe2d0, marshal_data=0x1c0)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:878
#40 0xb5ba29f2 in g_closure_invoke (closure=0x9e1f960, return_value=0x0, 
    n_param_values=1, param_values=0x989845c8, invocation_hint=0xbfffe2d0)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:767
#41 0xb5bb50fe in signal_emit_unlocked_R (node=0x9e1f9a0, detail=0, 
    instance=0xa5121e8, emission_return=0x0, instance_and_params=0x989845c8)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3182
#42 0xb5bbe3f6 in g_signal_emit_valist (instance=0xa5121e8, signal_id=94, 
    detail=0, 
    var_args=0xbfffe48c "`\032]\265\360I\252\265H*z\n`\310x\230\247\305x\265\350!Q\n DJ\n\350!Q\n\214\235x\265\350!Q\nX\266\344\t0lE\n\b\205\342\t\b\205\342\tV\235\005\264\231\304x\265\360I\252\265\060lE\n")
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2983
#43 0xb5bbe5a2 in g_signal_emit (instance=0xa5121e8, signal_id=94, detail=0)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3040
#44 0xb58af4e5 in IA__gtk_widget_activate (widget=0xa5121e8)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkwidget---Type <return> to continue, or q <return> to quit---
.c:5015
#45 0xb578c5a7 in IA__gtk_menu_shell_activate_item (menu_shell=0xa456c30, 
    menu_item=0xa5121e8, force_deactivate=1)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmenushell.c:1256
#46 0xb578c9b1 in gtk_menu_shell_button_release (widget=0xa456c30, 
    event=0xac22458)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmenushell.c:683
#47 0xb5780c9d in gtk_menu_button_release (event=0xac22458, widget=0xa456c30)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmenu.c:3043
#48 gtk_menu_button_release (widget=0xa456c30, event=0xac22458)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmenu.c:3007
#49 0xb57778a2 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9e215a0, 
    return_value=0xbfffe724, n_param_values=2, param_values=0x98347078, 
    invocation_hint=0xbfffe710, marshal_data=0xb5780be0)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmarshalers.c:86
#50 0xb5ba1347 in g_type_class_meta_marshal (closure=0x9e215a0, 
    return_value=0xbfffe724, n_param_values=2, param_values=0x98347078, 
    invocation_hint=0xbfffe710, marshal_data=0xb4)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:878
#51 0xb5ba29f2 in g_closure_invoke (closure=0x9e215a0, 
    return_value=0xbfffe724, n_param_values=2, param_values=0x98347078, 
    invocation_hint=0xbfffe710)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:767
#52 0xb5bb578d in signal_emit_unlocked_R (node=0x9e21688, detail=0, 
    instance=0xa456c30, emission_return=0xbfffe85c, 
    instance_and_params=0x98347078)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3290
#53 0xb5bbe17b in g_signal_emit_valist (instance=0xa456c30, signal_id=34, 
    detail=0, 
    var_args=0xbfffe8d0 "\374\350\377\277X$\302\nX$\302\n\031\003\213\265\060lE\n\260\257\341\t")
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2993
#54 0xb5bbe5a2 in g_signal_emit (instance=0xa456c30, signal_id=34, detail=0)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3040
#55 0xb58b0563 in gtk_widget_event_internal (widget=0xa456c30, 
    event=0xac22458)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkwidget.c:4984
#56 0xb5775abe in IA__gtk_propagate_event (widget=0xa456c30, event=0xac22458)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmain.c:2489
#57 0xb5775e50 in IA__gtk_main_do_event (event=0xac22458)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmain.c:1684
#58 0xb55ddd28 in gdk_event_dispatch (source=0x9e12b48, callback=0, 
    user_data=0x0)
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gdk/x11/gdkevents-x11.c:2377
#59 0xb5aeb252 in g_main_dispatch (context=0x9e12b90)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:2440
#60 g_main_context_dispatch (context=0x9e12b90)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3013
#61 0xb5aeba30 in g_main_context_iterate (context=0x9e12b90, block=1, 
    dispatch=1, self=<optimized out>)
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3091
#62 0xb5aec0f3 in g_main_loop_run (loop=0x987a9308)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3299
#63 0xb5774bef in IA__gtk_main ()
    at /build/buildd-gtk+2.0_2.24.8-2-i386-QCV9OW/gtk+2.0-2.24.8/gtk/gtkmain.c:1256
#64 0xb4f11264 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#65 0xb4f11c9f in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1
#66 0xb6211f7b in Gtkmm2ext::UI::run (this=0x9df3878, old_receiver=...)
    at ../libs/gtkmm2ext/gtk_ui.cc:266
#67 0x092a8d53 in main (argc=1, argv=0xbfffed24)
    at ../gtk2_ardour/main.cc:576
(gdb) 

paul

2012-05-21 09:43

administrator   ~0013271

this was fixed by switching to a read/write lock for playlists.

system

2020-04-19 20:16

developer   ~0023054

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
2012-05-07 18:47 x42 New Issue
2012-05-07 18:47 x42 File Added: a3crash-lock_at_exit-backtrace.txt
2012-05-07 20:28 cth103 cost => 0.00
2012-05-07 20:28 cth103 Target Version => 3.0 beta4
2012-05-11 16:10 paul Status new => assigned
2012-05-11 16:10 paul Assigned To => paul
2012-05-21 09:43 paul Note Added: 0013271
2012-05-21 09:43 paul Status assigned => resolved
2012-05-21 09:43 paul Resolution open => fixed
2012-05-23 15:07 cth103 Target Version 3.0 beta4 => 3.0
2020-04-19 20:16 system Note Added: 0023054
2020-04-19 20:16 system Status resolved => closed