Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#3685 closed defect (fixed)

mythfrontend crashing when initializing to watch a recording in Xvnc

Reported by: anonymous Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords: vnc, crash
Cc: mythtv@… Ticket locked: no

Description

mythfrontend crashing when initializing to watch a recording in Xvnc

watch recordings screen is OK (shows a list of recordings and *does run a preview* in small preview area)

BUT when you select a recording to watch, mythfrontend crashes at: VideoOutputXv::CreateBuffers? (this=0x82b1b60, subtype=XShm) at videoout_xv.cpp:1711 (see attached gdb.txt in case i got this wrong)

Attachments (4)

gdb.txt (24.3 KB) - added by mythtv@… 17 years ago.
gdb trace file
3685-v1.patch (544 bytes) - added by danielk 17 years ago.
Probable fix for crash
fe-v_playback.log (19.1 KB) - added by anonymous 17 years ago.
fe-NO_SHM-v_playback.log (13.5 KB) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (10)

Changed 17 years ago by mythtv@…

Attachment: gdb.txt added

gdb trace file

comment:1 Changed 17 years ago by danielk

Cc: danielk@… removed
Owner: changed from Isaac Richards to danielk

comment:2 in reply to:  description Changed 17 years ago by anonymous

a bit of additional info (environment, versions and cmd lines) in thread @ http://mythtv.org/pipermail/mythtv-dev/2007-June/056093.html

Changed 17 years ago by danielk

Attachment: 3685-v1.patch added

Probable fix for crash

comment:3 Changed 17 years ago by danielk

mman, can you try the patch for me? It should bail out gracefully without crashing.

I would like to diagnose the problem further but I need a couple logs from after you install a MythTV compiled with 3685-v1.patch applied.

"mythfrontend -v playback" when playing the same recording.

"NO_SHM="true" mythfrontend -v playback" when playing the same recording.

Changed 17 years ago by anonymous

Attachment: fe-v_playback.log added

Changed 17 years ago by anonymous

Attachment: fe-NO_SHM-v_playback.log added

comment:4 in reply to:  3 Changed 17 years ago by anonymous

hi Daniel, i've attached the two log files (and then i forgot to write this reply until now). thanks for looking into this! (i've tried to see if i could understand the video output programming, but even after an hour, i still have no clue how these video buffers and stuff works)

comment:5 Changed 17 years ago by danielk

Resolution: fixed
Status: newclosed

(In [13799]) Fixes #3685. Fixes segfault when VideoOutputXv::CreateShmImages? fails for the XShm playback method.

mythfrontend video playback still doesn't work under Xvnc, but this allows MythTV to recover more gracefully.

comment:6 Changed 17 years ago by danielk

I do not know why XCreateImage is also failing, this hasn't changed in any significant way since 0.19. It also deserves it's own ticket..

Note: See TracTickets for help on using tickets.