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)
Change History (10)
comment:1 by , 19 years ago
| Cc: | removed |
|---|---|
| Owner: | changed from to |
comment:2 by , 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
follow-up: 4 comment:3 by , 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 , 19 years ago
| Attachment: | fe-v_playback.log added |
|---|
by , 19 years ago
| Attachment: | fe-NO_SHM-v_playback.log added |
|---|
comment:4 by , 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 , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
(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 , 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..

gdb trace file