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 359868 - [dvdreadsrc] crash in get_chapter_bounds() with Erin Brokovich DVD
[dvdreadsrc] crash in get_chapter_bounds() with Erin Brokovich DVD
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.4
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 564956 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-05 12:47 UTC by David Nielsen
Modified: 2009-09-10 07:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GST debug log (320.64 KB, text/plain)
2006-10-05 12:47 UTC, David Nielsen
Details
Backtrace (5.91 KB, text/plain)
2006-10-05 12:48 UTC, David Nielsen
Details

Description David Nielsen 2006-10-05 12:47:08 UTC
As requested by Tim Muller on the Thoggen list here follows a 100% reproducable crasher. 

1) insert Erin Brockovich DVD
2) forgive me for poor taste in movies
3) gst-launch-0.10 dvdreadsrc title=1 ! fakesink (or select the cropping dialog in Thoggen)
Comment 1 David Nielsen 2006-10-05 12:47:42 UTC
Created attachment 74051 [details]
GST debug log
Comment 2 David Nielsen 2006-10-05 12:48:17 UTC
Created attachment 74052 [details]
Backtrace
Comment 3 Tim-Philipp Müller 2006-10-05 13:29:46 UTC
Highlights from the log:

Title 1 has 30 chapters
Time: 2:05:52.000000000 (last time in index)

Chapter 01 starts at 0:00:00.000000000, dur = 0:03:40.000000000, cells 0-1
Chapter 02 starts at 0:03:40.000000000, dur = 0:03:38.000000000, cells 1-2
Chapter 03 starts at 0:07:18.000000000, dur = 0:03:23.000000000, cells 2-3
Chapter 04 starts at 0:10:41.000000000, dur = 0:01:11.000000000, cells 3-4
Chapter 05 starts at 0:11:52.000000000, dur = 0:03:53.000000000, cells 4-5
Chapter 06 starts at 0:15:45.000000000, dur = 0:02:30.000000000, cells 5-6
Chapter 07 starts at 0:18:15.000000000, dur = 0:07:17.000000000, cells 6-7
Chapter 08 starts at 0:25:32.000000000, dur = 0:02:18.000000000, cells 7-8
Chapter 09 starts at 0:27:50.000000000, dur = 0:04:00.000000000, cells 8-9
Chapter 10 starts at 0:31:50.000000000, dur = 0:03:04.000000000, cells 9-10
Chapter 11 starts at 0:34:54.000000000, dur = 0:02:47.000000000, cells 10-11
Chapter 12 starts at 0:37:41.000000000, dur = 0:03:21.000000000, cells 11-12
Chapter 13 starts at 0:41:02.000000000, dur = 0:04:51.000000000, cells 12-13
Chapter 14 starts at 0:45:53.000000000, dur = 0:09:20.000000000, cells 13-15 <==
Chapter 15 starts at 0:55:13.000000000, dur = 0:02:31.000000000, cells 15-16
Chapter 16 starts at 0:57:44.000000000, dur = 0:09:19.000000000, cells 16-17
Chapter 17 starts at 1:07:03.000000000, dur = 0:04:30.000000000, cells 17-18
Chapter 18 starts at 1:11:33.000000000, dur = 0:06:47.000000000, cells 18-19
Chapter 19 starts at 1:18:20.000000000, dur = 0:02:09.000000000, cells 19-20
Chapter 20 starts at 1:20:29.000000000, dur = 0:03:50.000000000, cells 20-22 <==
Chapter 21 starts at 1:24:19.000000000, dur = 0:02:28.000000000, cells 22-23
Chapter 22 starts at 1:26:47.000000000, dur = 0:07:38.000000000, cells 23-24
Chapter 23 starts at 1:34:25.000000000, dur = 0:04:48.000000000, cells 24-25
Chapter 24 starts at 1:39:13.000000000, dur = 0:03:01.000000000, cells 25-26
Chapter 25 starts at 1:42:14.000000000, dur = 0:05:06.000000000, cells 26-27
Chapter 26 starts at 1:47:20.000000000, dur = 0:07:33.000000000, cells 27-28
Chapter 27 starts at 1:54:53.000000000, dur = 0:05:43.000000000, cells 28-29
Chapter 28 starts at 2:00:36.000000000, dur = 0:00:00.000000000, cells 29--1 <==

Also note that title + chapter variables in stack trace are counted from 0, unlike the debug output where titles/chapters are counted from 1.
Comment 4 Tim-Philipp Müller 2006-10-18 11:45:26 UTC
Hrm, the 'title-info' utility which is part of libdvdread also seems to crash on this.

 *first_cell = pgc->program_map [ pgn - 1 ] - 1;

and pgn is 0 here.

Comment 5 Tim-Philipp Müller 2009-02-02 22:58:04 UTC
*** Bug 564956 has been marked as a duplicate of this bug. ***
Comment 6 Edward Hervey 2009-03-06 09:34:57 UTC
Is this bug still valid now that we have the resin plugin ?
Comment 7 Sebastian Dröge (slomo) 2009-09-10 07:34:36 UTC
Also according to comment #4 this also happens with a libdvdread utility and as such it seems to be a libdvdread bug.