View Issue Details

IDProjectCategoryView StatusLast Update
0002728ardourbugspublic2010-04-24 10:31
Reporterthorgal Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
Platformlinux 32bitOSlinux debianOS Versiontesting / sid
Product VersionSVN/2.0-ongoing 
Summary0002728: time streching or region transposing on reversed region makes ardour crash
Descriptionardour crashes if you attempt to pitch shift or time stretch a region that was 1st reversed from an original region.

The reverse operation is affecting these operations in a bad way. If you instead reverse the region after these operations, things a refine.
Steps To Reproduce1 create a region
2 reverse it
3 time stretch it or shift-transpose it
Additional Informationsee backtrace in attachment.
TagsNo tags attached.

Activities

2009-06-14 12:53

 

ardour_bt.txt (9,390 bytes)   
Loading history from '/disk1/music/ideas/impro25/impro25.history'.
Jack: JackClient::kXRunCallback
[New Thread 0xa9868cb0 (LWP 15021)]
RBEffect: source region: position = 1987200, start = 2364481, length = 5356800, ancestral_start = 0, ancestral_length = 6322600, stretch 1.22122, shift 1

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa9868cb0 (LWP 15021)]
0xb65b6f57 in memset () from /lib/i686/cmov/libc.so.6
(gdb) thread apply all bt

Thread 17 (Thread 0xa9868cb0 (LWP 15021)):
#0  0xb65b6f57 in memset () from /lib/i686/cmov/libc.so.6
#1  0xb7f0a7d6 in ARDOUR::SndFileSource::read_unlocked () from libs/ardour/libardour.so
#2  0xb7d71b3c in ARDOUR::AudioSource::read () from libs/ardour/libardour.so
#3  0xb7d601f5 in ARDOUR::AudioRegion::_read_at () from libs/ardour/libardour.so
#4  0xb7d608e6 in ARDOUR::AudioRegion::master_read_at () from libs/ardour/libardour.so
#5  0xb7f27075 in ARDOUR::RBEffect::run () from libs/ardour/libardour.so
#6  0x08321b53 in Editor::do_timefx ()
#7  0x083225c0 in Editor::timefx_thread ()
#8  0xb66a64e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#9  0xb662110e in clone () from /lib/i686/cmov/libc.so.6

