[ardour-users] Large File Problem

Neil Nelson xxx at mphmedia.net
Sat Dec 10 16:13:07 PST 2005

I'm using Ardour 0.9_beta30, the current Gentoo version. Using Gentoo

The large file problem has been noted before. It gives the message

"cannot flush captured data to disk!"

This messsage derives from diskstream.cc and occurs at about 3 hours and
22 minutes into the recording. I am recording live sessions which could
go all day in the future.

The resulting file size when he error occurs is a few bytes over 2^31
suggesting overflow of a signed 32 bit integer. My guess is that the
file needs to be opened with O_LARGEFILE as a flag using 'open'. I
quickly looked for where the open but have not seen it clearly.

When running scons I see the following listed on the compile line


It may be that these compile options are meant to address the large file
size problem, but perhaps the open needs to be adjusted.

Any pointers to where this code needs to be changed are welcome.


More information about the Ardour-Users mailing list