[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
2.6.13.r-1.

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

-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE

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.

Neil
MPHMedia





More information about the Ardour-Users mailing list