View Issue Details

IDProjectCategoryView StatusLast Update
0005091ardourbugspublic2020-04-19 20:16
Reporterjrigg Assigned Tox42  
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Target Version3.0 
Summary0005091: A3 ends file export unexpectedly then locks up
DescriptionExporting a stereo track from a 48kHz session to 16-bit 44.1kHz produces the following error message:

[ERROR]:Export ended unexpectedly:Exception thrown by AudioGrapher::SilenceTrimmer<float>:process() after reacing end of input

The typo is as shown in the message BTW. Shortly after this message appears A3 locks up, although top doesn't show excessive CPU or memory use. I have to use killall ardour-3.0 to shut it down. So far only one track out of a seven song mastering session causes the error, but this track does it every time. I tried importing a fresh copy of the original 48kHz mix file, but the same thing happens when that is exported. It plays fine.

The track has a long, slow fade out compared with the others (don't know if that's relevant). The error appears when the playhead reaches the end but the output file is truncated. Trimming all except the end section and exporting that does not result in the error. The same original file caused no problem to A2 and sndfile-resample.

For copyright reasons I can't post a publically visible link to the offending file, but I could upload it to my web server and email the link to any devs who need it. Its about 42MB. In the meantime I'll try and sort out a debug trace but it'll have to wait until I get time over the next couple of days.
Additional Information3.0 svn rev13159
Debian testing amd64 (2012-08-20 snapshot)
Unpatched kernel.org 3.2.28 kernel with CONFIG_PREEMPT=y
AMD64X2 2.6GHz CPU
TagsNo tags attached.

Relationships

related to 0005711 closedx42 Export has been aborted due to an error! 

Activities

2012-09-04 18:09

 

a3-export-trace.txt (22,130 bytes)   
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jr/ardour3/3.0/build/gtk2_ardour/ardour-3.0...done.
(gdb) run
Starting program: /home/jr/ardour3/3.0/build/gtk2_ardour/ardour-3.0 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Ardour3.0beta5 (built using ['13159'] and GCC version 4.7.1)
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file ./../gtk2_ardour/ardour3_ui_default.conf
Loading ui configuration file ./../build/gtk2_ardour/ardour3_ui_dark.rc

(ardour-3.0:2532): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(ardour-3.0:2532): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
ardour: [INFO]: Ardour will be limited to 4096 open files
ardour: [INFO]: Loading system configuration file ./../build/ardour_system.rc
Loading user configuration file /home/jr/.config/ardour3/ardour.rc
Using SSE optimized routines
[New Thread 0x7fffe56f4700 (LWP 2535)]
[New Thread 0x7fffe4ef3700 (LWP 2536)]
[New Thread 0x7fffe46f2700 (LWP 2537)]
[New Thread 0x7fffe3ef1700 (LWP 2538)]

(ardour-3.0:2532): Gtk-WARNING **: Attempting to store changes into `/home/jr/.local/share/recently-used.xbel', but failed: Failed to create file '/home/jr/.local/share/recently-used.xbel.G5NZJW': No such file or directory

(ardour-3.0:2532): Gtk-WARNING **: Attempting to set the permissions of `/home/jr/.local/share/recently-used.xbel', but failed: No such file or directory
[New Thread 0x7fffe2e2c700 (LWP 2539)]
[New Thread 0x7fffe262b700 (LWP 2540)]
[New Thread 0x7fffe1e2a700 (LWP 2541)]
[Thread 0x7fffe1e2a700 (LWP 2541) exited]
[Thread 0x7fffe2e2c700 (LWP 2539) exited]
[New Thread 0x7fffe2e2c700 (LWP 2544)]
[New Thread 0x7fffe1e2a700 (LWP 2545)]
[Thread 0x7fffe262b700 (LWP 2540) exited]
[Thread 0x7fffe2e2c700 (LWP 2544) exited]
[New Thread 0x7fffe2e2c700 (LWP 2546)]
[New Thread 0x7fffe262b700 (LWP 2549)]
[New Thread 0x7fffcbd3f820 (LWP 2550)]
[New Thread 0x7fffcbcc5700 (LWP 2551)]
[New Thread 0x7fffcb4c4700 (LWP 2552)]
[New Thread 0x7fffcacc3700 (LWP 2553)]
[Thread 0x7fffe1e2a700 (LWP 2545) exited]

