View Issue Details

IDProjectCategoryView StatusLast Update
0001217ardourbugspublic2007-02-02 11:47
Reporterericsean Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionnot fixable 
Summary0001217: Ardour crashes when moving playhead when clicking on the time line
DescriptionI've noticed this in a few of my sessions, but it doesn't happen all of the time. It does seem to eventually happen with all sessions though.
TagsNo tags attached.

Activities

2006-04-01 15:34

 

ardour2-backtrace-20060401.txt (7,790 bytes)   
paul@fastpc ~/downloads/cvs builds/ardour2/gtk2_ardour $ ./ardbg
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1
".

(gdb) run
Starting program: /home/paul/downloads/cvs builds/ardour2/gtk2_ardour/ardour.bin
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17273)]
Ardour/GTK 2.0alpha2
   (built using 1.0.2 with libardour 1.0.0 and GCC version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp
-3.3.5.20050130-1, pie-8.7.7.1))
Copyright (C) 1999-2005 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Using file ./ardour2_ui.rc found in ARDOUR_PATH.
Using file ./ardour.menus found in ARDOUR_PATH.
Using file ./ardour.colors found in ARDOUR_PATH.
Using file ./glade/new_session_dialog.glade found in ARDOUR_PATH.
Using file ../ardour_system.rc found in ARDOUR_PATH.
loading system configuration file ../ardour_system.rc
Using file ../ardour.rc found in ARDOUR_PATH.
loading user configuration file ../ardour.rc
ardour: [INFO]: No H/W specific optimizations in use
ardour: [WARNING]: Your system generates "Mod2" when the NumLock key is pressed. This can cause problems
 when editing so Ardour will use Mod3 to mean Meta rather than Mod2
Using file ./pixmaps/v_meter_strip.xpm found in ARDOUR_PATH.
Using file ./pixmaps/h_meter_strip.xpm found in ARDOUR_PATH.
Using file ./pixmaps/right_arrow.xpm found in ARDOUR_PATH.
Using file ./pixmaps/left_arrow.xpm found in ARDOUR_PATH.
Using file ./ardour.bindings found in ARDOUR_PATH.
Using file ./pixmaps/loop.xpm found in ARDOUR_PATH.
[New Thread 32769 (LWP 17276)]
[New Thread 16386 (LWP 17277)]
[New Thread 32771 (LWP 17278)]
Loading session /audio/daw/in progress/the past present using snapshot the past present
[New Thread 49156 (LWP 17279)]
[New Thread 65541 (LWP 17280)]
[New Thread 81926 (LWP 17281)]
Using file ./pixmaps/small_x.xpm found in ARDOUR_PATH.
Using file ./pixmaps/vslider02_slider.xpm found in ARDOUR_PATH.
Using file ./pixmaps/vslider02_rail.xpm found in ARDOUR_PATH.
Using file ./pixmaps/forwardblarrow.xpm found in ARDOUR_PATH.
Using file ./pixmaps/lr.xpm found in ARDOUR_PATH.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 17278)]
0xa7106d42 in run_Echo () from /usr/lib/ladspa/tap_echo.so
(gdb) thread apply all bt

Thread 7 (Thread 81926 (LWP 17281)):
#0  0xa7582ad8 in poll () from /lib/libc.so.6
#1  0x088f5f13 in ARDOUR::Session::feedback_thread_work (this=0x92b3288) at session_feedback.cc:137
#2  0x088f5dc3 in ARDOUR::Session::_feedback_thread_work (arg=0x92b3288) at session_feedback.cc:112
#3  0xa73c118e in pthread_start_thread () from /lib/libpthread.so.0
#4  0xa73c1334 in pthread_start_thread_event () from /lib/libpthread.so.0
#5  0xa758b3aa in clone () from /lib/libc.so.6

Thread 6 (Thread 65541 (LWP 17280)):
#0  0xa7582ad8 in poll () from /lib/libc.so.6
#1  0x088fb1ed in ARDOUR::Session::midi_thread_work (this=0x92b3288) at session_midi.cc:1337
#2  0x088fad73 in ARDOUR::Session::_midi_thread_work (arg=0x92b3288) at session_midi.cc:1258
#3  0xa73c118e in pthread_start_thread () from /lib/libpthread.so.0
#4  0xa73c1334 in pthread_start_thread_event () from /lib/libpthread.so.0
#5  0xa758b3aa in clone () from /lib/libc.so.6

Thread 5 (Thread 49156 (LWP 17279)):
#0  0xa757c3d5 in pwrite () from /lib/libc.so.6
#1  0xa757c484 in pread64 () from /lib/libc.so.6
#2  0x088603b4 in ARDOUR::FileSource::read_float (this=0x93509b0, dst=0xa39a8008, start=8246405,
    cnt=65536, workbuf=0xa6270008 "") at filesource.cc:1131
#3  0x0884ac95 in ARDOUR::FileSource::file_read (this=0x93509b0, dst=0xa39a8008, start=8246405,
    cnt=65536, workbuf=0xa6270008 "") at filesource.h:164
#4  0x0885fe63 in ARDOUR::FileSource::read_unlocked (this=0x93509b0, dst=0xa39a8008, start=8246405,
    cnt=65536, workbuf=0xa6270008 "") at filesource.cc:1035
#5  0x0885fdbc in ARDOUR::FileSource::read (this=0x93509b0, dst=0xa39a8008, start=8246405, cnt=65536,
    workbuf=0xa6270008 "") at filesource.cc:1007
