View Issue Details

IDProjectCategoryView StatusLast Update
0009263ardourbugspublic2023-02-26 19:05
Reportercolinf Assigned To 
Status newResolutionopen 
Summary0009263: Crash on ProTools session import
DescriptionImporting the attached .ptx file crashes ardour.
Additional InformationHere's an example of a backtrace of the crashing thread (with dummy audio backend), with 1 CPU in use for DSP:

[Switching to Thread 0x7fffd45c4c40 (LWP 242897)]
0x0000555555e59f9e in ARDOUR::PresentationInfo::flags (this=0x392) at ../libs/ardour/ardour/presentation_info.h:164
164 PresentationInfo::Flag flags() const { return _flags; }
(gdb) bt
#0 0x0000555555e59f9e in ARDOUR::PresentationInfo::flags() const (this=0x392) at ../libs/ardour/ardour/presentation_info.h:164
0000001 0x0000555555ea35c8 in ARDOUR::Stripable::is_auditioner() const (this=0x2a) at ../libs/ardour/ardour/stripable.h:75
#2 0x00007ffff7537868 in ARDOUR::Session::no_roll(unsigned int) (this=0x555559730ce0, nframes=512) at ../libs/ardour/
#3 0x00007ffff7539f9b in ARDOUR::Session::process_without_events(unsigned int) (this=0x555559730ce0, nframes=512) at ../libs/ardour/
0000004 0x00007ffff753928a in ARDOUR::Session::process_with_events(unsigned int) (this=0x555559730ce0, nframes=512) at ../libs/ardour/
0000005 0x00007ffff7536e34 in ARDOUR::Session::process(unsigned int) (this=0x555559730ce0, nframes=512) at ../libs/ardour/
#6 0x00007ffff6d6f3df in ARDOUR::AudioEngine::process_callback(unsigned int) (this=0x555557b33cc0, nframes=512) at ../libs/ardour/
#7 0x00007fffd58caef4 in ARDOUR::DummyAudioBackend::main_process_thread() (this=0x5555575980e0) at ../libs/backends/dummy/
0000008 0x00007fffd58c8603 in pthread_process(void*) (arg=0x5555575980e0) at ../libs/backends/dummy/
0000009 0x00007ffff46c0ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
0000010 0x00007ffff38d3a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

It looks like the process callback sees a corrupted value in the Session::routes list, but the routes appear to be good when added in Session::import_pt_rest(). Using multiple CPUs for DSP causes a crash in a different place, but it appears to be from a similar cause.
TagsNo tags attached.



2023-02-26 19:05


Copy of SORCERERS.ptx (440,467 bytes)

Issue History

Date Modified Username Field Change
2023-02-26 19:05 colinf New Issue
2023-02-26 19:05 colinf File Added: Copy of SORCERERS.ptx