Program received signal SIGTERM, Terminated.
0x00007fffeec63cec in __lll_lock_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) thread apply all bt

Thread 16 (Thread 0x7fffcacc3700 (LWP 2553)):
#0  0x00007fffec81787d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffec840924 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff7337294 in ARDOUR::AutomationWatch::thread (this=0x7fffc70f6670)
    at ../libs/ardour/automation_watch.cc:137
#3  0x00007ffff7339d43 in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0x7fffc70f3c90, p=0x7fffc70f6670)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff73399b2 in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (this=0x7fffc70f3ca0, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:253
#5  0x00007ffff73395f3 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (this=0x7fffc70f3c90)
    at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007ffff733957e in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > > >::operator() (this=0x7fffc70f3c90)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007ffff733920e in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >, void>::call_it (rep=0x7fffc70f3c60)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fffcb4c4700 (LWP 2552)):
#0  0x00007fffeec648ad in nanosleep ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3f9f3f2 in g_usleep ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff72e7776 in ARDOUR::AudioEngine::meter_thread (this=0x21fa340)
    at ../libs/ardour/audioengine.cc:758
#3  0x00007ffff72f9899 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x7fffdc965800, p=0x21fa340)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff72f92ec in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x7fffdc965810, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007ffff72f87d9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x7fffdc965800) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007ffff72f7aec in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator() (this=0x7fffdc965800)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007ffff72f637a 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 (rep=0x7fffdc9657d0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fffcbcc5700 (LWP 2551)):
#0  0x00007fffec83bac3 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff3f7b4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff3f7b932 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5be7d7a in BaseUI::main_thread (this=0x2d3dc60)
    at ../libs/pbd/base_ui.cc:80
#4  0x00007ffff5beb572 in sigc::bound_mem_functor0<void, BaseUI>::operator() (
    this=0x2d3e418) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007ffff5beb2b2 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x2d3e410)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007ffff5beac7b in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x2d3e3e0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffcbd3f820 (LWP 2550)):
#0  0x00007fffec83bac3 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff734a441 in ARDOUR::Butler::thread_work (this=0x2c495a0)
    at ../libs/ardour/butler.cc:150
#2  0x00007ffff734a397 in ARDOUR::Butler::_thread_work (arg=0x2c495a0)
    at ../libs/ardour/butler.cc:134
#3  0x00007ffff5c0f662 in fake_thread_start (arg=0x2d3daa0)
    at ../libs/pbd/pthread_utils.cc:80
#4  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fffe262b700 (LWP 2549)):
#0  0x00007fffeec6418d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffeee79255 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffeee7b159 in jack_set_freewheel ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007ffff72e9ef0 in ARDOUR::AudioEngine::freewheel (this=0x21fa340, 
    onoff=false) at ../libs/ardour/audioengine.cc:1313
#4  0x00007ffff76146d9 in ARDOUR::Session::finalize_audio_export (this=
    0x2c43800) at ../libs/ardour/session_export.cc:230
#5  0x00007ffff7614696 in ARDOUR::Session::stop_audio_export (this=0x2c43800)
    at ../libs/ardour/session_export.cc:215
#6  0x00007ffff7617127 in boost::_mfi::mf0<int, ARDOUR::Session>::operator() (
    this=0x7fffc7205128, p=0x2c43800)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#7  0x00007ffff7616a07 in boost::_bi::list1<boost::_bi::value<ARDOUR::Session*> >::operator()<int, boost::_mfi::mf0<int, ARDOUR::Session>, boost::_bi::list0> (
    this=0x7fffc7205138, f=..., a=...) at /usr/include/boost/bind/bind.hpp:243
#8  0x00007ffff761614f in boost::_bi::bind_t<int, boost::_mfi::mf0<int, ARDOUR::Session>, boost::_bi::list1<boost::_bi::value<ARDOUR::Session*> > >::operator()
    (this=0x7fffc7205128) at /usr/include/boost/bind/bind_template.hpp:20
#9  0x00007ffff7615c43 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<int, boost::_mfi::mf0<int, ARDOUR::Session>, boost::_bi::list1<boost::_bi::value<ARDOUR::Session*> > >, void>::invoke (function_obj_ptr=...)
    at /usr/include/boost/function/function_template.hpp:153
