View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004609 | ardour | bugs | public | 2012-01-03 06:40 | 2020-04-19 20:16 |
| Reporter | tophatdave | Assigned To | tophatdave | ||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0-beta3 | ||||
| Summary | 0004609: Assertion/SIGBRT copying and pasting LOTS of MIDI data | ||||
| Description | i was doing a bit of stress testing on the MIDI editor and was copying and pasting a lot of MIDI data in the MIDI editor. it is pretty eay to reproduce by creating a whole bunch of MIDI data in a region and randomly copying/pasting. | ||||
| Additional Information | svn 11132 | ||||
| Tags | No tags attached. | ||||
|
2012-01-03 06:40
|
ardour midi copy paste crash.txt (17,044 bytes)
ardour-3.0: ../libs/evoral/src/Note.cpp:74: Evoral::Note<Time>::Note(const Evoral::Note<Time>&) [with Time = double]: Assertion `length() == copy.length()' failed. Program received signal SIGABRT, Aborted. 0xb7fe2430 in __kernel_vsyscall () (gdb) thread apply all backtrace Thread 20 (Thread 0x8a09cb70 (LWP 8873)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9d736 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb608da62 in g_usleep () from /lib/libglib-2.0.so.0 #3 0xb61822ad in Glib::usleep(unsigned long) () from /usr/lib/libglibmm-2.4.so.1 #4 0xb7575584 in ARDOUR::AudioEngine::meter_thread (this=0xb1a6fee8) at ../libs/ardour/audioengine.cc:691 #5 0xb75972e7 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator()(ARDOUR::AudioEngine*) const () from /usr/local/lib/ardour3/libardour.so.3 #6 0xb75924d2 in void boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::AudioEngine>&, boost::_bi::list0&, int) () from /usr/local/lib/ardour3/libardour.so.3 #7 0xb758d9fc in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator()() () from /usr/local/lib/ardour3/libardour.so.3 #8 0xb7588755 in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator()() const () from /usr/local/lib/ardour3/libardour.so.3 #9 0xb7583eb5 in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >, void>::call_it(sigc::internal::slot_rep*) () from /usr/local/lib/ardour3/libardour.so.3 #10 0xb6175eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1 #11 0xb608adef in ?? () from /lib/libglib-2.0.so.0 #12 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #13 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 19 (Thread 0x8a01bb70 (LWP 8872)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb49cdce6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb49fd44c in usleep () from /lib/tls/i686/cmov/libc.so.6 #3 0x9654b041 in LinuxSampler::gig::DiskThread::Main (this=0xab7aea0) at DiskThread.cpp:356 #4 0x965d5bf0 in __pthread_launcher (thread=0xab7aea0) at Thread.cpp:388 #5 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 17 (Thread 0x9637fb70 (LWP 8870)): #0 0xb7fe2430 in __kernel_vsyscall () ---Type <return> to continue, or q <return> to quit--- #1 0xb49cdce6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb49cdb10 in sleep () from /lib/tls/i686/cmov/libc.so.6 #3 0x965858ca in LinuxSampler::EventThread::Main (this=0xab4c1b0) at Plugin.cpp:85 #4 0x965d5bf0 in __pthread_launcher (thread=0xab4c1b0) at Thread.cpp:388 #5 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 16 (Thread 0x96400b70 (LWP 8869)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb49fc971 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x9653aa6b in LinuxSampler::LSCPServer::Main (this=0xab4b730) at lscpserver.cpp:529 #3 0x965d5bf0 in __pthread_launcher (thread=0xab4b730) at Thread.cpp:388 #4 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 15 (Thread 0x9d6c2b70 (LWP 8868)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb49f5b86 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb60714eb in g_poll () from /lib/libglib-2.0.so.0 #3 0xb60640ac in ?? () from /lib/libglib-2.0.so.0 #4 0xb6064817 in g_main_loop_run () from /lib/libglib-2.0.so.0 #5 0xb617b4b5 in Glib::MainLoop::run() () from /usr/lib/libglibmm-2.4.so.1 #6 0xb648f39d in BaseUI::main_thread (this=0xa201250) at ../libs/pbd/base_ui.cc:77 #7 0xb6490772 in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0xa246f5c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787 #8 0xb64905e2 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0xa246f58) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #9 0xb6490352 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0xa246f40) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 #10 0xb6175eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1 #11 0xb608adef in ?? () from /lib/libglib-2.0.so.0 #12 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #13 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 14 (Thread 0x98539c90 (LWP 8867)): ---Type <return> to continue, or q <return> to quit--- #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb49f5b86 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb75fa15b in ARDOUR::Butler::thread_work (this=0xa1f0ed0) at ../libs/ardour/butler.cc:153 #3 0xb75fa0d2 in ARDOUR::Butler::_thread_work (arg=0xa1f0ed0) at ../libs/ardour/butler.cc:137 #4 0xb64c4ae8 in fake_thread_start (arg=0xa1fdf78) at ../libs/pbd/pthread_utils.cc:81 #5 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 13 (Thread 0x987edb70 (LWP 8866)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9c245 in sem_wait@@GLIBC_2.1 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb76e9053 in PBD::ProcessSemaphore::wait() () from /usr/local/lib/ardour3/libardour.so.3 #3 0xb76e691b in ARDOUR::Graph::restart_cycle (this=0xa1f1a40) at ../libs/ardour/graph.cc:263 #4 0xb76e68e1 in ARDOUR::Graph::dec_ref (this=0xa1f1a40) at ../libs/ardour/graph.cc:250 #5 0xb76edda2 in ARDOUR::GraphNode::finish (this=0xa2ec394, chain=1) at ../libs/ardour/graphnode.cc:71 #6 0xb76e74b2 in ARDOUR::Graph::run_one (this=0xa1f1a40) at ../libs/ardour/graph.cc:403 #7 0xb76e7936 in ARDOUR::Graph::main_thread (this=0xa1f1a40) at ../libs/ardour/graph.cc:458 #8 0xb76ed313 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator()(ARDOUR::Graph*) const () from /usr/local/lib/ardour3/libardour.so.3 #9 0xb76ecdb8 in void boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, ARDOUR::Graph>&, boost::_bi::list0&, int) () from /usr/local/lib/ardour3/libardour.so.3 #10 0xb76ec93c in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator()() () from /usr/local/lib/ardour3/libardour.so.3 #11 0xb76ec3ee in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke(boost::detail::function::function_buffer&) () from /usr/local/lib/ardour3/libardour.so.3 #12 0x08c1a4b7 in boost::function0<void>::operator() (this=0x987ed2ac) at /usr/include/boost/function/function_template.hpp:1013 #13 0xb75786c5 in ARDOUR::AudioEngine::_start_process_thread (arg=0xa1f9cf0) at ../libs/ardour/audioengine.cc:1475 #14 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 12 (Thread 0x9886eb70 (LWP 8865)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9c3e8 in sem_timedwait () from /lib/tls/i686/cmov/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #2 0xb4fe290d in ?? () from /usr/lib/libjack.so.0 #3 0xb4fcb587 in ?? () from /usr/lib/libjack.so.0 #4 0xb4fce564 in ?? () from /usr/lib/libjack.so.0 #5 0xb4fc7b2d in ?? () from /usr/lib/libjack.so.0 #6 0xb757480d in ARDOUR::AudioEngine::process_thread (this=0xb1a6fee8) at ../libs/ardour/audioengine.cc:441 #7 0xb7574269 in ARDOUR::AudioEngine::_process_thread (arg=0xb1a6fee8) at ../libs/ardour/audioengine.cc:352 #8 0xb4fc9610 in ?? () from /usr/lib/libjack.so.0 #9 0xb4fe2185 in ?? () from /usr/lib/libjack.so.0 #10 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 11 (Thread 0x9c63fb70 (LWP 8864)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9cf5b in read () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb4fe3f05 in ?? () from /usr/lib/libjack.so.0 #3 0xb4fe8605 in ?? () from /usr/lib/libjack.so.0 #4 0xb4fe2185 in ?? () from /usr/lib/libjack.so.0 #5 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 10 (Thread 0x9c6c0b70 (LWP 8863)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb4fe39f7 in ?? () from /usr/lib/libjack.so.0 #3 0xb4fdb4a7 in ?? () from /usr/lib/libjack.so.0 #4 0xb4fe2185 in ?? () from /usr/lib/libjack.so.0 #5 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (Thread 0xb2580b70 (LWP 8858)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #2 0xb61753a8 in Glib::Cond::wait(Glib::Mutex&) () from /usr/lib/libglibmm-2.4.so.1 #3 0xb7501867 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85 #4 0xb75015a2 in analyser_work () at ../libs/ardour/analyser.cc:49 #5 0x09166ebf in sigc::pointer_functor0<void>::operator() (this=0x9c5e6f4) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77 #6 0x09164f48 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9c5e6f0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #7 0x091628ac in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9c5e6d8) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 #8 0xb6175eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1 #9 0xb608adef in ?? () from /lib/libglib-2.0.so.0 #10 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread 0xb2d81b70 (LWP 8857)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb61753a8 in Glib::Cond::wait(Glib::Mutex&) () from /usr/lib/libglibmm-2.4.so.1 #3 0xb79ffd01 in peak_thread_work () at ../libs/ardour/source_factory.cc:68 #4 0x09166ebf in sigc::pointer_functor0<void>::operator() (this=0x9c5f834) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77 #5 0x09164f48 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9c5f830) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #6 0x091628ac in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9c5f818) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 #7 0xb6175eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1 #8 0xb608adef in ?? () from /lib/libglib-2.0.so.0 #9 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xb3582b70 (LWP 8856)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4a9a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb61753a8 in Glib::Cond::wait(Glib::Mutex&) () from /usr/lib/libglibmm-2.4.so.1 #3 0xb79ffd01 in peak_thread_work () at ../libs/ardour/source_factory.cc:68 #4 0x09166ebf in sigc::pointer_functor0<void>::operator() (this=0x9c5f974) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77 #5 0x09164f48 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9c5f970) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #6 0x091628ac in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9c5f958) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 ---Type <return> to continue, or q <return> to quit--- #7 0xb6175eb2 in ?? () from /usr/lib/libglibmm-2.4.so.1 #8 0xb608adef in ?? () from /lib/libglib-2.0.so.0 #9 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xb3d83b70 (LWP 8855)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb49cdce6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb49fd44c in usleep () from /lib/tls/i686/cmov/libc.so.6 #3 0x093d8f67 in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:363 #4 0xb4a9596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb4a03a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb4219780 (LWP 8850)): #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb4960651 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb4963a82 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xb4959718 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #4 0xb6800628 in Note (this=0x88252750, copy=...) at ../libs/evoral/src/Note.cpp:74 #5 0x09008967 in MidiRegionView::selection_as_cut_buffer (this=0x88471f58) at ../gtk2_ardour/midi_region_view.cc:3124 #6 0x0900878e in MidiRegionView::cut_copy_clear (this=0x88471f58, op=Editing::Copy) at ../gtk2_ardour/midi_region_view.cc:3091 #7 0x08e5bea4 in Editor::cut_copy_midi (this=0x9d87700, op=Editing::Copy) at ../gtk2_ardour/editor_ops.cc:3678 #8 0x08e5b9fa in Editor::cut_copy (this=0x9d87700, op=Editing::Copy) at ../gtk2_ardour/editor_ops.cc:3581 #9 0x08e5b6dd in Editor::copy (this=0x9d87700) at ../gtk2_ardour/editor_ops.cc:3492 #10 0x08d94b3c in sigc::bound_mem_functor0<void, Editor>::operator() (this=0x9e196fc) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787 #11 0x08d8ef8e in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Editor> >::operator() (this=0x9e196f8) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #12 0x08d88856 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Editor>, void>::call_it (rep=0x9e196e0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 #13 0xb618027b in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/libglibmm-2.4.so.1 #14 0xb611edcc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #15 0xb6111252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #16 0xb6125d90 in ?? () from /usr/lib/libgobject-2.0.so.0 #17 0xb6126db4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #18 0xb6127256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #19 0xb5cb4da5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #20 0xb5cb7914 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #21 0xb6111252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #22 0xb612599d in ?? () from /usr/lib/libgobject-2.0.so.0 #23 0xb6126c33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #24 0xb6127256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #25 0xb5cb0931 in gtk_accel_group_activate () from /usr/lib/libgtk-x11-2.0.so.0 #26 0xb5cb0a35 in gtk_accel_groups_activate () from /usr/lib/libgtk-x11-2.0.so.0 #27 0xb5ecf814 in gtk_window_activate_key () from /usr/lib/libgtk-x11-2.0.so.0 #28 0x093c8a03 in key_press_focus_accelerator_handler (window=..., ev=0x9d24f78) at ../gtk2_ardour/utils.cc:540 #29 0x08d6d6a0 in Editor::on_key_press_event (this=0x9d87700, ev=0x9d24f78) at ../gtk2_ardour/editor.cc:4063 #30 0xb5722332 in Gtk::Widget_Class::key_press_event_callback(_GtkWidget*, _GdkEventKey*) () from /usr/lib/libgtkmm-2.4.so.1 #31 0xb5d8d424 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #32 0xb610f8b9 in ?? () from /usr/lib/libgobject-2.0.so.0 #33 0xb6111252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #34 0xb61255e6 in ?? () from /usr/lib/libgobject-2.0.so.0 #35 0xb6126c33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #36 0xb6127256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #37 0xb5eba636 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #38 0xb5d85b33 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #39 0xb5d86e07 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #40 0xb5c0f39a in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #41 0xb60605e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #42 0xb60642d8 in ?? () from /lib/libglib-2.0.so.0 #43 0xb6064817 in g_main_loop_run () from /lib/libglib-2.0.so.0 #44 0xb5d873c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #45 0xb56923a7 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1 #46 0xb56921a2 in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1 #47 0xb667efc5 in Gtkmm2ext::UI::run (this=0x9aa3e38, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:266 #48 0x08fdd03f in main (argc=1, argv=0xbffff1f4) at ../gtk2_ardour/main.cc:555 |
|
2012-01-31 09:19
|
ardourdebug (7,338 bytes)
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/dave/ardour3/ardour3/build/gtk2_ardour/ardour-3.0...done.
(gdb) break Note.cpp:80
No source file named Note.cpp.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (Note.cpp:80) pending.
(gdb) run
Starting program: /home/dave/ardour3/ardour3/build/gtk2_ardour/ardour-3.0
[Thread debugging using libthread_db enabled]
error: /usr/lib/lv2/units.lv2/units.ttl:100:5: expected `.', not `^'
Ardour3.0beta1a (built using ['11128'] and GCC version 4.4.3)
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file gtk2_ardour/../gtk2_ardour/ardour3_ui_default.conf
Loading user ui configuration file /home/dave/.config/ardour3/ardour3_ui.conf
ardour: [INFO]: Loading ui configuration file gtk2_ardour/../build/gtk2_ardour/ardour3_ui_dark.rc
ardour: [INFO]: Ardour will be limited to 1024 open files
[New Thread 0xb3d6db70 (LWP 5581)]
ardour: [INFO]: Loading system configuration file /usr/local/etc/ardour3/ardour_system.rc
Loading user configuration file /home/dave/.config/ardour3/ardour.rc
Using SSE optimized routines
[New Thread 0xb356cb70 (LWP 5582)]
[New Thread 0xb2d6bb70 (LWP 5583)]
[New Thread 0xb256ab70 (LWP 5584)]
ardour: [INFO]: looking for panners in /home/dave/.config/ardour3/panners:/usr/local/lib/ardour3/panners:gtk2_ardour/../build/libs/panners/2in2out:gtk2_ardour/../build/libs/panners/1in2out:gtk2_ardour/../build/libs/panners/vbap
ardour: [INFO]: Panner discovered: "Mono to Stereo Panner" in /usr/local/lib/ardour3/panners/libpan1in2out.so
ardour: [INFO]: Panner discovered: "Equal Power Stereo" in /usr/local/lib/ardour3/panners/libpan2in2out.so
ardour: [INFO]: Panner discovered: "VBAP 2D panner" in /usr/local/lib/ardour3/panners/libpanvbap.so
[New Thread 0x9d65cb70 (LWP 5585)]
[New Thread 0x9ce5bb70 (LWP 5586)]
[New Thread 0x9c65ab70 (LWP 5587)]
[New Thread 0x9be59b70 (LWP 5588)]
[New Thread 0x9bdd8b70 (LWP 5589)]
[Thread 0x9bdd8b70 (LWP 5589) exited]
[Thread 0x9be59b70 (LWP 5588) exited]
[Thread 0x9ce5bb70 (LWP 5586) exited]
[Thread 0x9d65cb70 (LWP 5585) exited]
[New Thread 0x9be59b70 (LWP 5590)]
[New Thread 0x9bdd8b70 (LWP 5591)]
LV2: Discovering 190 plugins
Failed to expand qname `foaf:name'
Attempt to add quad with NULL field.
Failed to expand qname `foaf:homepage'
Attempt to add quad with NULL field.
Failed to expand qname `foaf:mbox'
Attempt to add quad with NULL field.
Done LV2 discovery
[Thread 0x9c65ab70 (LWP 5587) exited]
[New Thread 0x9a0b9b70 (LWP 5592)]
[New Thread 0x9848fc90 (LWP 5593)]
[New Thread 0x9c65ab70 (LWP 5594)]
[New Thread 0x9839fc90 (LWP 5595)]
[New Thread 0x9d65cb70 (LWP 5596)]
[Thread 0x9d65cb70 (LWP 5596) exited]
Breakpoint 1, Note (this=0x8ec76ec8, copy=...) at ../libs/evoral/src/Note.cpp:80
80 assert(length() == copy.length());
(gdb) list
75 if (length() != copy.length())
76 {
77 buffer = (char *)std::malloc(1000);
78 std::sprintf(buffer, "%e %f", length() - copy.length(), length() - copy.length());
79 }
80 assert(length() == copy.length());
81 assert(_on_event.channel() == _off_event.channel());
82 assert(channel() == copy.channel());
83 }
84
(gdb) print buffer
$1 = 0x8ec85a70 "8.881784e-16 0.000000"
-----------------------------------------
disassembled output
75 if (length() != copy.length())
0xb6800695 <+525>: mov 0x8(%ebp),%eax
0xb6800698 <+528>: mov %eax,(%esp)
0xb680069b <+531>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb68006a0 <+536>: fstpl -0x50(%ebp)
0xb68006a3 <+539>: mov 0xc(%ebp),%eax
0xb68006a6 <+542>: mov %eax,(%esp)
0xb68006a9 <+545>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb68006ae <+550>: fldl -0x50(%ebp)
0xb68006b1 <+553>: fucomip %st(1),%st
0xb68006b3 <+555>: fstp %st(0)
0xb68006b5 <+557>: setne %al
0xb68006b8 <+560>: setp %dl
0xb68006bb <+563>: or %edx,%eax
0xb68006bd <+565>: test %al,%al
0xb68006bf <+567>: je 0xb680072d <Note+677>
76 {
77 buffer = (char *)std::malloc(1000);
0xb68006c1 <+569>: movl $0x3e8,(%esp)
0xb68006c8 <+576>: call 0xb67d2da4 <malloc@plt>
0xb68006cd <+581>: mov %eax,-0x1c(%ebp)
78 std::sprintf(buffer, "%e %f", length() - copy.length(), length() - copy.length());
0xb68006d0 <+584>: mov 0x8(%ebp),%eax
0xb68006d3 <+587>: mov %eax,(%esp)
0xb68006d6 <+590>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb68006db <+595>: fstpl -0x48(%ebp)
0xb68006de <+598>: mov 0xc(%ebp),%eax
0xb68006e1 <+601>: mov %eax,(%esp)
0xb68006e4 <+604>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb68006e9 <+609>: fldl -0x48(%ebp)
0xb68006ec <+612>: fsubp %st,%st(1)
0xb68006ee <+614>: fstpl -0x40(%ebp)
0xb68006f1 <+617>: mov 0x8(%ebp),%eax
0xb68006f4 <+620>: mov %eax,(%esp)
0xb68006f7 <+623>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
---Type <return> to continue, or q <return> to quit---
0xb68006fc <+628>: fstpl -0x38(%ebp)
0xb68006ff <+631>: mov 0xc(%ebp),%eax
0xb6800702 <+634>: mov %eax,(%esp)
0xb6800705 <+637>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb680070a <+642>: fsubrl -0x38(%ebp)
0xb680070d <+645>: fldl -0x40(%ebp)
0xb6800710 <+648>: fstpl 0x10(%esp)
0xb6800714 <+652>: fstpl 0x8(%esp)
0xb6800718 <+656>: lea -0x21413(%ebx),%eax
0xb680071e <+662>: mov %eax,0x4(%esp)
0xb6800722 <+666>: mov -0x1c(%ebp),%eax
0xb6800725 <+669>: mov %eax,(%esp)
0xb6800728 <+672>: call 0xb67d3634 <sprintf@plt>
79 }
80 assert(length() == copy.length());
=> 0xb680072d <+677>: mov 0x8(%ebp),%eax
0xb6800730 <+680>: mov %eax,(%esp)
0xb6800733 <+683>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb6800738 <+688>: fstpl -0x30(%ebp)
0xb680073b <+691>: mov 0xc(%ebp),%eax
0xb680073e <+694>: mov %eax,(%esp)
0xb6800741 <+697>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt>
0xb6800746 <+702>: fldl -0x30(%ebp)
0xb6800749 <+705>: fucomip %st(1),%st
0xb680074b <+707>: fstp %st(0)
0xb680074d <+709>: jne 0xb680076e <Note+742>
0xb680074f <+711>: jp 0xb680076e <Note+742>
0xb680076e <+742>: lea -0x211f4(%ebx),%eax
0xb6800774 <+748>: mov %eax,0xc(%esp)
0xb6800778 <+752>: movl $0x50,0x8(%esp)
0xb6800780 <+760>: lea -0x21554(%ebx),%eax
0xb6800786 <+766>: mov %eax,0x4(%esp)
0xb680078a <+770>: lea -0x2140d(%ebx),%eax
0xb6800790 <+776>: mov %eax,(%esp)
0xb6800793 <+779>: call 0xb67d9da4 <__assert_fail@plt>
|
|
|
i have attached some output from a debug session that calculates length() - copy.length() in the Note copy constructor. It yields a tiny, but nonzero, value. Looking at the assembled listing, it appears to me as if the result of the first (length()) calculation (which is 80 bits internally, i believe) is stored to memory as 64 bits. The second length (copy.length() ) is then calculated and the 80 bit register is compared against the 64 bit value. |
|
|
likely fix for this is now in svn as of rev 11407 |
|
|
looks good |
|
|
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. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-01-03 06:40 | tophatdave | New Issue | |
| 2012-01-03 06:40 | tophatdave | File Added: ardour midi copy paste crash.txt | |
| 2012-01-03 10:54 | cth103 | cost | => 0.00 |
| 2012-01-03 10:54 | cth103 | Target Version | => 3.0-beta2 |
| 2012-01-10 20:45 | cth103 | Target Version | 3.0-beta2 => 3.0-beta3 |
| 2012-01-31 09:19 | tophatdave | File Added: ardourdebug | |
| 2012-01-31 09:24 | tophatdave | Note Added: 0012720 | |
| 2012-02-01 02:37 | paul | Note Added: 0012731 | |
| 2012-02-01 18:16 | tophatdave | Note Added: 0012739 | |
| 2012-02-01 18:16 | tophatdave | Status | new => resolved |
| 2012-02-01 18:16 | tophatdave | Resolution | open => fixed |
| 2012-02-01 18:16 | tophatdave | Assigned To | => tophatdave |
| 2020-04-19 20:16 | system | Note Added: 0022920 | |
| 2020-04-19 20:16 | system | Status | resolved => closed |