Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10718 closed Bug Report - Crash (fixed)

SEGV: mythfrontend -v help

Reported by: pmhahn@… 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

Change History (3)

comment:1 Changed 12 years ago by Gavin Hurlbut <ghurlbut@…>

Resolution: fixed
Status: newclosed

In 922a9caa85a82d09958466fe7c1ac8509e33a421/mythtv:

Fix destroyMainWindow when gCoreContext is not created yet

Fixes #10718

comment:2 Changed 12 years ago by beirdo

Milestone: unknown0.25.1

comment:3 Changed 12 years ago by Gavin Hurlbut <ghurlbut@…>

In 6c905d24176467e13994be85304c4334e2e331d5/mythtv:

Fix destroyMainWindow when gCoreContext is not created yet

Fixes #10718
(cherry picked from commit 922a9caa85a82d09958466fe7c1ac8509e33a421)

Note: See TracTickets for help on using tickets.