Opened 22 months ago
Closed 22 months ago
Last modified 22 months ago
SEGV: mythfrontend -v help
|Reported by:||pmhahn@…||Owned by:||beirdo|
|Component:||MythTV - MythSystem||Version:||0.25-fixes|
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;
#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