[mythtv-users] Mythfrontend memory leak on master

Angela angela.schmid at wolke7.net
Wed Jun 4 22:24:46 UTC 2014


>> > This also happens on the latest 0.27-fixes, which I compiled for 5
hours.
>> > After 5 hours I have 1.5GB for mythfrontend.
>> > Just sitting on the menu, and every 2 minutes I have 1 MB more.
>> 
>> To be clear, I cannot reproduce this behavior.  For me, sitting on the
menu
>> after a reboot, memory usage is stable.

Sorry, false alarm, I had a crashed mythfrontend running. 

I have been experimenting with some new frontend code this morning, and now
I remember that I ran into some problem when restarting the frontend, I
noticed this weird situation for the first time. That's why I also had to
restart the backend as the newly started frontend would not connect. So
maybe the backend crashed before, leaving the frontend running (crashed). I
use initctl (start/stop/restart) which works normally just fine. 

Backend:
2014-06-04 04:47:31.080412 N [5764/5764] CoreContext main_helpers.cpp:706
(run_backend) - MythBackend exiting
2014-06-04 04:47:31.094233 E [5764/5764] CoreContext mythsocket.cpp:506
(DisconnectFromHost) - MythSocket(1017dd0:80): Programmer error, QEventLoop
isn't running and deleting MythSocket(0x1017dd0)
2014-06-04 04:47:31.094595 E [5764/5764] CoreContext mythsocket.cpp:506
(DisconnectFromHost) - MythSocket(102b5d0:83): Programmer error, QEventLoop
isn't running and deleting MythSocket(0x102b5d0)
2014-06-04 04:47:31.094819 E [5764/5764] CoreContext mythsocket.cpp:506
(DisconnectFromHost) - MythSocket(be51b0:78): Programmer error, QEventLoop
isn't running and deleting MythSocket(0xbe51b0)
2014-06-04 04:47:31.095139 E [5764/5764] CoreContext mythsocket.cpp:506
(DisconnectFromHost) - MythSocket(102baf0:85): Programmer error, QEventLoop
isn't running and deleting MythSocket(0x102baf0)

Here is the part of the newly started frontend
2014-06-04 04:47:31.599015 I [12563/18904] Reconnect mythcorecontext.cpp:423
(ConnectCommandSocket) - MythCoreContext: Connecting to backend server:
127.0.0.1:6543 (try 1 of 1)
2014-06-04 04:47:31.730058 E [12563/18905] MythSocketThread(-1)
mythsocket.cpp:798 (ReadStringListReal) - MythSocket(7f2e7c024f00:-1):
ReadStringList: Connection died.
2014-06-04 04:47:31.730093 C [12563/18904] Reconnect
mythcorecontext.cpp:1214 (CheckProtoVersion) - Protocol version check
failure.
                        The response to MYTH_PROTO_VERSION was empty.
                        This happens when the backend is too busy to
respond,
                        or has deadlocked due to bugs or hardware failure.

Angela



More information about the mythtv-users mailing list