GNOME Bugzilla – Bug 359868
[dvdreadsrc] crash in get_chapter_bounds() with Erin Brokovich DVD
Last modified: 2009-09-10 07:34:36 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)
Created attachment 74051 [details] GST debug log
Created attachment 74052 [details] Backtrace
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.
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.
*** Bug 564956 has been marked as a duplicate of this bug. ***
Is this bug still valid now that we have the resin plugin ?
Also according to comment #4 this also happens with a libdvdread utility and as such it seems to be a libdvdread bug.