#10 0x0000000000e5d200 in boost::function0<void>::operator() (
    this=0x7fffc7205120)
    at /usr/include/boost/function/function_template.hpp:760
#11 0x0000000000e78810 in PBD::Signal0<void, PBD::OptionalLastValue<void> >::operator() (this=0x312d2a8)
    at /home/jr/ardour3/3.0/build/libs/pbd/pbd/signals_generated.h:307
#12 0x00007ffff73ff86a in ARDOUR::ExportStatus::abort (this=0x312d2a0, 
    error_occurred=true) at ../libs/ardour/export_status.cc:62
#13 0x00007ffff76145c0 in ARDOUR::Session::process_export (this=0x2c43800, 
    nframes=1024) at ../libs/ardour/session_export.cc:189
#14 0x00007ffff7614609 in ARDOUR::Session::process_export_fw (this=0x2c43800, 
    nframes=1024) at ../libs/ardour/session_export.cc:197
#15 0x00007ffff7617309 in boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>::operator() (this=0x7fffc720b798, p=0x2c43800, a1=1024)
    at /usr/include/boost/bind/mem_fn_template.hpp:165
#16 0x00007ffff7616b25 in boost::_bi::list2<boost::_bi::value<ARDOUR::Session*>, boost::arg<1> >::operator()<int, boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>, boost::_bi::list1<unsigned int&> > (this=0x7fffc720b7a8, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:303
#17 0x00007ffff761625a in boost::_bi::bind_t<int, boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>, boost::_bi::list2<boost::_bi::value<ARDOUR::Session*>, boost::arg<1> > >::operator()<unsigned int> (this=0x7fffc720b798, 
    a1=@0x7fffe262a934: 1024) at /usr/include/boost/bind/bind_template.hpp:32
#18 0x00007ffff7615d1e in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<int, boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>, boost::_bi::list2<boost::_bi::value<ARDOUR::Session*>, boost::arg<1> > >, int, unsigned int>::invoke (function_obj_ptr=..., a0=1024)
    at /usr/include/boost/function/function_template.hpp:132
#19 0x00007ffff72ef396 in boost::function1<int, unsigned int>::operator() (
    this=0x7fffc720b790, a0=1024)
    at /usr/include/boost/function/function_template.hpp:760
#20 0x00007ffff72ecf89 in PBD::Signal1<int, unsigned int, PBD::OptionalLastValue<int> >::operator() (this=0x21fa370, a1=1024)
    at /home/jr/ardour3/3.0/build/libs/pbd/pbd/signals_generated.h:473
#21 0x00007ffff72e69dc in ARDOUR::AudioEngine::process_callback (
    this=0x21fa340, nframes=1024) at ../libs/ardour/audioengine.cc:547
#22 0x00007ffff72e65cc in ARDOUR::AudioEngine::process_thread (this=0x21fa340)
    at ../libs/ardour/audioengine.cc:439
#23 0x00007ffff72e5f0a in ARDOUR::AudioEngine::_process_thread (arg=0x21fa340)
    at ../libs/ardour/audioengine.cc:335
#24 0x00007fffeee7bdd7 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#25 0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#26 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fffe2e2c700 (LWP 2546)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffeee7d193 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffe3ef1700 (LWP 2538)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3fb742f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff729b505 in ARDOUR::Analyser::work ()
    at ../libs/ardour/analyser.cc:81
#3  0x00007ffff729b2ed in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x00000000013c140f in sigc::pointer_functor0<void>::operator() (
    this=0x20a8af8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x00000000013beb6a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x20a8af0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00000000013bb461 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x20a8ac0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffe46f2700 (LWP 2537)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3fb742f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7688666 in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x00000000013c140f in sigc::pointer_functor0<void>::operator() (
    this=0x20a95b8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000013beb6a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x20a95b0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000013bb461 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x20a9580)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe4ef3700 (LWP 2536)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3fb742f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7688666 in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x00000000013c140f in sigc::pointer_functor0<void>::operator() (
    this=0x20a9568) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000013beb6a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x20a9560)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000013bb461 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x20a9530)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe56f4700 (LWP 2535)):
