[mythtv-commits] mythtv commit: r23575 by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Feb 20 18:06:30 UTC 2010

      Author: paulh
        Date: 2010-02-20 18:06:30 +0000 (Sat, 20 Feb 2010)
New Revision: 23575
   Changeset: http://svn.mythtv.org/trac/changeset/23575




Fix a problem with the new MythSignalingTimer consuming all memory and causing
both MythFrontend and MythWelcome to become unresponsive and eventually to be
killed by the OOM killer.

The problem is triggered when the main UI thread is stopped waiting for another
external process to finish, e.g. when using an external player or when starting
the FE from MythWelcome. Because the timer is run in its own thread it
continues to emit the timeout signals which just get queued up waiting to be

This patch just start/stops the timer when SetDrawEnabled(true/false) is
called and changes myth_system() to disable drawing when an external process is
running and re-enables it when it finishes.

More information about the mythtv-commits mailing list