Opened 16 years ago

Closed 16 years ago

#6717 closed defect (fixed)

segfault when playing dvd iso's

Reported by: buehlmann@… Owned by: Janne Grunau
Priority: minor Milestone: 0.22
Component: MythTV - DVD Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

i get a segfault when selecting "play movie" on multiple dvd iso's menu. this is the backtrace:

#0 0x00007f0c5dfef431 in memcpy () from /lib/libc.so.6 #1 0x00007f0c65069c89 in av_read_frame_internal (s=0x388fc40, pkt=0x6d15620)

at utils.c:1038

#2 0x00007f0c6506a225 in av_read_frame (s=0x388fc40, pkt=0x6d15620)

at utils.c:1138

#3 0x00007f0c65ab4767 in AvFormatDecoder::GetFrame (this=0x439ffa0,

onlyvideo=0) at avformatdecoder.cpp:3368

#4 0x00007f0c65a4c700 in NuppelVideoPlayer::GetFrameNormal (this=0x32e1220,

onlyvideo=0) at NuppelVideoPlayer.cpp:1522

#5 0x00007f0c65a4d20a in NuppelVideoPlayer::GetFrame (this=0x32e1220,

onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:1610

#6 0x00007f0c65a605ca in NuppelVideoPlayer::StartPlaying (this=0x32e1220,

openfile=false) at NuppelVideoPlayer.cpp:3809

#7 0x00007f0c65a7bd82 in SpawnDecode (param=0x32e1220) at playercontext.cpp:26 #8 0x00007f0c5ec53087 in start_thread () from /lib/libpthread.so.0 #9 0x00007f0c5e03b77d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? ()

Attachments (1)

dvdcrash.log (74.1 KB ) - added by markk 16 years ago.
Full bt and associated playback log

Download all attachments as: .zip

Change History (8)

comment:1 by tim@…, 16 years ago

I get something similar also, so I reverted to trunk r20796 (pre ffmpeg merge) and it went away. I can get a backtrace, but not in the next few days.

comment:2 by Janne Grunau, 16 years ago

Status: newinfoneeded_new

please attach a full bt according to http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2

examples which DVDs are failing might also be useful

by markk, 16 years ago

Attachment: dvdcrash.log added

Full bt and associated playback log

comment:3 by anonymous, 16 years ago

Janne - I've attached a full bt of one offending disc. This is fairly widespread for me following the ffmpeg sync and consistent - i.e. happens in the same places 100% of the time.

In case it's not clear from the log, it's triggered by a stream change.

comment:4 by stuartm, 16 years ago

Milestone: unknown0.22
Status: infoneeded_newnew

comment:5 by stuartm, 16 years ago

Owner: changed from skamithi to Janne Grunau
Status: newassigned

comment:6 by tim@…, 16 years ago

I have a backtrace now but on inspection it's identical to the one attached so there doesn't seem to be much point attaching it. The only difference is I'm on an x86_64 box.

This segfault happens on almost all my DVD ISOs when playing them, and I've verified that it happens on the DVDs themselves. The lone exception seems to be Final Fantasy VII Advent Children.

comment:7 by Janne Grunau, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [21029]) return -1 in av_read_packet if the stream index is stale

Fixes segfault during DVD playback after audio stream change in av_read_frame_internal. Fixes #6717

Note: See TracTickets for help on using tickets.