View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009937 | ardour | bugs | public | 2025-05-27 10:31 | 2025-05-27 10:31 |
Reporter | bomno | Assigned To | |||
Priority | low | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | GNU | OS | Linux | OS Version | (any) |
Product Version | 8.12 | ||||
Summary | 0009937: Segmentation fault while opening incompatible FLAC file | ||||
Description | See the steps and additional info. Also reproducible on commit 7205739 from latest github master. | ||||
Steps To Reproduce | Truncate random FLAC file with `ffmpeg ... -ss 00:12:34 -t 00:01:02 -a:c copy ...` and try to either import it into your track (just pastes empty track) or preview it with "play" button in the "insert" window (crashes with the following message). I understand I malformed the file (should have used `-a:c flac` instead) but this is segmentation fault so definitely should not happen. Fixing the file works around the bug. | ||||
Additional Information | Thread 112 "butler" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb4178980 (LWP 10566)] 0x00007ffff4fd50a7 in ?? () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff4fd50a7 in ??? () at /lib64/libc.so.6 0000001 0x00007ffff4ff8717 in ??? () at /lib64/libc.so.6 #2 0x00007ffff4fd24ce in snprintf () at /lib64/libc.so.6 #3 0x00007ffff4ed6293 in sf_error_str () at /usr/lib64/libsndfile.so.1 0000004 0x00007ffff7837d0d in ARDOUR::SndFileSource::read_unlocked(float*, long, long) const () at /usr/lib64/ardour9/libardour.so.3 0000005 0x00007ffff738f2c3 in ARDOUR::AudioSource::read(float*, long, long, int) const () at /usr/lib64/ardour9/libardour.so.3 #6 0x00007ffff78531a2 in ARDOUR::SrcFileSource::read_unlocked(float*, long, long) const () at /usr/lib64/ardour9/libardour.so.3 ... 0002711 0x00007ffff7853323 in ARDOUR::SrcFileSource::read_unlocked(float*, long, long) const () at /usr/lib64/ardour9/libardour.so.3 0002712 0x00007ffff738f2c3 in ARDOUR::AudioSource::read(float*, long, long, int) const () at /usr/lib64/ardour9/libardour.so.3 0002713 0x00007ffff7379ef8 in ARDOUR::AudioRegion::read_from_sources(std::vector<std::shared_ptr<ARDOUR::Source>, std::allocator<std::shared_ptr<ARDOUR::Source> > > const&, long, float*, long, long, unsigned int) const () at /usr/lib64/ardour9/libardour.so.3 0002714 0x00007ffff737b592 in ARDOUR::AudioRegion::read_at(float*, float*, float*, long, long, unsigned int) const () at /usr/lib64/ardour9/libardour.so.3 0002715 0x00007ffff733caad in ARDOUR::AudioPlaylist::read(float*, float*, float*, Temporal::timepos_t const&, Temporal::timecnt_t const&, unsigned int) () at /usr/lib64/ardour9/libardour.so.3 0002716 0x00007ffff73f30d2 in ARDOUR::DiskReader::audio_read(float*, float*, float*, long&, long, ARDOUR::DiskReader::ReaderChannelInfo*, int, bool) () at /usr/lib64/ardour9/libardour.so.3 0002717 0x00007ffff73f4502 in ARDOUR::DiskReader::refill_audio(float*, float*, float*, long, bool) () at /usr/lib64/ardour9/libardour.so.3 0002718 0x00007ffff73f5178 in ARDOUR::DiskReader::do_refill_with_alloc(bool, bool) () at /usr/lib64/ardour9/libardour.so.3 0002719 0x00007ffff73f538c in ARDOUR::DiskReader::seek(long, bool) () at /usr/lib64/ardour9/libardour.so.3 0002720 0x00007ffff739ced0 in ARDOUR::Auditioner::audition_region(std::shared_ptr<ARDOUR::Region>, bool) () at /usr/lib64/ardour9/libardour.so.3 0002721 0x00007ffff7762766 in ARDOUR::Session::non_realtime_set_audition() () at /usr/lib64/ardour9/libardour.so.3 0002722 0x00007ffff7818817 in ARDOUR::Session::butler_transport_work(bool) () at /usr/lib64/ardour9/libardour.so.3 0002723 0x00007ffff73c9bfb in ARDOUR::Butler::thread_work() () at /usr/lib64/ardour9/libardour.so.3 0002724 0x00007ffff73ca65c in ARDOUR::Butler::_thread_work(void*) () at /usr/lib64/ardour9/libardour.so.3 0002725 0x00007ffff69f4424 in ??? () at /usr/lib64/ardour9/libpbd.so.4 0002726 0x00007ffff50040b3 in ??? () at /lib64/libc.so.6 0002727 0x00007ffff508196c in ??? () at /lib64/libc.so.6 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-27 10:31 | bomno | New Issue |