#0  0x00007fffec81787d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffec840924 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000162049c in gui_event_loop (ptr=0x0)
    at ../gtk2_ardour/linux_vst_gui_support.cc:363
#3  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fb69a0 (LWP 2532)):
#0  0x00007fffeec63cec in __lll_lock_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffeec5f36f in _L_lock_1145 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007fffeec5f2ba in pthread_mutex_lock ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007ffff3fb71b1 in g_mutex_lock ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x0000000000e509b6 in Glib::Threads::Mutex::Lock::Lock (
    this=0x7fffffffc780, mutex=...)
    at /usr/include/glibmm-2.4/glibmm/threads.h:546
#5  0x00007ffff72e7a61 in ARDOUR::AudioEngine::remove_session (this=0x21fa340)
    at ../libs/ardour/audioengine.cc:807
#6  0x00007ffff75b00d8 in ARDOUR::Session::destroy (this=0x2c43800)
    at ../libs/ardour/session.cc:233
#7  0x00007ffff75af3a0 in ARDOUR::Session::~Session (this=0x2c43800, 
    __in_chrg=<optimized out>) at ../libs/ardour/session.cc:217
#8  0x00007ffff75b0056 in ARDOUR::Session::~Session (this=0x2c43800, 
    __in_chrg=<optimized out>) at ../libs/ardour/session.cc:218
#9  0x0000000000e695d4 in ARDOUR_UI::finish (this=0x1e45290)
    at ../gtk2_ardour/ardour_ui.cc:804
#10 0x0000000000e9531e in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator()
    (this=0x2919f30) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#11 0x0000000000e90722 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x2919f28)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#12 0x0000000000ec86ce in sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x2919f20)
    at /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h:265
#13 0x0000000000ec6a41 in sigc::internal::slot_call0<sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >, void>::call_it (
    rep=0x2919ef0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#14 0x00007ffff46ce018 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#15 0x00007ffff443e724 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff444f9c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff445772c in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff44578c2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff3566423 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff443ea03 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff4457076 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff44578c2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff373db6c in gtk_widget_activate ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007ffff3639dbd in gtk_menu_shell_activate_item ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007ffff363a15c in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff3627099 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff443e724 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff444f530 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff445734b in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff44578c2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff373e93e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff3625434 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00007ffff362578b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff32927ac in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#35 0x00007ffff3f7b205 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff3f7b538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff3f7b932 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff3624797 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#39 0x00007ffff5fd7ca6 in Gtkmm2ext::UI::run (this=0x1e45290, old_receiver=...)
    at ../libs/gtkmm2ext/gtk_ui.cc:268
#40 0x0000000001225bf6 in main (argc=1, argv=0x7fffffffde58)
    at ../gtk2_ardour/main.cc:455
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2532] will be killed.

Quit anyway? (y or n) 
a3-export-trace.txt (22,130 bytes)   

jrigg

2012-09-04 18:21

reporter   ~0013996

Last edited: 2012-09-04 18:55

Trace uploaded. Sequence of operations to produce it was:
(gdb)run
Open existing 48kHz session containing stereo test track.
Export track to stereo 16-bit 44.1kHz .wav, Best(sinc), no dither (I usually use triangular dither, but the error is the same without).
Export proceeds as normal until playhead stops at end of track.
Error message appears.
Click on Quit in Session menu.
a3 GUI freezes.
killall ardour-3.0 in another xterm.
gdb prompt appears.
(gdb)thread apply all bt
(gdb)quit

In this test the exported file was OK with nothing audibly missing at the end.

jrigg

2012-09-04 19:58

reporter   ~0013997

Last edited: 2012-09-04 20:18

Just tried rev 13160 but still the same error. Trace will follow shortly.

Edit - Done with triangular dither this time (forgot last time).

2012-09-04 20:12

 

a3-export-trace2.txt (22,060 bytes)   
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jr/ardour3/3.0/build/gtk2_ardour/ardour-3.0...done.
(gdb) run
Starting program: /home/jr/ardour3/3.0/build/gtk2_ardour/ardour-3.0 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Ardour3.0beta5 (built using ['13160'] and GCC version 4.7.1)
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file ./../gtk2_ardour/ardour3_ui_default.conf
Loading ui configuration file ./../build/gtk2_ardour/ardour3_ui_dark.rc

(ardour-3.0:1734): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(ardour-3.0:1734): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
ardour: [INFO]: Ardour will be limited to 4096 open files
ardour: [INFO]: Loading system configuration file ./../build/ardour_system.rc
Loading user configuration file /home/jr/.config/ardour3/ardour.rc
Using SSE optimized routines
[New Thread 0x7fffe56f4700 (LWP 1737)]
[New Thread 0x7fffe4ef3700 (LWP 1738)]
[New Thread 0x7fffe46f2700 (LWP 1739)]
[New Thread 0x7fffe3ef1700 (LWP 1740)]

(ardour-3.0:1734): Gtk-WARNING **: Attempting to store changes into `/home/jr/.local/share/recently-used.xbel', but failed: Failed to create file '/home/jr/.local/share/recently-used.xbel.IWD4JW': No such file or directory

(ardour-3.0:1734): Gtk-WARNING **: Attempting to set the permissions of `/home/jr/.local/share/recently-used.xbel', but failed: No such file or directory
[New Thread 0x7fffe2e2c700 (LWP 1741)]
[New Thread 0x7fffe262b700 (LWP 1742)]
[New Thread 0x7fffe1e2a700 (LWP 1743)]
[Thread 0x7fffe1e2a700 (LWP 1743) exited]
[Thread 0x7fffe262b700 (LWP 1742) exited]
[New Thread 0x7fffe262b700 (LWP 1746)]
[New Thread 0x7fffe1e2a700 (LWP 1747)]
[Thread 0x7fffe262b700 (LWP 1746) exited]
[Thread 0x7fffe2e2c700 (LWP 1741) exited]
[New Thread 0x7fffe2e2c700 (LWP 1748)]
[New Thread 0x7fffe262b700 (LWP 1751)]
[New Thread 0x7fffcbd3f820 (LWP 1752)]
[New Thread 0x7fffcbcc5700 (LWP 1753)]
[New Thread 0x7fffcb4c4700 (LWP 1754)]
[New Thread 0x7fffcacc3700 (LWP 1755)]
[Thread 0x7fffe1e2a700 (LWP 1747) exited]

Program received signal SIGTERM, Terminated.
0x00007fffeec63cec in __lll_lock_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) thread apply all bt

Thread 16 (Thread 0x7fffcacc3700 (LWP 1755)):
#0  0x00007fffec81787d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffec840924 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff7337294 in ARDOUR::AutomationWatch::thread (this=0x7fffc67af7c0)
    at ../libs/ardour/automation_watch.cc:137
#3  0x00007ffff7339d43 in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0x7fffc68c6970, p=0x7fffc67af7c0)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff73399b2 in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (this=0x7fffc68c6980, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:253
#5  0x00007ffff73395f3 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (this=0x7fffc68c6970)
    at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007ffff733957e in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > > >::operator() (this=0x7fffc68c6970)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007ffff733920e in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >, void>::call_it (rep=0x7fffc68c6940)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fffcb4c4700 (LWP 1754)):
#0  0x00007fffeec648ad in nanosleep ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3f9f3f2 in g_usleep ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff72e7776 in ARDOUR::AudioEngine::meter_thread (this=0x2314570)
    at ../libs/ardour/audioengine.cc:758
#3  0x00007ffff72f9899 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x37732f0, p=0x2314570)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff72f92ec in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x3773300, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007ffff72f87d9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x37732f0) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007ffff72f7aec in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator() (this=0x37732f0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007ffff72f637a 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 (rep=0x37732c0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fffcbcc5700 (LWP 1753)):
#0  0x00007fffec83bac3 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff3f7b4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff3f7b932 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5be7d7a in BaseUI::main_thread (this=0x2e50e50)
    at ../libs/pbd/base_ui.cc:80
#4  0x00007ffff5beb572 in sigc::bound_mem_functor0<void, BaseUI>::operator() (
    this=0x2e51608) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007ffff5beb2b2 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x2e51600)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007ffff5beac7b in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x2e515d0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffcbd3f820 (LWP 1752)):
#0  0x00007fffec83bac3 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff734a441 in ARDOUR::Butler::thread_work (this=0x2d5c800)
    at ../libs/ardour/butler.cc:150
#2  0x00007ffff734a397 in ARDOUR::Butler::_thread_work (arg=0x2d5c800)
    at ../libs/ardour/butler.cc:134
#3  0x00007ffff5c0f662 in fake_thread_start (arg=0x2e50c90)
    at ../libs/pbd/pthread_utils.cc:80
#4  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fffe262b700 (LWP 1751)):
#0  0x00007fffeec6418d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffeee79255 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffeee7b159 in jack_set_freewheel ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007ffff72e9ef0 in ARDOUR::AudioEngine::freewheel (this=0x2314570, 
    onoff=false) at ../libs/ardour/audioengine.cc:1313
#4  0x00007ffff76146f1 in ARDOUR::Session::finalize_audio_export (this=
    0x2d56a30) at ../libs/ardour/session_export.cc:230
#5  0x00007ffff76146ae in ARDOUR::Session::stop_audio_export (this=0x2d56a30)
    at ../libs/ardour/session_export.cc:215
#6  0x00007ffff761713f in boost::_mfi::mf0<int, ARDOUR::Session>::operator() (
    this=0x3b33918, p=0x2d56a30)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#7  0x00007ffff7616a1f in boost::_bi::list1<boost::_bi::value<ARDOUR::Session*> >::operator()<int, boost::_mfi::mf0<int, ARDOUR::Session>, boost::_bi::list0> (
    this=0x3b33928, f=..., a=...) at /usr/include/boost/bind/bind.hpp:243
#8  0x00007ffff7616167 in boost::_bi::bind_t<int, boost::_mfi::mf0<int, ARDOUR::Session>, boost::_bi::list1<boost::_bi::value<ARDOUR::Session*> > >::operator()
    (this=0x3b33918) at /usr/include/boost/bind/bind_template.hpp:20
#9  0x00007ffff7615c5b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<int, boost::_mfi::mf0<int, ARDOUR::Session>, boost::_bi::list1<boost::_bi::value<ARDOUR::Session*> > >, void>::invoke (function_obj_ptr=...)
    at /usr/include/boost/function/function_template.hpp:153
#10 0x0000000000e5d200 in boost::function0<void>::operator() (this=0x3b33910)
    at /usr/include/boost/function/function_template.hpp:760
#11 0x0000000000e78810 in PBD::Signal0<void, PBD::OptionalLastValue<void> >::operator() (this=0x3a8fb68)
    at /home/jr/ardour3/3.0/build/libs/pbd/pbd/signals_generated.h:307
#12 0x00007ffff73ff882 in ARDOUR::ExportStatus::abort (this=0x3a8fb60, 
    error_occurred=true) at ../libs/ardour/export_status.cc:62
#13 0x00007ffff76145d8 in ARDOUR::Session::process_export (this=0x2d56a30, 
    nframes=1024) at ../libs/ardour/session_export.cc:189
#14 0x00007ffff7614621 in ARDOUR::Session::process_export_fw (this=0x2d56a30, 
    nframes=1024) at ../libs/ardour/session_export.cc:197
#15 0x00007ffff7617321 in boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>::operator() (this=0x39f2fa8, p=0x2d56a30, a1=1024)
    at /usr/include/boost/bind/mem_fn_template.hpp:165
#16 0x00007ffff7616b3d in boost::_bi::list2<boost::_bi::value<ARDOUR::Session*>, boost::arg<1> >::operator()<int, boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>, boost::_bi::list1<unsigned int&> > (this=0x39f2fb8, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:303
#17 0x00007ffff7616272 in boost::_bi::bind_t<int, boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>, boost::_bi::list2<boost::_bi::value<ARDOUR::Session*>, boost::arg<1> > >::operator()<unsigned int> (this=0x39f2fa8, 
    a1=@0x7fffe262a934: 1024) at /usr/include/boost/bind/bind_template.hpp:32
#18 0x00007ffff7615d36 in boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<int, boost::_mfi::mf1<int, ARDOUR::Session, unsigned int>, boost::_bi::list2<boost::_bi::value<ARDOUR::Session*>, boost::arg<1> > >, int, unsigned int>::invoke (function_obj_ptr=..., a0=1024)
    at /usr/include/boost/function/function_template.hpp:132