Thread 16 (Thread 0xad618cb0 (LWP 15020)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb6616a37 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb7ed78dc in ARDOUR::Session::midi_thread_work () from libs/ardour/libardour.so
#3  0xb7ed8063 in ARDOUR::Session::_midi_thread_work () from libs/ardour/libardour.so
#4  0xb66a64e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb662110e in clone () from /lib/i686/cmov/libc.so.6

Thread 15 (Thread 0xad693cb0 (LWP 15019)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb6616a37 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb7e7cd4a in ARDOUR::Session::butler_thread_work () from libs/ardour/libardour.so
#3  0xb7e7e772 in ARDOUR::Session::_butler_thread_work () from libs/ardour/libardour.so
#4  0xb66a64e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb662110e in clone () from /lib/i686/cmov/libc.so.6

Thread 14 (Thread 0xadb3acb0 (LWP 15018)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66ad7c6 in nanosleep () from /lib/i686/cmov/libpthread.so.0
#2  0xb7833cd2 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0xb77a43bb in Glib::usleep () from libs/glibmm2/libglibmm2.so
#4  0xb7d3a5d9 in ARDOUR::AudioEngine::meter_thread () from libs/ardour/libardour.so
#5  0xb7d43225 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it () from libs/ardour/libardour.so
#6  0xb77bac95 in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#7  0xb783191f in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x090c0050 in ?? ()
#9  0x090ca2a0 in ?? ()
#10 0x00000000 in ?? ()

Thread 13 (Thread 0xadbf1b90 (LWP 15017)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb6616a37 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb6e776fb in Jack::JackFifo::TimedWait () from /usr/lib/libjack.so.0
#3  0xb6e63343 in Jack::JackConnectionManager::SuspendRefNum () from /usr/lib/libjack.so.0
#4  0xb6e66003 in Jack::JackGraphManager::SuspendRefNum () from /usr/lib/libjack.so.0
#5  0xb6e61072 in Jack::JackClient::Execute () from /usr/lib/libjack.so.0
#6  0xb6e76b13 in Jack::JackPosixThread::ThreadHandler () from /usr/lib/libjack.so.0
#7  0xb66a64e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb662110e in clone () from /lib/i686/cmov/libc.so.6

Thread 12 (Thread 0xb18ceb90 (LWP 15016)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66acfcb in read () from /lib/i686/cmov/libpthread.so.0
#2  0xb6e78575 in Jack::JackClientSocket::Read () from /usr/lib/libjack.so.0
#3  0xb6e7b12f in Jack::JackSocketClientChannel::Execute () from /usr/lib/libjack.so.0
#4  0xb6e76b13 in Jack::JackPosixThread::ThreadHandler () from /usr/lib/libjack.so.0
#5  0xb66a64e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb662110e in clone () from /lib/i686/cmov/libc.so.6

Thread 11 (Thread 0xb194fb90 (LWP 15015)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66a9fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6e780b7 in Jack::JackProcessSync::Wait () from /usr/lib/libjack.so.0
#3  0xb6e726a1 in Jack::JackMessageBuffer::Execute () from /usr/lib/libjack.so.0
#4  0xb6e76b13 in Jack::JackPosixThread::ThreadHandler () from /usr/lib/libjack.so.0
#5  0xb66a64e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb662110e in clone () from /lib/i686/cmov/libc.so.6

Thread 8 (Thread 0xb181db90 (LWP 15012)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66aa2e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb788f02d in ?? () from /usr/lib/libgthread-2.0.so.0
#3  0xb0f18058 in ?? ()
#4  0x08d66b48 in ?? ()
#5  0xb181d258 in ?? ()
#6  0xb7891198 in ?? () from /usr/lib/libgthread-2.0.so.0
#7  0x08e041e8 in ?? ()
#8  0xb7883a28 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb181d288 in ?? ()
#10 0xb781858f in g_queue_peek_tail_link () from /usr/lib/libglib-2.0.so.0
#11 0xb77e10a9 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb0f18058 in ?? ()
#13 0x08d66b48 in ?? ()
#14 0xb181d2f4 in ?? ()
#15 0xb181d2b8 in ?? ()
#16 0xb78832a0 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00000000 in ?? ()

Thread 4 (Thread 0xb494fb90 (LWP 15008)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66a9fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb77ba437 in Glib::Cond::wait () from libs/glibmm2/libglibmm2.so
#3  0xb7d1eb37 in ARDOUR::Analyser::work () from libs/ardour/libardour.so
#4  0xb7d1f084 in analyser_work () from libs/ardour/libardour.so
#5  0xb77bac95 in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#6  0xb783191f in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x087980f8 in ?? ()
#8  0x0879e9b0 in ?? ()
#9  0x00000000 in ?? ()

Thread 3 (Thread 0xb5150b90 (LWP 15007)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66a9fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb77ba437 in Glib::Cond::wait () from libs/glibmm2/libglibmm2.so
#3  0xb7f16787 in peak_thread_work () from libs/ardour/libardour.so
#4  0xb77bac95 in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#5  0xb783191f in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x08797f28 in ?? ()
#7  0x08797f60 in ?? ()
#8  0x00000000 in ?? ()

Thread 2 (Thread 0xb5951b90 (LWP 15006)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb66a9fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb77ba437 in Glib::Cond::wait () from libs/glibmm2/libglibmm2.so
#3  0xb7f16787 in peak_thread_work () from libs/ardour/libardour.so
#4  0xb77bac95 in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#5  0xb783191f in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x08797e28 in ?? ()
#7  0x08797e60 in ?? ()
#8  0x00016080 in ?? ()
#9  0x00000005 in ?? ()
#10 0xb6545c60 in ?? () from /lib/i686/cmov/libc.so.6
#11 0xb66b5ff4 in ?? () from /lib/i686/cmov/libpthread.so.0
#12 0xb66a7890 in ?? () from /lib/i686/cmov/libpthread.so.0
#13 0xb66b5ff4 in ?? () from /lib/i686/cmov/libpthread.so.0
#14 0xb5951b90 in ?? ()
#15 0x00000000 in ?? ()

Thread 1 (Thread 0xb5bf3740 (LWP 15003)):
#0  0xb7fa2424 in __kernel_vsyscall ()
#1  0xb6616a37 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb780a892 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08e687b8 in ?? ()
#4  0x00000005 in ?? ()
#5  0x0000001a in ?? ()
#6  0x08e687b8 in ?? ()
#7  0x00000005 in ?? ()
#8  0x09827880 in ?? ()
#9  0xb7883658 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb7883680 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xbffbd5b4 in ?? ()
#12 0xb7883658 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0xb7883680 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x08645324 in ?? ()
#15 0x00000001 in ?? ()
#16 0x08645320 in ?? ()
#17 0x08e687b8 in ?? ()
#18 0xb66169c0 in ?? () from /lib/i686/cmov/libc.so.6
#19 0xb66a9370 in ?? () from /lib/i686/cmov/libpthread.so.0
#20 0xb66a7890 in ?? () from /lib/i686/cmov/libpthread.so.0
#21 0x08645324 in ?? ()
#22 0xb7807fd6 in g_main_context_default () from /usr/lib/libglib-2.0.so.0
#23 0xb780abc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb750a1f4 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x0832561d in Editor::time_fx ()
#26 0x083259e7 in Editor::time_stretch ()
#27 0x082c1cd8 in Editor::end_time_fx ()
#28 0x082b850e in Editor::end_grab ()
#29 0x082ca1a0 in Editor::button_release_handler ()
#30 0x0829ec79 in Editor::canvas_region_view_event ()
#31 0x08460dce in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>, Gnome::Canvas::Group*, RegionView*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, bool, _GdkEvent*>::call_it ()
#32 0xb6df74f2 in (anonymous namespace)::Item_signal_event_callback () from libs/libgnomecanvasmm/libgnomecanvasmm.so
#33 0xb6e4b9f6 in gnome_canvas_marshal_BOOLEAN__BOXED () from /usr/lib/libgnomecanvas-2.so.0
#34 0xb78a1b6b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#35 0xb78b6460 in ?? () from /usr/lib/libgobject-2.0.so.0
#36 0x0997cf60 in ?? ()
#37 0xbffbd9b0 in ?? ()
#38 0x00000002 in ?? ()
#39 0x099b2400 in ?? ()
#40 0xbffbd99c in ?? ()
#41 0x00000000 in ?? ()
#0  0xb65b6f57 in memset () from /lib/i686/cmov/libc.so.6
(gdb)

ardour_bt.txt (9,390 bytes)   

thorgal

2009-06-21 09:46

reporter   ~0006147

got another crash today, same reason. I have a region that was reversed, and attempted to pitch-shift it.

It would be very nice to have this issue fixed.

Issue History

Date Modified Username Field Change
2009-06-14 12:53 thorgal New Issue
2009-06-14 12:53 thorgal File Added: ardour_bt.txt
2009-06-21 09:46 thorgal Note Added: 0006147
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs