View Issue Details

IDProjectCategoryView StatusLast Update
0006059ardourbugspublic2016-03-05 15:35
Reportercolinf Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status confirmedResolutionopen 
Product Version4.7 
Summary0006059: Crash on starting jack after 'Audio/MIDI Setup' is shown
DescriptionIf I start jackd externally from Ardour after the 'Audio/MIDI Setup' dialogue appears (but before I click 'OK' there) and the buffer size setting doesn't match, Ardour crashes while loading the session.
Steps To Reproduce* Start ardour
* Choose a session to open
* 'Audio/MIDI Setup' dialogue appears
* Poo! I meant to start jack with the settings I have in qjackctl...
* Start jackd (via qjackctl)
* Click 'OK' in 'Audio/MIDI Setup'
* I'd expect to see the 'Jack was started externally...' message at this point, but that doesn't happen.
* ardour-3.5.3744: ../libs/ardour/ardour/audio_buffer.h:65: virtual void ARDOUR::AudioBuffer::read_from(const ARDOUR::Buffer&, ARDOUR::framecnt_t, ARDOUR::framecnt_t, ARDOUR::framecnt_t): Assertion `dst_offset + len <= _capacity' failed.
Additional InformationI've done this a few times now - it's obviously not tricky to work around, but it did puzzle me for a while, especially since if I leave jack running and try to start ardour and open the session again, it works perfectly.
TagsNo tags attached.

Activities

2014-12-04 15:11

 

sine-debug-bt (33,311 bytes)   
colinf@colinf-laptop:~/src/ardour2/ardour/gtk2_ardour$ ./ardev 
Error opening file /home/colinf/.lv2/README/manifest.ttl (Not a directory)
lilv_world_load_file(): error: Error loading file `file:///home/colinf/.lv2/README/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/colinf/.lv2/README/manifest.ttl
bind txt domain [gtk2_ardour3] to /usr/local/share/ardour3/locale
Ardour3.5.3744 (built using 3.5-3796-g4e8dfda and GCC version 4.7.2)
ardour: [INFO]: Your system is configured to limit Ardour to only 16384 open files
ardour: [INFO]: Loading system configuration file /home/colinf/src/ardour2/ardour/system_config
Loading user configuration file /home/colinf/.config/ardour3/config
Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /home/colinf/src/ardour2/ardour/build/gtk2_ardour/default_ui_config
Loading user ui configuration file /home/colinf/.config/ardour3/ui_config
Attempt to reduce 470
Ended with 105 colors
Attempt to reduce 470
Ended with 105 colors
ardour: [INFO]: Loading ui configuration file /home/colinf/src/ardour2/ardour/build/gtk2_ardour/ui_dark.rc
Found 10 along /home/colinf/.config/ardour3/templates:./../templates:./../build/templates:./../gtk2_ardour/templates:./../build/gtk2_ardour/templates:./templates
Announcement is: 
run dialog
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
JACK command line will be: /usr/bin/jackd -t 200 -p 2048 -R -T -d alsa -n 2 -r 44100 -p 1024 -d hw:Intel,0
Error opening file /home/colinf/.lv2/README/manifest.ttl (Not a directory)
lilv_world_load_file(): error: Error loading file `file:///home/colinf/.lv2/README/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/colinf/.lv2/README/manifest.ttl
lilv_world_add_plugin(): error: Duplicate plugin <https://community.ardour.org/node/7596>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/reasonablesynth.lv2/
lilv_world_add_plugin(): error: ... and      file:///home/colinf/src/ardour2/ardour/build/libs/LV2/reasonablesynth.lv2/
Scanning folders for bundled LV2s: ./../build/libs/LV2
lilv_world_add_plugin(): error: Duplicate plugin <https://community.ardour.org/node/7596>
lilv_world_add_plugin(): error: ... found in file:///usr/local/lib/lv2/reasonablesynth.lv2/
lilv_world_add_plugin(): error: ... and      file:///home/colinf/src/ardour2/ardour/build/libs/LV2/reasonablesynth.lv2/
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:ms'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:conversion'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:to'
error: failed to expand CURIE `units:s'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:factor'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `pprops:hasStrictBounds'
error: attempt to add quad with NULL field
error: failed to expand CURIE `units:unit'
error: failed to expand CURIE `units:db'
error: attempt to add quad with NULL field
error: /usr/local/lib/lv2/gx_detune.lv2/gx_detune.ttl:206:3: expected `:', not ` '
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_detune.lv2/gx_detune.ttl'
error: /usr/local/lib/lv2/gx_digital_delay.lv2/gx_digital_delay.ttl:181:3: expected `:', not ` '
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_digital_delay.lv2/gx_digital_delay.ttl'
error: /usr/local/lib/lv2/gx_digital_delay_st.lv2/gx_digital_delay_st.ttl:193:3: expected `:', not ` '
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_digital_delay_st.lv2/gx_digital_delay_st.ttl'
error: /usr/local/lib/lv2/gx_livelooper.lv2/gx_livelooper.ttl:472:3: expected `:', not ` '
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_livelooper.lv2/gx_livelooper.ttl'
error: /usr/local/lib/lv2/gx_room_simulator.lv2/gx_room_simulator.ttl:123:3: expected `:', not ` '
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_room_simulator.lv2/gx_room_simulator.ttl'
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_shimmizita.lv2/gx_shimmizita.ttl'
lilv_world_load_file(): error: Error loading file `file:///usr/local/lib/lv2/gx_switched_tremolo.lv2/gx_switched_tremolo.ttl'
Set cursor set to default
ardour-3.5.3744: ../libs/ardour/ardour/audio_buffer.h:65: virtual void ARDOUR::AudioBuffer::read_from(const ARDOUR::Buffer&, ARDOUR::framecnt_t, ARDOUR::framecnt_t, ARDOUR::framecnt_t): Assertion `dst_offset + len <= _capacity' failed.
Aborted (core dumped)
colinf@colinf-laptop:~/src/ardour2/ardour/gtk2_ardour$ ./ardbg 
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/colinf/src/ardour2/ardour/build/gtk2_ardour/ardour-3.5.3744...done.
(gdb) core-file core 
[New LWP 10825]
[New LWP 10968]
[New LWP 10982]
[New LWP 10838]
[New LWP 10835]
[New LWP 10981]
[New LWP 10959]
[New LWP 10836]
[New LWP 10837]
[New LWP 10839]
[New LWP 10969]
[New LWP 10834]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./../build/gtk2_ardour/ardour-3.5.3744'.
Program terminated with signal 6, Aborted.
#0  0x00007f47b8939165 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all bt

Thread 12 (Thread 0x7f47b13fa700 (LWP 10834)):
#0  0x00007f47bb5a491d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f47bfa86542 in g_usleep ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000000018cbaa1 in gui_event_loop (ptr=0x0)
    at ../gtk2_ardour/linux_vst_gui_support.cc:380
#3  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#4  0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f479f826700 (LWP 10969)):
#0  0x00007f47bb5a491d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f47bfa86542 in g_usleep ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47c2315658 in ARDOUR::AudioEngine::meter_thread (this=0x3cccfe0)
    at ../libs/ardour/audioengine.cc:535
#3  0x00007f47c2321425 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x4264ec0, p=0x3cccfe0)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f47c2321068 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngin---Type <return> to continue, or q <return> to quit---
e*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x4264ed0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f47c23209c9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x4264ec0) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f47c23201a0 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=0x4264ec0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f47c231f3b4 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=0x4264e90)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#11 0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f47ae33a700 (LWP 10839)):
---Type <return> to continue, or q <return> to quit---
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47bfa9e69f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47c231522c in ARDOUR::AudioEngine::do_devicelist_update (
    this=0x3cccfe0) at ../libs/ardour/audioengine.cc:464
#3  0x00007f47c2321425 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x3ccd6f0, p=0x3cccfe0)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f47c2321068 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x3ccd700, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f47c23209c9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x3ccd6f0) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f47c23201a0 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=0x3ccd6f0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f47c231f3b4 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=0x3ccd6c0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
---Type <return> to continue, or q <return> to quit---
#8  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#11 0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f47afbf7700 (LWP 10837)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47bfa9e69f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47c22c78c9 in ARDOUR::Analyser::work ()
    at ../libs/ardour/analyser.cc:81
#3  0x00007f47c22c76b1 in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x00000000015afb47 in sigc::pointer_functor0<void>::operator() (
    this=0x3b4f328) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x00000000015ad094 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x3b4f320)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00000000015a9819 in sigc::internal::slot_call0<sigc::pointer_functor0<void---Type <return> to continue, or q <return> to quit---
>, void>::call_it (rep=0x3b4f2f0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#10 0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f47b03f8700 (LWP 10836)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47bfa9e69f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47c2717242 in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x00000000015afb47 in sigc::pointer_functor0<void>::operator() (
    this=0x3bdd2f8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000015ad094 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x3bdd2f0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
---Type <return> to continue, or q <return> to quit---
#5  0x00000000015a9819 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x3bdd2c0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#9  0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f479e023700 (LWP 10959)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47ad49767b in mb_thread_func ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#3  0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 6 (Thread 0x7f479cfa0820 (LWP 10981)):
#0  0x00007f47b89d8b73 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f47c2377f53 in ARDOUR::Butler::wait_for_requests (this=0x40cddf0)
    at ../libs/ardour/butler.cc:162
#2  0x00007f47c2378272 in ARDOUR::Butler::thread_work (this=0x40cddf0)
    at ../libs/ardour/butler.cc:223
#3  0x00007f47c2377ee5 in ARDOUR::Butler::_thread_work (arg=0x40cddf0)
    at ../libs/ardour/butler.cc:149
#4  0x00007f47c0b35dce in fake_thread_start (arg=0x44ed6e0)
    at ../libs/pbd/pthread_utils.cc:93
#5  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#6  0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f47b0bf9700 (LWP 10835)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47bfa9e69f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47c2717242 in peak_thread_work ()
---Type <return> to continue, or q <return> to quit---
    at ../libs/ardour/source_factory.cc:68
#3  0x00000000015afb47 in sigc::pointer_functor0<void>::operator() (
    this=0x3bdc148) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000015ad094 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x3bdc140)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000015a9819 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x3bdc110)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#9  0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f47aeb3b700 (LWP 10838)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f47bfa9e69f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007f47c231501f in ARDOUR::AudioEngine::do_reset_backend (
    this=0x3cccfe0) at ../libs/ardour/audioengine.cc:429
#3  0x00007f47c2321425 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x3b76e10, p=0x3cccfe0)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f47c2321068 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x3b76e20, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f47c23209c9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x3b76e10) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f47c23201a0 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=0x3b76e10)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f47c231f3b4 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=0x3b76de0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:304
#11 0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f479e98c700 (LWP 10982)):
#0  0x00007f47b89d8b73 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f47bfa62624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47bfa62a82 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47c0b0aeac in BaseUI::main_thread (this=0x44ed890)
    at ../libs/pbd/base_ui.cc:86
#4  0x00007f47c0b0e90a in sigc::bound_mem_functor0<void, BaseUI>::operator() (
    this=0x44fe078) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007f47c0b0e64a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x44fe070)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007f47c0b0e013 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x44fe040)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f47c01ab87d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
---Type <return> to continue, or q <return> to quit---
#8  0x00007f47bfa84f45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#10 0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f479e150700 (LWP 10968)):
#0  0x00007f47b89d8b73 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f47ad495f26 in jack_cycle_wait ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007f47ad908d0c in ARDOUR::JACKAudioBackend::process_thread (
    this=0x4247b90) at ../libs/backends/jack/jack_audiobackend.cc:931
#3  0x00007f47ad908cac in ARDOUR::JACKAudioBackend::_process_thread (
    arg=0x4247b90) at ../libs/backends/jack/jack_audiobackend.cc:910
#4  0x00007f47ad496298 in jack_process_thread_work ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#5  0x00007f47bb59cb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#6  0x00007f47b89e37bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 0x7f47c3398960 (LWP 10825)):
#0  0x00007f47b8939165 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f47b893c3e0 in *__GI_abort () at abort.c:92
#2  0x00007f47b8932311 in *__GI___assert_fail (
    assertion=0x7f47c276eade "dst_offset + len <= _capacity", 
    file=<optimized out>, line=65, 
    function=0x7f47c276ed40 "virtual void ARDOUR::AudioBuffer::read_from(const ARDOUR::Buffer&, ARDOUR::framecnt_t, ARDOUR::framecnt_t, ARDOUR::framecnt_t)")
    at assert.c:81
#3  0x00007f47c22ccf97 in ARDOUR::AudioBuffer::read_from (this=0x4fe3750, 
    src=..., len=1024, dst_offset=0, src_offset=0)
    at ../libs/ardour/ardour/audio_buffer.h:65
#4  0x00007f47c25fb8be in ARDOUR::Route::fill_buffers_with_input (
    this=0x7f47942ffb10, bufs=..., io=..., nframes=1024)
    at ../libs/ardour/route.cc:4403
#5  0x00007f47c273e040 in ARDOUR::Track::no_roll (this=0x7f47942ffb10, 
    nframes=1024, start_frame=0, end_frame=1024, session_state_changing=false)
    at ../libs/ardour/track.cc:499
#6  0x00007f47c26afa08 in ARDOUR::Session::no_roll (this=0x4101800, 
    nframes=1024) at ../libs/ardour/session_process.cc:135
#7  0x00007f47c26b0913 in ARDOUR::Session::process_with_events (
---Type <return> to continue, or q <return> to quit---
    this=0x4101800, nframes=1024) at ../libs/ardour/session_process.cc:365
#8  0x00007f47c26af59a in ARDOUR::Session::process (this=0x4101800, 
    nframes=1024) at ../libs/ardour/session_process.cc:76
#9  0x00007f47c231570a in ARDOUR::AudioEngine::set_session (this=0x3cccfe0, 
    s=0x4101800) at ../libs/ardour/audioengine.cc:556
#10 0x00007f47c2628c85 in ARDOUR::Session::Session (this=0x4101800, eng=..., 
    fullpath=..., snapshot_name=..., bus_profile=0x0, mix_template=...)
    at ../libs/ardour/session.cc:359
#11 0x0000000000fca2ce in ARDOUR_UI::load_session (this=0x7f47a802c670, 
    path=..., snap_name=..., mix_template=...)
    at ../gtk2_ardour/ardour_ui.cc:2987
#12 0x0000000000fc9b20 in ARDOUR_UI::get_session_parameters (
    this=0x7f47a802c670, quit_on_cancel=false, should_be_new=false, 
    load_template=...) at ../gtk2_ardour/ardour_ui.cc:2918
#13 0x0000000000fbfa5e in ARDOUR_UI::starting (this=0x7f47a802c670)
    at ../gtk2_ardour/ardour_ui.cc:876
#14 0x00007f47c0f3cb07 in Gtkmm2ext::UI::run (this=0x7f47a802c670, 
    old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:273
#15 0x00000000013ae16b in main (argc=1, argv=0x7fff1a819618)
    at ../gtk2_ardour/main.cc:281
(gdb) 
(gdb) 

sine-debug-bt (33,311 bytes)   

colinf

2016-02-11 17:10

updater   ~0017913

I can still reproduce this, though the assertion failure is slightly different:

ardour-4.6.275: ../libs/ardour/ardour/audio_buffer.h:66: virtual void ARDOUR::AudioBuffer::read_from(const ARDOUR::Buffer&, ARDOUR::framecnt_t, ARDOUR::framecnt_t, ARDOUR::framecnt_t): Assertion `src_offset <= ((framecnt_t) src.capacity()-len)' failed.

timbyr

2016-02-20 13:02

developer   ~0017975

I can confirm this issue exists in version 4.7

x42

2016-03-05 15:35

administrator   ~0018042

"buffersize not being displayed correctly" and "2nd time works"

A good explanation that matches both: The Engine Dialog ignores the actual jack buffersize and instead uses the "most recently used" buffersize saved in the config/prefs.

Issue History

Date Modified Username Field Change
2014-12-04 15:11 colinf New Issue
2014-12-04 15:11 colinf File Added: sine-debug-bt
2016-02-11 17:10 colinf Note Added: 0017913
2016-02-20 13:02 timbyr Note Added: 0017975
2016-02-20 13:02 timbyr Status new => confirmed
2016-02-20 13:02 timbyr Product Version => 4.7
2016-03-05 15:35 x42 Note Added: 0018042