#19 0x00007ffff72ef396 in boost::function1<int, unsigned int>::operator() (
    this=0x39f2fa0, a0=1024)
    at /usr/include/boost/function/function_template.hpp:760
#20 0x00007ffff72ecf89 in PBD::Signal1<int, unsigned int, PBD::OptionalLastValue<int> >::operator() (this=0x23145a0, a1=1024)
    at /home/jr/ardour3/3.0/build/libs/pbd/pbd/signals_generated.h:473
#21 0x00007ffff72e69dc in ARDOUR::AudioEngine::process_callback (
    this=0x2314570, nframes=1024) at ../libs/ardour/audioengine.cc:547
#22 0x00007ffff72e65cc in ARDOUR::AudioEngine::process_thread (this=0x2314570)
    at ../libs/ardour/audioengine.cc:439
#23 0x00007ffff72e5f0a in ARDOUR::AudioEngine::_process_thread (arg=0x2314570)
    at ../libs/ardour/audioengine.cc:335
#24 0x00007fffeee7bdd7 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#25 0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#26 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fffe2e2c700 (LWP 1748)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffeee7d193 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffe3ef1700 (LWP 1740)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3fb742f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff729b505 in ARDOUR::Analyser::work ()
    at ../libs/ardour/analyser.cc:81
#3  0x00007ffff729b2ed in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x00000000013c140f in sigc::pointer_functor0<void>::operator() (
    this=0x20a96c8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x00000000013beb6a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x20a96c0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00000000013bb461 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x20a9690)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffe46f2700 (LWP 1739)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3fb742f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff768867e in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x00000000013c140f in sigc::pointer_functor0<void>::operator() (
    this=0x20a9678) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000013beb6a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x20a9670)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000013bb461 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x20a9640)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe4ef3700 (LWP 1738)):
#0  0x00007fffeec612d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff3fb742f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff768867e in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x00000000013c140f in sigc::pointer_functor0<void>::operator() (
    this=0x20a68f8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000013beb6a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x20a68f0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000013bb461 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x20a68c0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff46c31ad in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007ffff3f9ddf5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe56f4700 (LWP 1737)):
#0  0x00007fffec81787d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffec840924 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000162049c in gui_event_loop (ptr=0x0)
    at ../gtk2_ardour/linux_vst_gui_support.cc:363
#3  0x00007fffeec5cb50 in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fffec84670d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fb69a0 (LWP 1734)):
#0  0x00007fffeec63cec in __lll_lock_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffeec5f36f in _L_lock_1145 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007fffeec5f2ba in pthread_mutex_lock ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007ffff3fb71b1 in g_mutex_lock ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x0000000000e509b6 in Glib::Threads::Mutex::Lock::Lock (
    this=0x7fffffffc780, mutex=...)
    at /usr/include/glibmm-2.4/glibmm/threads.h:546
#5  0x00007ffff72e7a61 in ARDOUR::AudioEngine::remove_session (this=0x2314570)
    at ../libs/ardour/audioengine.cc:807
#6  0x00007ffff75b00f0 in ARDOUR::Session::destroy (this=0x2d56a30)
    at ../libs/ardour/session.cc:233
#7  0x00007ffff75af3b8 in ARDOUR::Session::~Session (this=0x2d56a30, 
    __in_chrg=<optimized out>) at ../libs/ardour/session.cc:217
#8  0x00007ffff75b006e in ARDOUR::Session::~Session (this=0x2d56a30, 
    __in_chrg=<optimized out>) at ../libs/ardour/session.cc:218
#9  0x0000000000e695d4 in ARDOUR_UI::finish (this=0x1e45290)
    at ../gtk2_ardour/ardour_ui.cc:804
#10 0x0000000000e9531e in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator()
    (this=0x2a2d010) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#11 0x0000000000e90722 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x2a2d008)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#12 0x0000000000ec86ce in sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x2a2d000)
    at /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h:265