#6  0x08827266 in ARDOUR::AudioRegion::_read_at (this=0x93714a8, srcs=@0x9371530, buf=0xa39a8008,
---Type <return> to continue, or q <return> to quit---
    mixdown_buffer=0xa39a8008, gain_buffer=0xa47fd008, workbuf=0xa6270008 "", position=8246405,
    cnt=65536, chan_n=0, read_frames=0, skip_frames=0) at audioregion.cc:524
#7  0x088270bc in ARDOUR::AudioRegion::read_at (this=0x93714a8, buf=0xa39a8008,
    mixdown_buffer=0xa483e008, gain_buffer=0xa47fd008, workbuf=0xa6270008 "", position=8246405, 
    cnt=65536, chan_n=0, read_frames=0, skip_frames=0) at audioregion.cc:468
#8  0x0880883a in ARDOUR::AudioPlaylist::read (this=0x9371368, buf=0xa39a8008,
    mixdown_buffer=0xa483e008, gain_buffer=0xa47fd008, workbuf=0xa6270008 "", start=8246405,
    cnt=65536, chan_n=0) at audio_playlist.cc:249
#9  0x0885047a in ARDOUR::DiskStream::read (this=0x937f640, buf=0xa39a8008, mixdown_buffer=0xa483e008,
    gain_buffer=0xa47fd008, workbuf=0xa6270008 "", start=@0xa607eca0, cnt=65536,
    channel_info=@0x9152f00, channel=0, reversed=false) at diskstream.cc:1254
#10 0x08850b91 in ARDOUR::DiskStream::do_refill (this=0x937f640, mixdown_buffer=0xa483e008,
    gain_buffer=0xa47fd008, workbuf=0xa6270008 "") at diskstream.cc:1469
#11 0x088ee4fc in ARDOUR::Session::butler_thread_work (this=0x92b3288) at session_butler.cc:266
#12 0x088ee01e in ARDOUR::Session::_butler_thread_work (arg=0x92b3288) at session_butler.cc:158
#13 0xa73c118e in pthread_start_thread () from /lib/libpthread.so.0
#14 0xa73c1334 in pthread_start_thread_event () from /lib/libpthread.so.0
#15 0xa758b3aa in clone () from /lib/libc.so.6

Thread 4 (Thread 32771 (LWP 17278)):
#0  0xa7106d42 in run_Echo () from /usr/lib/ladspa/tap_echo.so
#1  0x3f800000 in ?? ()
#2  0x09245fc8 in ?? ()
#3  0xa65298bc in ?? ()
#4  0x00000000 in ?? ()

Thread 3 (Thread 16386 (LWP 17277)):
#0  0xa7582ad8 in poll () from /lib/libc.so.6
#1  0x0892767e in ARDOUR::Source::peak_thread_work (arg=0x0) at source.cc:154
---Type <return> to continue, or q <return> to quit---
#2  0xa73c118e in pthread_start_thread () from /lib/libpthread.so.0
#3  0xa73c1334 in pthread_start_thread_event () from /lib/libpthread.so.0
#4  0xa758b3aa in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 17276)):
#0  0xa7582ad8 in poll () from /lib/libc.so.6
#1  0xa73c0c75 in __pthread_manager () from /lib/libpthread.so.0
#2  0xa73c0f79 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0xa758b3aa in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 17273)):
#0  0xa7582ad8 in poll () from /lib/libc.so.6
#1  0xa7f42252 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
#2  0xa7f45609 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0
#3  0xa7f4169c in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xa7c82513 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x089bb2e3 in Gtk::Main::run_impl (this=0x8d2a7c8) at main.cc:503
#6  0x089bb122 in Gtk::Main::run () at main.cc:450
#7  0x0894b3e1 in Gtkmm2ext::UI::run (this=0x8d2b2f0, old_receiver=@0x8d119e4) at gtk_ui.cc:205
#8  0x086fe100 in main (argc=1, argv=0xaffc8514) at main.cc:443
#0  0xa7106d42 in run_Echo () from /usr/lib/ladspa/tap_echo.so
(gdb)
ardour2-backtrace-20060401.txt (7,790 bytes)   

ericsean

2006-04-01 15:40

reporter   ~0002484

1. Also happens when relocating by pressing 'p'
2. Kills jackd
3. And some KDE stuff!

ericsean

2006-04-01 16:44

reporter   ~0002486

ok i tried to make it deterministic. here's what i do:

1. open session (which was created by ardour2 - see attached file)
2. press play (let play header play for around 5 seconds)
3. press play (let play header play for around 5 seconds)
3. press play

Ardour crashes.

2006-04-01 16:45

 

the past present.ardour (40,470 bytes)

paul

2006-04-24 11:10

administrator   ~0002491

this is almost certainly caused by an issue with several of the TAP plugins, which i believe that your session is using. tom does not agree and/or has not corrected his plugins behaviour when ardour deactivates/activates them at transport stop or locate points. i think you will find that if you remove these plugins, the problem will go away.

paul

2006-12-18 18:54

administrator   ~0002911

if there is no feedback on this issue by year end, it will be marked resolved.

Issue History

Date Modified Username Field Change
2006-04-01 15:34 ericsean New Issue
2006-04-01 15:34 ericsean File Added: ardour2-backtrace-20060401.txt
2006-04-01 15:40 ericsean Note Added: 0002484
2006-04-01 16:44 ericsean Note Added: 0002486
2006-04-01 16:45 ericsean File Added: the past present.ardour
2006-04-24 11:10 paul Note Added: 0002491
2006-04-24 11:10 paul Status new => feedback
2006-12-18 18:54 paul Note Added: 0002911
2007-02-02 11:44 timbyr Resolution open => not fixable
2007-02-02 11:47 timbyr Status feedback => closed