View Issue Details

IDCategoryLast Update
0007866bugs2020-04-01 15:10
ReporterBenLoftisAssigned Topaul 
Status closedResolutionfixed 
PlatformanyOSOS Version
Product Version6.0-pre0 
Fixed in Version6.0-pre1 
Summary0007866: Crash and/or timing-offset when editing regions during playback
DescriptionEditing a region during live playback can result in a failed buffer-refill.
Steps To ReproduceGiven 2 tracks,
Generate a region of "noise" (pink or white, whatever) on one track.
Copy the region (in lock-drag) down to the second track, and invert polarity so the noise is silenced during playback.
During playback, select a region and adjust the region's "gain" setting (*) repeatedly.
Changing the gain should make the noise audible. Returning it to unity should silence the noise again.
Occasionally, one of two things occurs:
* crash (see below)
* timing offset: noise plays full-volume because timing is offset (this can be verified by listening to music or click instead of noise). After a few seconds, the problem will fix itself (buffer refill?)

(*) other operations, like trimming the region start, can also trigger the behavior and crash. But I find this is easiest.
Additional Informationgit master f427e38c

 #0 0x00007fffeb9ec125 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
0000001 0x00007fffeb9ef3a0 in *__GI_abort () at abort.c:92
#2 0x00007fffeba2635b in __libc_message (do_abort=<optimized out>, fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3 0x00007fffeba2fbb6 in malloc_printerr (action=3, str=0x7fffebb0c7f8 "munmap_chunk(): invalid pointer", ptr=<optimized out>) at malloc.c:6312
0000004 0x00007ffff68e4825 in boost::checked_array_delete<float> (x=0x7fffcded3710) at /home/harrison/gtk/inst/include/boost/core/checked_delete.hpp:41
0000005 0x00007ffff68e3915 in boost::scoped_array<float>::~scoped_array (this=0x7fffd1158390, __in_chrg=<optimized out>)
    at /home/harrison/gtk/inst/include/boost/smart_ptr/scoped_array.hpp:69
#6 0x00007ffff69933ae in ARDOUR::DiskReader::overwrite_existing_audio (this=0x7fffccc4d500) at ../libs/ardour/
#7 0x00007ffff6993881 in ARDOUR::DiskReader::overwrite_existing_buffers (this=0x7fffccc4d500) at ../libs/ardour/
0000008 0x00007ffff70615c0 in ARDOUR::Track::overwrite_existing_buffers (this=0x7fffccc33b70) at ../libs/ardour/
0000009 0x00007ffff6ffd58d in ARDOUR::Session::non_realtime_overwrite (this=0x341e170, on_entry=1, finished=@0x7fffd115869f: true)
    at ../libs/ardour/
0000010 0x00007ffff6ffd109 in ARDOUR::Session::butler_transport_work (this=0x341e170) at ../libs/ardour/
0000011 0x00007ffff695e49e in ARDOUR::Butler::thread_work (this=0x2145aa0) at ../libs/ardour/
0000012 0x00007ffff695dc6d in ARDOUR::Butler::_thread_work (arg=0x2145aa0) at ../libs/ardour/
0000013 0x00007ffff4394402 in fake_thread_start (arg=0x7fffccb07500) at ../libs/pbd/
0000014 0x00007fffeec96b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#15 0x00007fffeba97fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
0000016 0x0000000000000000 in ?? ()
TagsNo tags attached.



2020-01-03 23:14

administrator   ~0020899

should be fixed in git master, as of fd5cd74214c2

Issue History

Date Modified Username Field Change
2020-01-01 19:01 BenLoftis New Issue
2020-01-03 23:14 paul Note Added: 0020899
2020-01-03 23:14 paul Assigned To => paul
2020-01-03 23:14 paul Status new => feedback
2020-04-01 14:52 BenLoftis Status feedback => resolved
2020-04-01 14:52 BenLoftis Resolution open => fixed
2020-04-01 14:52 BenLoftis Fixed in Version => 6.0-pre1
2020-04-01 15:10 BenLoftis Status resolved => closed