#13 0x0000000000ec6a41 in sigc::internal::slot_call0<sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >, void>::call_it (
    rep=0x2a2cfd0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#14 0x00007ffff46ce018 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#15 0x00007ffff443e724 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff444f9c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff445772c in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff44578c2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff3566423 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff443ea03 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff4457076 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff44578c2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff373db6c in gtk_widget_activate ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007ffff3639dbd in gtk_menu_shell_activate_item ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007ffff363a15c in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff3627099 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff443e724 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff444f530 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff445734b in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff44578c2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff373e93e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff3625434 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00007ffff362578b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff32927ac in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#35 0x00007ffff3f7b205 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff3f7b538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff3f7b932 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff3624797 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#39 0x00007ffff5fd7ca6 in Gtkmm2ext::UI::run (this=0x1e45290, old_receiver=...)
    at ../libs/gtkmm2ext/gtk_ui.cc:268
#40 0x0000000001225bf6 in main (argc=1, argv=0x7fffffffde58)
    at ../gtk2_ardour/main.cc:455
(gdb) quit
A debugging session is active.

	Inferior 1 [process 1734] will be killed.

Quit anyway? (y or n) 
a3-export-trace2.txt (22,060 bytes)   

paul

2012-10-22 14:01

administrator   ~0014126

what version of JACK is in use? there have been several known problems with Jack2 in this "area".

jrigg

2012-10-23 09:23

reporter   ~0014139

0.121.3 (Debian testing amd64 jackd1 package)

paul

2012-11-12 21:39

administrator   ~0014216

this is almost certainly fixed in current svn. feedback would be nice if possible.

jrigg

2012-11-14 20:55

reporter   ~0014261

Just tried svn 13499. Now export stops almost right away. Error message contains a non-ASCII character which I can't read, but it looks like it was expecting zero channels:

[ERROR]: Export ended unexpectedly. Exception thrown by AudioGrapher::TmpFile<float>:Wrong number of channels given to process(), <some nonsense character, not ASCII> instead of 0

The default export was selected, ie. Region contents with fades and region gain (channels: 2)

This was with the same stereo track used before. System is unchanged except for adding libltc and libintl since the original report. When the export stops A3 freezes as before.

jrigg

2012-12-08 13:35

reporter   ~0014337

Last edited: 2012-12-08 16:54

Channel number error fixed in svn 13618.

[ERROR]:Export ended unexpectedly:Exception thrown by AudioGrapher::SilenceTrimmer<float>:process() after reacing end of input
still happens but A3 no longer freezes.

The exported file is OK despite the error message.

x42

2015-01-29 04:20

administrator   ~0016303

fixed in 3.5-4391-g36bbd14

note. The "Exception thrown by AudioGrapher::SilenceTrimmer" was only harmless if there were no additional steps after the export (e.g. normalization or additional ranges).

system

2020-04-19 20:16

developer   ~0023145

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-09-03 20:49 jrigg New Issue
2012-09-04 18:09 jrigg File Added: a3-export-trace.txt
2012-09-04 18:21 jrigg Note Added: 0013996
2012-09-04 18:37 jrigg Note Edited: 0013996
2012-09-04 18:47 jrigg Note Edited: 0013996
2012-09-04 18:48 jrigg Note Edited: 0013996
2012-09-04 18:53 jrigg Note Edited: 0013996
2012-09-04 18:54 jrigg Note Edited: 0013996
2012-09-04 18:55 jrigg Note Edited: 0013996
2012-09-04 19:58 jrigg Note Added: 0013997
2012-09-04 20:12 jrigg File Added: a3-export-trace2.txt
2012-09-04 20:18 jrigg Note Edited: 0013997
2012-09-08 00:22 cth103 cost => 0.00
2012-09-08 00:22 cth103 Target Version => 3.0
2012-10-22 14:01 paul Note Added: 0014126
2012-10-23 09:23 jrigg Note Added: 0014139
2012-11-12 21:39 paul Note Added: 0014216
2012-11-12 21:39 paul Status new => feedback
2012-11-14 20:55 jrigg Note Added: 0014261
2012-12-08 13:35 jrigg Note Added: 0014337
2012-12-08 16:54 jrigg Note Edited: 0014337
2015-01-27 13:10 x42 Relationship added related to 0005711
2015-01-29 04:20 x42 Note Added: 0016303
2015-01-29 04:20 x42 Status feedback => resolved
2015-01-29 04:20 x42 Resolution open => fixed
2015-01-29 04:20 x42 Assigned To => x42
2020-04-19 20:16 system Note Added: 0023145
2020-04-19 20:16 system Status resolved => closed