Re: Bug: Assertion fails for BIGWRITEBUFLEN on large projects

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
T. Evert wrote:

> DVDAuthor returns the following error, which I believe indicates a bug in
> this case:
> Assertion failed: p<=BIGWRITEBUFLEN, file dvdifo.c, line 220

I have done a fix for this. Creation of IFO files now uses a 
dynamically-resizable buffer, so you should be able to go all the way up 
to the limits of the DVD-Video spec.

> I’m running a MinGW compile of DVDAuthor Version 0.6.17 (also tested with
> 0.6.14) with the attached XML file. (Also at 
> http://www.iConsultants.net/tmp/T4Y-DVDAuthor.zip)

Your control file has about 4000 <vob> lines in it. I successfully 
created a test with over 7000 <vob> lines, and the updated dvdauthor 
builds it just fine.

However, dvdunauthor seems to run into limits with libdvdread, I get 
repeated error messages like this:

*** libdvdread: CHECK_VALUE failed in 
/build/buildd-libdvdread_4.1.3-8-amd64-UYsyCI/libdvdread-4.1.3/src/ifo_read.c:1203 
***
*** for vts_ptt_srpt->title[i].ptt[j].pgn < 100 ***

So it appears somebody isn’t expecting a PGC to contain more than 100 
programs. :)

As always, my code is at <http://github.com/ldo/dvdauthor>.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.