[mythtv-commits] Ticket #13239: Android seg fault when changing certain settings

MythTV noreply at mythtv.org
Mon Jul 23 20:06:24 UTC 2018

#13239: Android seg fault when changing certain settings
 Reporter:  Peter Bennett       |          Owner:  Peter Bennett
     Type:  Bug Report - Crash  |         Status:  accepted
 Priority:  minor               |      Milestone:  needs_triage
Component:  Ports - Android     |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:                      |  Ticket locked:  0

Comment (by Peter Bennett):


 The seg fault is in QWindow::isVisible many levels deep in code that
 orignates from QT event loop. The back trace gives no information as to
 which routine posted the message that is causing the fault. Presumably
 android does allow the main window to be destroyed and a new one created.

 This patch changes the code to restart mythfrontend instead of recreating
 the main window. This applies to Setup Appearance changes.

 In the case of the initial window that comes up if you  have never
 connected this android device (TempWindow in MythContext), we simply keep
 the window instead of destroying and recreating.

Ticket URL: <https://code.mythtv.org/trac/ticket/13239#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list