PDA

View Full Version : 0.65 buffer overflow errors caused by ILVU_Extract-generated VOBs ???


lamster
25th October 2004, 06:20
I had never seen a "buffer overflow" error before.

Following advice elsewhere, I've added "ILVU_Extract=1" to my rebuilder.ini file. Since then, I've seen a few "buffer overflow" errors.

I just tried the following, testing with the latest movie that I saw this error on (Star Wars 1: Phantom Menace):

Started a new build, from scratch, with "ILVU_Extract=1". Got a buffer overflow error. Restarted Rebuilder, changed to 3-click mode, stopped and restarted, and tried just a new Rebuild. Once again, got an overflow error: "DVD Rebuilder experienced a buffer overflow. Error #0003. Process must abort." Both of these were at the same point; after the following:
[21:31:51] Phase III, REBUILD started.
- Copying IFO, BUP, and unaltered files...
- Processing VTS_04
- Rebuilding segment 0 VOBID: 1 CELLID: 1
- Updating NAVPACKS for VOBID_01
- Rebuilding segment 1 VOBID: 2 CELLID: 1
- Updating NAVPACKS for VOBID_02
- Rebuilding segment 2 VOBID: 3 CELLID: 1
- Updating NAVPACKS for VOBID_03
- Rebuilding segment 3 VOBID: 4 CELLID: 1
- Updating NAVPACKS for VOBID_04
- Rebuilding segment 4 VOBID: 5 CELLID: 1
- Updating NAVPACKS for VOBID_05
- Updated VTS_C_ADT.
- Updated VTS_VOBU_ADMAP.
- Updated IFO: VTS_04_0.IFO
- Processing VTS_06
- Rebuilding segment 0 VOBID: 1 CELLID: 1
- Updating NAVPACKS for VOBID_01
- Rebuilding segment 1 VOBID: 5 CELLID: 1


Deleted the following file from my D2VAVS directory:
10/24/2004 01:01p 269,340,672 VTS_06_A.VOB

Restarted Rebuilder, tried a Rebuild, and it worked!

Copied a different VOB (this one was 498,382,848 bytes) from the rebuilt VIDEO_TS directory to the D2VAVS directory, renaming it to VTS_06_A.VOB, and tried another Rebuild, and this time it failed with "DVD Rebuilder experienced a buffer overflow. Error #0004. Process must abort." This one was slightly earlier; after the following (everything before VTS_06 was the same):
- Processing VTS_06
- Rebuilding segment 0 VOBID: 1 CELLID: 1

Tried another rebuild; it failed at the same spot. Deleted the VTS_06_A.VOB, tried another rebuild, and it worked again.

(Note that "worked" means reached the end of the rebuild phase without errors; I haven't yet burned a DVD to try this out, although I did check the angles in the scrolling titles using IfoEdit.)

Fr4nz
25th October 2004, 08:40
Did you try the "special error processing" feature?? It was designed to solve 0003 and 0004 errors.

jdobbs
25th October 2004, 13:58
There is no connection between the ILUV_Extract option and buffer overflow errors. In fact the ILVU_Extract doesn't affect any part of the reencoding process -- it is there just for debugging and future enhancements.

Did you do any preprocessing with a third party sofware package?

Also -- be careful when using DVD Decrypter to ensure you haven't set any of its preprocessing (like angle removal).

lamster
25th October 2004, 17:29
@jdobbs - It seems bizarre to me too. I can't explain it; I'm just reporting what I saw. I got the buffer overflow error twice. I then deleted the VOB from the D2VAVS directory, and got a successful rebuild. I then added a different VOB to the D2VAVS directory, renamed to match what DVD-RB had produced, and reproduced the buffer overflow error twice more. I then deleted this VOB and got a successful rebuild.

To me it seems like more than coincidence. I can try it a few more times if you like.

The files were copied from the original DVD using DVD-Decrypter. No other processing was done. I just started up DVD-Decrypter and checked the settings, and verified that "Multi-angle processing" is not checked. (I'm pretty sure that I've never had that checked; the only angle-stripping I've done is using IfoEdit, and naturally I haven't stripped angles off of anything I'm testing DVD-RB 0.65 against.)

@Fr4nz - no, I did not have the "Special Error Processing" option selected. I did try it the first time I saw this error, and it didn't help.

lamster
25th October 2004, 19:19
All the above testing was on one machine. I just tried on a different machine, where I had previously seen the Buffer Overflow error trying to back up "Kiki's Delivery Service", and I had then redid all 3 phases starting from scratch (even deleted the .INI file).

The new backup had completed successfully. I stopped Rebuilder, copied a VOB into the D2VAVS directory, renaming it to VTS_06_A.VOB, started Rebuilder, and tried another Rebuild. Got an overflow error while processing VTS_06; the last thing in the output window was:
[...]
- Processing VTS_06
- Rebuilding segment 0 VOBID: 1 CELLID: 1

I then renamed VTS_06_A.VOB to VTS_02_A.VOB and tried starting RB and running another rebuild, and this time got the rebuild error while processing VTS_02:

- Copying IFO, BUP, and unaltered files...
- Processing VTS_02
- Rebuilding segment 0 VOBID: 1 CELLID: 1
- Rebuilding segment 1 VOBID: 1 CELLID: 2
- Updating NAVPACKS for VOBID_01
- Rebuilding segment 2 VOBID: 4 CELLID: 1

I turned on "Special error processing" and tried a second time, and got the same results. I then renamed VTS_02_A.VOB to VTS_03_A.VOB and tried again. Sure enough, the rebuild error came while processing VTS_03:

[...]
- Updated IFO: VTS_02_0.IFO
- Processing VTS_03
- Rebuilding segment 0 VOBID: 1 CELLID: 1
- Updating NAVPACKS for VOBID_01
- Rebuilding segment 1 VOBID: 2 CELLID: 1


(Note that VTS_02 is the main movie; the only title sets listed in Rebuilder's window are 2, 3, 4, and 6. Note also that this time I didn't have ILVU_Extract in the .INI file; all I did to cause the overflow error was drop a VOB file in to the D2VAVS directory.)

Finally, I renamed VTS_06_A.VOB to VTS_02_A.VOB again, verified that I got the overflow while processing VTS_02, then renamed VTS_02_A.VOB to *.XXX and tried a rebuild again. This one worked, and a binary comparison shows that the files in the Rebuilt\VIDEO_TS directory are identical with what I had gotten from the first successful rebuild.

lamster
25th October 2004, 19:48
Did one more test - renamed VTS_02_A.XXX to VTS_01_A.VOB and tried again, and this also worked OK. So it has to be a VTS_nn_A.VOB corresponding with a title set that DVD-RB is actually processing.

jdobbs
27th October 2004, 18:11
Thanks. I'll look at this more closely tonight.