After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345694 - [dvdreadsrc] crash with 'who wants to be a millionnaire' iso image
[dvdreadsrc] crash with 'who wants to be a millionnaire' iso image
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: High major
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-22 22:12 UTC by Fabio Bonelli
Modified: 2006-08-07 16:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Fabio Bonelli 2006-06-22 22:12:10 UTC
$ totem dvdimage.iso
[...]
libdvdread: Using libdvdcss version 1.2.8 for DVD access

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1008 ***
*** for vts_ptt_srpt->title[i].ptt[j].pgn != 0 ***

Please send bug report - no VTS_TMAPT ??

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000001e6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00002441
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00002939
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00002e31
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00003329
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00003821
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00003d1a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000046f4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x000050ce
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x00005aa8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x00006482
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x00006e71
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x000299e0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x00038891
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x00054dfa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_16_1.VOB at 0x0006bbb5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_17_1.VOB at 0x00071c61
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_18_1.VOB at 0x0007f37b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_19_1.VOB at 0x0008c69f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_20_1.VOB at 0x000999de
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_1.VOB at 0x000a6d86
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x000b4362
[...]
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_47_1.VOB at 0x001fd457
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_48_1.VOB at 0x0020c768
libdvdread: Elapsed time 0
libdvdread: Found 48 VTS's
libdvdread: Elapsed time 1
Segmentation fault (core dumped)

The crash seems to be caused by /usr/lib/gstreamer-0.10/libgstdvdread.so,
but I don't have a totem version with debugging information.
Comment 1 Tim-Philipp Müller 2006-07-10 11:46:34 UTC
Thanks for the bug report. Without a stack trace from the crash it's very hard to determine what caused it.
Can you provide us with one? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 2 Fabio Bonelli 2006-07-15 17:22:32 UTC
It seems to happen just with the /Who wants to be a millionaire/ DVD image.

(gdb) bt
  • #0 cur_title_get_chapter_bounds
    at dvdreadsrc.c line 298
  • #1 gst_dvd_read_src_goto_chapter
    at dvdreadsrc.c line 324
  • #2 gst_dvd_read_src_start
    at dvdreadsrc.c line 215
  • #3 gst_base_src_start
    at gstbasesrc.c line 1689
  • #4 gst_base_src_activate_push
    at gstbasesrc.c line 1819
  • #5 gst_pad_activate_push
    at gstpad.c line 804
  • #6 gst_pad_set_active
    at gstpad.c line 644
  • #7 activate_pads
    at gstelement.c line 2260
  • #8 gst_iterator_fold
    at gstiterator.c line 503
  • #9 iterator_fold_with_resync
    at gstelement.c line 2278
  • #10 gst_element_pads_activate
    at gstelement.c line 2315
  • #11 gst_element_change_state_func
    at gstelement.c line 2364
  • #12 gst_base_src_change_state
    at gstbasesrc.c line 1934
  • #13 gst_element_change_state
    at gstelement.c line 2183
  • #14 gst_element_change_state
    at gstelement.c line 2216
  • #15 gst_element_set_state_func
    at gstelement.c line 2145
  • #16 gst_bin_change_state_func
    at gstbin.c line 1754
  • #17 gst_pipeline_change_state
    at gstpipeline.c line 492
  • #18 gst_play_base_bin_get_type
    from /usr/lib/gstreamer-0.10/libgstplaybin.so
  • #19 ??
    from /usr/lib/gstreamer-0.10/libgstplaybin.so
  • #20 gst_element_change_state
    at gstelement.c line 2183
  • #21 gst_element_change_state
    at gstelement.c line 2216
  • #22 gst_element_set_state_func
    at gstelement.c line 2145
  • #23 bacon_video_widget_open_with_subtitle
  • #24 totem_action_set_mrl_with_warning
  • #25 totem_action_set_mrl_and_play
  • #26 totem_action_play_pause
  • #27 main

Comment 3 Tim-Philipp Müller 2006-07-15 18:25:38 UTC
Interesting, thanks for the stack trace.

Could you also attach the output of

 $ export GST_DEBUG_NO_COLOR=1
 $ export GST_DEBUG=dvdreadsrc:5
 $ totem dvdimage.iso 2>dbg.log

please?
Comment 4 Fabio Bonelli 2006-07-24 14:03:37 UTC
Here you are:

DEBUG (0x552110 - 0:00:01.431265000)           dvdreadsrc(10081) dvdreadsrc.c(182):gst_dvd_read_src_start:<source> Opening DVD '/home/fabio/Desktop/MMIT216A_DES.iso'
DEBUG (0x552110 - 0:00:01.432291000)           dvdreadsrc(10081) dvdreadsrc.c(193):gst_dvd_read_src_start:<source> Loading VMG info
INFO  (0x552110 - 0:00:01.433477000)           dvdreadsrc(10081) dvdreadsrc.c(372):gst_dvd_read_src_goto_title:<source> There are 48 titles on this DVD
INFO  (0x552110 - 0:00:01.433650000)           dvdreadsrc(10081) dvdreadsrc.c(380):gst_dvd_read_src_goto_title:<source> Title 0 has 1 chapters
LOG   (0x552110 - 0:00:01.433747000)           dvdreadsrc(10081) dvdreadsrc.c(384):gst_dvd_read_src_goto_title:<source> Title 0 has 1 angles

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1144 ***
*** for vts_ptt_srpt->title[i].ptt[j].pgn != 0 ***

INFO  (0x552110 - 0:00:01.434239000)           dvdreadsrc(10081) dvdreadsrc.c(413):gst_dvd_read_src_goto_title:<source> Opened title 0, angle 0
INFO  (0x552110 - 0:00:01.434402000)           dvdreadsrc(10081) dvdreadsrc.c(446):gst_dvd_read_src_goto_title:<source> [00] Audio    00: lang='', format=0
INFO  (0x552110 - 0:00:01.434509000)           dvdreadsrc(10081) dvdreadsrc.c(464):gst_dvd_read_src_goto_title:<source> [00] Subtitle 00: lang='', format=0
Segmentation fault (core dumped)
Comment 5 Tim-Philipp Müller 2006-08-07 16:26:25 UTC
Fixed in CVS. Unfortunately, all we can do for now is error out properly:

 2006-08-07  Tim-Philipp Müller  <tim at centricular dot net>

       * ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_goto_title):
         Error out properly if this is an interactive DVD (fixes #345694).

(dvdnavsrc should be able to handle this DVD though at some point in the future when all the pieces to make it work properly in playbin/totem have been put into place and/or fixed).