dvdauthor.exe error (_cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION)
Vladimir Skuzovatkin <[email protected]>
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
> > > > 2010/4/27 Vladimir Skuzovatkin <[email protected]> > >> Hi! >> >> About "dvdauthor.exe error (_cygtls::handle_exceptions: Exception: >> STATUS_ACCESS_VIOLATION)". >> >> About root cause of this problem. >> >> For example I tried to create "DVD VOB" with 296 video files. >> So my proper "dvd_creater.xml" file contained 296 >> "dvdauthor.titleset.titles.pgc" nodes. >> "vm_statement" structures will be created at processing of >> "dvd_creater.xml" file by dvdauthor.exe (dvdauthor.exe -x dvd_creater.xml). >> For each video file from "dvd_creater.xml" will be created proper >> "vm_statement" structure. >> About "vm_statement" structure: >> >> struct vm_statement /* for building parse tree */ >> { >> int op; >> /* meanings of following fields depend on op */ >> int i1, i2, i3, i4; >> char *s1, *s2, *s3, *s4; /* s1 is label for gotos and label defs; s2, >> s3, s4 not used */ >> struct vm_statement *param; >> struct vm_statement *next; /* sequence of operations */ >> }; >> >> "dvdauthor.exe" module initialize all fields of "vm_statement" structure >> at processing of "dvdauthor.titleset.titles.pgc" node. >> So "dvdauthor.exe" put 130 into field "i2" of "vm_statement" structure for >> the first file. >> "dvdauthor.exe" put 131 into field "i2" of "vm_statement" structure for >> the second file. >> ... >> "dvdauthor.exe" put 254 into field "i2" of "vm_statement" structure for >> the file with number 125. >> "dvdauthor.exe" put 255 into field "i2" of "vm_statement" structure for >> the file with number 126. >> "dvdauthor.exe" put 128 (not 256!) into field "i2" of "vm_statement" >> structure for the file with number 127. >> "dvdauthor.exe" put 129 (not 257!) into field "i2" of "vm_statement" >> structure for the file with number 128. >> ... >> >> So in my opinion the procedure of creation/initialization the >> "vm_statement" structures is not corrected. >> You can check these values via the "pgc_set_post" (or "pgc_add_button") >> function (see "vm_parse") in the dvdauthor.c file. >> >> Thus, an error will be occurred when the "compilecs"-function (in >> "dvdcompile.c" file) will be performed on the line 916: >> >> >> if (cs->i3 && cs->i3 > ws->titles->pgcs[i2 - 128 - 1]->numchapters) >> { >> fprintf >> ( >> stderr, >> "ERR: Cannot jump to chapter %d of title %d, only %d exist\n", >> cs->i3, >> i2 - 128, >> ws->titles->pgcs[i2 - 128 - 1]->numchapters >> ); >> return 0; >> } /*if*/ >> >> Here "i2" is a "i2" field of our "vm_statement" structure for the >> processed file. >> So we have "ws->titles->pgcs[130 - 128 - 1]" when will be processed first >> file. >> We have "ws->titles->pgcs[131 - 128 - 1]" when will be processed second >> file. >> ... >> We have "ws->titles->pgcs[254 - 128 - 1]" when will be processed file with >> number 125. >> We have "ws->titles->pgcs[255 - 128 - 1]" when will be processed file with >> number 126. >> We have "ws->titles->pgcs[128 - 128 - 1]" (i2 for this file is equal to >> 128!!!) when will be processed file with number 127. - So we have the error. >> >> Thanks, >> Vladimir >> >> >> 2010/4/26 <dvdauthor-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> >> >> Send Dvdauthor-users mailing list submissions to >>> dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> https://lists.sourceforge.net/lists/listinfo/dvdauthor-users >>> or, via email, send a message with subject or body 'help' to >>> dvdauthor-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> >>> You can reach the person managing the list at >>> dvdauthor-users-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of Dvdauthor-users digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Re: Dvdauthor-users Digest, Vol 42, Issue 8 (Vladimir Skuzovatkin) >>> 2. Re: dvdauthor.exe error (_cygtls::handle_exceptions: >>> Exception: STATUS_ACCESS_VIOLATION) (Lawrence D'Oliveiro) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Mon, 26 Apr 2010 11:45:43 +0400 >>> From: Vladimir Skuzovatkin <[email protected]> >>> Subject: Re: [Dvdauthor-users] Dvdauthor-users Digest, Vol 42, Issue 8 >>> To: dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> Message-ID: >>> <p2udf34f1ac1004260045ldefb78d0o70d055deccfb6ca4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> >>> Content-Type: text/plain; charset="iso-8859-1" >>> >>> Hi! >>> >>> About "dvdauthor.exe error (_cygtls::handle_exceptions: Exception: >>> STATUS_ACCESS_VIOLATION)". >>> >>> Yes, the version 0.6.18 of dvdauthor.exe have this error. >>> >>> I tried to find "root cause": >>> An error occurred in the module "dvdcompile.c" in the function >>> "compilecs" >>> on the line 916. >>> The next text are located in this file: >>> >>> if (cs->i3 && cs->i3 > ws->titles->pgcs[i2 - 128 - 1]->numchapters) >>> { >>> fprintf >>> ( >>> stderr, >>> "ERR: Cannot jump to chapter %d of title %d, only %d >>> exist\n", >>> cs->i3, >>> i2 - 128, >>> ws->titles->pgcs[i2 - 128 - 1]->numchapters >>> ); >>> return 0; >>> } /*if*/ >>> >>> In my case the value of "i2" is equal to "128"! So, "ws->titles->pgcs[i2 >>> - >>> 128 - 1]->numchapters" generate access violation.... >>> >>> Thanks, >>> Vladimir >>> >> ------------------------------------------------------------------------------ _______________________________________________ Dvdauthor-users mailing list Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/dvdauthor-users