[mythtv-commits] Ticket #13228: Miscellaneous Android fixes and improvements

MythTV noreply at mythtv.org
Tue Feb 27 16:08:52 UTC 2018


#13228: Miscellaneous Android fixes and improvements
-----------------------------+-----------------------------
 Reporter:  pbennett         |          Owner:  pbennett
     Type:  Developer Task   |         Status:  new
 Priority:  minor            |      Milestone:  30.0
Component:  Ports - Android  |        Version:  Master Head
 Severity:  medium           |     Resolution:
 Keywords:                   |  Ticket locked:  0
-----------------------------+-----------------------------

Comment (by pbennett):

 == Exit from frontend causes a SEGFAULT ==
 The destructor for the main window hits a segfault due to a null pointer,
 many levels deep in the destructor of QWidget. The destructor is not
 called twice. I cannot find a solution, so the workaround for now is
 bypass that on Android. This leaves a memory leak which is preferable to a
 Seg Fault. Note that even with bypassing the destructor, the Android log
 still contains messages about the window having died. See attached patch
 for the workaround (20180227_1059_android_segfault_workaround.patch). Next
 step in fixing this is to implement the correct Android method of closing
 an application, which may avoid the problem.

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


More information about the mythtv-commits mailing list