View Issue Details

IDProjectCategoryView StatusLast Update
0009350ardourbugspublic2023-10-16 09:02
Reportermiddlewalker Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status newResolutionopen 
PlatformArchOSLinuxOS Version(any)
Product Version7.4 
Summary0009350: unknown crashing problem involving timecnt
DescriptionFor some reason, when attempting to load a specific project, ardour fails and gives me the errors:

> Cannot initialize session/engine: Audio/MIDI Engine is not running or sample-rate mismatches.
and
> ---ERROR: Unexpected exception during session setup: negative distance in timecnt constructor
Steps To Reproducehere's my project folder, if that helps.
https://drive.proton.me/urls/VV2F3GPA5M#SyPrLV5t28VG
Additional InformationProject was made using pipewire. have not tested on pulseaudio or jack. changing audio engines has not solved this problem, restarting pipewire has not solved this problem, updating and rebooting my system has not solved this problem, deleting files in a backup of the folder has not solved this problem. Thus, I believe it stems from something in the main .ardour file. Tested with both the Arch Linux ardour package and with the AUR ardour-git package.
Tagscrash, Linux

Activities

middlewalker

2023-08-11 07:13

reporter   ~0027971

I've been able to gain access to these files by commenting out the lines 78-80 in libs/temporal/timeline.cc on the main branch on the github mirror. I don't imagine this is a great solution, but it seems to work fine without it. I'm not sure what the lines are meant to prevent, though now I can access the files.

middlewalker

2023-08-11 07:21

reporter   ~0027972

on further note the plugins look to be unusuable, but that can at least be redone. definitely better than being unable to access it at all.

middlewalker

2023-08-11 07:49

reporter   ~0027973

this is not the case, those plugins will reset every time. however that is a separate problem. for now i'm going to leave this here unless I find a better solution

truls

2023-10-16 09:02

reporter   ~0028211

I encountered this problem and by commenting out parts of the ardour-file I managed to track it to a region definition in the xml. This region had a problem:
    <Region name="Take139_Test-1.2" muted="0" opaque="1" locked="0" video-locked="0" automatic="0" whole-file="0" import="0" external="0" sync-marked="0" left-of-split="0" right-of-split="0" hidden="0" position-locked="0" valid-transients="0" start="a752640000" length="a4611685970258427903@a48168960000" sync-position="a752640000" ancestral-start="a359068080" ancestral-length="a774584160@a359068080" stretch="0.97166240215301514" shift="1" layering-index="5" tags="" contents="0" rgroup="5712" envelope-active="0" default-fade-in="0" default-fade-out="0" fade-in-active="1" fade-out-active="1" scale-amplitude="2.8850500583648682" id="38873" type="audio" first-edit="nothing" source-0="38474" master-source-0="38020" channels="1"/>

The length seemed strange compared to other ones, so I removed some numbers from the part before the @, and then I could load the file without the error; working version:
    <Region name="Take139_Test-1.2" muted="0" opaque="1" locked="0" video-locked="0" automatic="0" whole-file="0" import="0" external="0" sync-marked="0" left-of-split="0" right-of-split="0" hidden="0" position-locked="0" valid-transients="0" start="a752640000" length="a46116859@a48168960000" sync-position="a752640000" ancestral-start="a359068080" ancestral-length="a774584160@a359068080" stretch="0.97166240215301514" shift="1" layering-index="5" tags="" contents="0" rgroup="5712" envelope-active="0" default-fade-in="0" default-fade-out="0" fade-in-active="1" fade-out-active="1" scale-amplitude="2.8850500583648682" id="38873" type="audio" first-edit="nothing" source-0="38474" master-source-0="38020" channels="1"/>

Hope it helps someone!

Issue History

Date Modified Username Field Change
2023-05-24 22:51 middlewalker New Issue
2023-05-24 22:51 middlewalker Tag Attached: crash
2023-05-24 22:51 middlewalker Tag Attached: Linux
2023-08-11 07:13 middlewalker Note Added: 0027971
2023-08-11 07:21 middlewalker Note Added: 0027972
2023-08-11 07:49 middlewalker Note Added: 0027973
2023-10-16 09:02 truls Note Added: 0028211