Hello all, I hope this is something with a solution that I have just been unable to find…
After recording for a certian (long) amount of time, Ardour stops recording with errors like this:
[ERROR]: /media/Ichor/Ardour/9-15-14_jack2_44.1/interchange/9-15-14_jack2_44.1/audiofiles/Audio 1-2.w64: cannot seek to -2147483648 (libsndfile error: No Error.)
[ERROR]: AudioDiskstream 121: cannot write to disk
[ERROR]: Butler write-behind failure on dstream Audio 1
[ERROR]: AudioDiskstream 121: cannot write to disk
[ERROR]: AudioDiskstream “Audio 1”: cannot flush captured data to disk!
[ERROR]: /media/Ichor/Ardour/9-15-14_jack2_44.1/interchange/9-15-14_jack2_44.1/audiofiles/Audio 2-2.w64: cannot seek to -2147483648 (libsndfile error: No Error.)
I see this has come up back in 2004, and there was something mentioned about a patch:
http://lists.ardour.org/pipermail/ardour-users-ardour.org/2004-March/013601.html
Then it came up again in 2005 with no responses:
http://lists.ardour.org/pipermail/ardour-users-ardour.org/2005-February/014859.html
Looking at the info from multiple tests I have run; recording at 96Khz, I was able to record tracks that were 6:12:50:09 long. That matches up pretty well with the following math:
$ expr 2147483648 / 96000
22369
$ var/devel/utils/s2h/s2h 22369 # utility to convert seconds to hours
0y 0d 6h 12m 49s
Given the math at the CLI, I would guess that Ardour or libsndfile or jack2 or something is marking off timeslices with a long int and is just running out of numbers to keep track of time slices. It seems that this something that switching to a long long int would fix.
Is this anything people have ran into recently? Is there a “quick fix”, or at least a patch that I could apply and recompile Ardour with?
I get the same behavior writing in wav or w64 format, I am just now running a test in CAF format. I expect the same behavior. Those tests were all with 32-bit floating point sample format. I have not yet seen if it makes a difference in 24 or 16 bit integer format.
Background: Sometimes I’ll start recording stuff throughout the day and just leave all the mics on as people come and go and various music or jams happen. At 44.1Khz I am able to record for 13:35:05:25. I guess that is long enough for casual jam stuff and I could just restart things @96Khz when I am recording studio stuff, but it would be nice to be able to record longer at 96K.
In case any of this is important:
Hardware:
Intel® Core™2 Duo CPU E6550 @ 2.33GHz
8 GB RAM @800MHz
Presonus Firestudio Project
OS: Arch linux
$ uname -a
Linux av-arch-home 3.14.12-rt9-1-rt #1 SMP PREEMPT RT Sun Sep 7 11:13:32 EDT 2014 x86_64 GNU/Linux
Ardour3.5.378
jackdmp 1.9.10
libsndfile 1.0.25-3