Re: dvdauthor.exe error (_cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION)
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
On 26/04/10 19:45, Vladimir Skuzovatkin wrote:
> 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....
Thank you for that. i2 can be a menu number, menu entry ID or title
number. It’s a menu number if less than 120, a menu entry ID + 120 if in
[120 .. 127], and a title number + 128 otherwise.
But titles should be numbered from 1. Can you post your XML file? Are
you trying to jump to “title 0”, by any chance? (I should put in a check
for that, no excuse for a segfault.)
------------------------------------------------------------------------------
_______________________________________________
Dvdauthor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users