Opened 19 years ago

Closed 19 years ago

Last modified 19 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@… 19 years ago.
gdb trace file
3685-v1.patch (544 bytes ) - added by danielk 19 years ago.
Probable fix for crash
fe-v_playback.log (19.1 KB ) - added by anonymous 19 years ago.
fe-NO_SHM-v_playback.log (13.5 KB ) - added by anonymous 19 years ago.

Download all attachments as: .zip

Change History (10)

by mythtv@…, 19 years ago

Attachment: gdb.txt added

gdb trace file

comment:1 by danielk, 19 years ago

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

in reply to:  description comment:2 by anonymous, 19 years ago

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

by danielk, 19 years ago

Attachment: 3685-v1.patch added

Probable fix for crash

comment:3 by danielk, 19 years ago

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.

by anonymous, 19 years ago

Attachment: fe-v_playback.log added

by anonymous, 19 years ago

Attachment: fe-NO_SHM-v_playback.log added

in reply to:  3 comment:4 by anonymous, 19 years ago

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 by danielk, 19 years ago

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 by danielk, 19 years ago

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.