Zeratul wrote:
> b. Yes I have libdvdcss version libdvdcss2-1.2.8

I'm not at home right now, but IIRC I have the same version. 

> It happens on *some* dvd's (about 60 percent of those I rented in
> the past few weeks)

Some? That's very strange. If libdvdread can't find decss, it should
happen to all DVDs (except one or two).

> One example: The new Lord of the rings Two Towers extended edition
> (region code 2 europe).

I have the same DVD (not rented and German edition) and it's working
perfectly. BUT libdvdread prints some warnings, so I guess the DVD is
badly mastered. But I don't get a crash.

> open1
> Pygame Parachute Traceback:
> Thread-0x8024c038
>  File "/usr/local/freevo-1.4/runtime/lib/python2.3/threading.py", line 204, in wait
> Thread-0x8021bb20
>  File "/usr/local/freevo-1.4/runtime/lib/python2.3/threading.py", line 204, in wait
> Thread-0x80185878
>  File "/usr/local/freevo-1.4/runtime/lib/python2.3/threading.py", line 204, in wait
> Thread-0x8016e3f8
>  File 
> "/usr/local/freevo-1.4/runtime/lib/python2.3/site-packages/mmpython/disc/dvdinfo.py",
>  line 97, in isDisc
> Thread-0x80015200
>  File "/usr/local/freevo-1.4/src/util/misc.py", line 490, in __call__
> Fatal Python error: (pygame parachute) Segmentation Fault
>
> c./freevo: line 1:  2367 Aborted                 $RUNAPP $PYTHON $OPTIMZE 
> $FREEVO_PYTHON/main.py $@

That's bad, because the crash is in the following c code:


static PyObject *ifoinfo_open(PyObject *self, PyObject *args) {
  tt_srpt_t *tt_srpt;
  int i, ch, gotopt = -1, dochapters = -1;
  char *dvddevice;

  if (!PyArg_ParseTuple(args, "s", &dvddevice))
    return Py_BuildValue("i", 0);

  dvd = DVDOpen(dvddevice);
  
  if (!dvd)
    return Py_BuildValue("i", 0);
  
  ifofile = ifoOpen(dvd, 0);
  if (!ifofile) {
    DVDClose(dvd);
    return Py_BuildValue("i", 0);
  }

  tt_srpt = ifofile->tt_srpt;
  return Py_BuildValue("i", tt_srpt->nr_of_srpts);
}


I don't see anything I could make wrong here (every NULL pointer is
taken care off). So guess libdvdread (provides DVDOpen and ifoOpen)
crashes for some reason. If you know how to compile, please try

http://arnfast.net/projects/ifoinfo.php

and tell me if that works.



Dischi

-- 
WARNING: I cannot be held responsible for the above, as apparently my
cats have learned how to type.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to