[mythtv-commits] Ticket #11450: mythfrontend segfaults if you leave "Watch Videos" while downloading metadata
MythTV
noreply at mythtv.org
Mon Mar 11 08:37:44 UTC 2013
#11450: mythfrontend segfaults if you leave "Watch Videos" while downloading
metadata
-----------------------------+---------------------------------------------
Reporter: faginbagin | Type: Bug Report - Crash
<mythtv@…> | Priority: minor
Status: new | Component: MythTV - Mythmetadatalookup
Milestone: unknown | Severity: medium
Version: 0.26-fixes | Ticket locked: 0
Keywords: |
-----------------------------+---------------------------------------------
If you:
* have a large enough library of videos, perhaps ones that don't exist at
themoviedb.org, like home videos and test videos,
* and you don't have videometadata records for all or at least most of the
library,
* and you scan the library from within "Watch Videos",
* and then leave "Watch Videos" after the file system scan completes but
before all attempts to download metadata for the library have completed,
mythfrontend will dump core.
I believe it will dump core because VideoDialog is the parent of
MetadataFactory and MetadataFactory is the parent of MetadataDownload, and
when you leave "Watch Videos" while its trying to download metadata,
VideoDialog, MetadataFactory, and MetadataDownload are deleted, even
though MetadataDownload::runGrabber() is waiting for tmdb.py to complete.
When that command completes, it leads to a call to
MetadataFactory::customEvent() in the main event thread, which tries to
post a MetadataFactoryNoResult event to its deleted parent VideoDialog,
which causes the core dump.
Steps to reproduce:
* Truncate videometadata table using your favorite database management
tool.
* In mythfrontend, go to Media Library -> Watch Videos
* Say OK when prompted to scan your video directories.
* Press ESC as soon as progress box disappears.
Within a few seconds, mythfrontend should vanish.
mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.26.0-112-g77259c5
MythTV Branch : fixes/0.26
Network Protocol : 75
Library API : 0.26.20130225-1
QT Version : 4.8.3
Options compiled in:
linux profile use_hidesyms using_alsa using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl using_bindings_python
using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv
using_joystick_menu using_libcec using_libcrypto using_libdns_sd
using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit
using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv
using_bindings_perl using_bindings_python using_bindings_php
using_mythtranscode using_opengl using_vaapi using_vdpau
using_ffmpeg_threads using_live using_mheg using_libass using_libxml2
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11450>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list