Opened 11 years ago

Closed 11 years ago

#7510 closed defect (fixed)

mythvideo segfault (Possibly leaving a dir before screenshot is downloaded?)

Reported by: Damian O'Sullivan <damian@…> Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no


Sorry I can't provide better summary. I think the following is what caused it. The following is in Gallery view.

I started a meta download for a TV episode. The coverart appeared after a few seconds so I assumed there was no screenshot. I backed up a couple of directorys. Left the room and came back and myth had segfaulted. The logs show that the screenshot had downloaded before it crashed so I think it may be that I had left the directory it was trying to display the screenshot it. My theme shows screenshot for a video if it exists.

BT attached.

damian@mythtv-box:~$ mythfrontend --version Please include all output in bug reports. MythTV Version : 22750M MythTV Branch : trunk Network Protocol : 50 Library API : 0.22.20091103-1 QT Version : 4.5.0 Options compiled in:

linux debug silent using_oss using_alsa using_jack using_backend using_directfb using_dvb using_firewire using_frontend using_hdpvr using_ivtv using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_mheg

Attachments (1)

gdb.txt (23.0 KB) - added by Damian O'Sullivan <damian@…> 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Damian O'Sullivan <damian@…>

Attachment: gdb.txt added

comment:1 Changed 11 years ago by Damian O'Sullivan <damian@…>

Just to test my theory I tried a few more times. If I did not change directory until screenshot had downloaded there was no problem. If I did myth would segfault. I guess the buttontree is becoming invalid as soon as I change directory?

comment:2 Changed 11 years ago by robertm

Resolution: fixed
Status: newclosed

(In [22815]) Fixes #7510. Reverts r22723. I have a better way of handling what I was initially trying to do that will prevent segfaults and be much cleaner.

Note: See TracTickets for help on using tickets.