Opened 13 years ago
Closed 13 years ago
Last modified 13 years ago
#10718 closed Bug Report - Crash (fixed)
SEGV: mythfrontend -v help
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25.1 |
Component: | MythTV - MythSystem | Version: | 0.25-fixes |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
While investigating why ThemeChooses? doesn't download the selected theme, I noticed that the frontend crashed when I run it from the commandline with the "-v help" argument. It looks like the cleanup tries to destory the GUI, which isn't created when querying the debug level / channel information.
$ gdb -q --args mythfrontend -v help Program received signal SIGSEGV, Segmentation fault. MythCoreContext::SetGUIObject (this=0x0, gui=0x0) at mythcorecontext.cpp:1211 1211 d->m_GUIobject = gui; (gdb) bt #0 MythCoreContext::SetGUIObject (this=0x0, gui=0x0) at mythcorecontext.cpp:1211 #1 0x00007ffff54c2b55 in MythMainWindow::destroyMainWindow () at mythmainwindow.cpp:345 #2 0x000000000043b560 in (anonymous namespace)::cleanup () at main.cpp:255 #3 0x00000000004334a8 in ~CleanupGuard? (this=<synthetic pointer>, in_chrg=<optimized out>) at main.cpp:278 #4 main (argc=3, argv=<optimized out>) at main.cpp:1778
Since the output is otherwise fine, this is only a minor inconvinience. This happens on Debian sid amd64 self-compiled with v0.25-9-gefada3f and still with v0.25-86-g50e9b0f
In 922a9caa85a82d09958466fe7c1ac8509e33a421/mythtv: