[mythtv-users] MythTV frontend crashing

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Feb 3 13:15:49 UTC 2025


On Mon, 3 Feb 2025 20:20:07 +0800, you wrote:

>Issue #2
>
>Last week I installed Ubuntu 24.04.1 (updated to current) and the latest
>MythTV 34 fixes in a newly formatted partition on my Mythbox which is
>otherwise running Ubuntu 22.04.5 with the latest MythTV 34 fixes.
>
>While MythTV works fine as expected, I've noticed that the frontend crashes
>some time after I've stopped watching a show. I don't notice the crash
>because I've either switched off the TV or watching some other TV app. Note
>that it's a relatively minor annoyance because it has never happened during
>a show. The frontend never crashed under Ubuntu 22.04.
>
>Here is a typical snippet from the frontend log:
>
>2025-02-02T21:05:17.832114+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext tv_play.cpp:2187 (HandleStateChange)
>TV::HandleStateChange(): Changing from WatchingVideo to None
>2025-02-02T21:05:17.832211+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext tv_play.cpp:358 (StartTV) TV::StartTV():
>Exiting main playback loop.
>2025-02-02T21:05:17.832253+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythcommandlineparser.cpp:2923
>(operator()) Qt: Wayland does not support QWindow::requestActivate()
>2025-02-02T22:46:20.707332+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythcommandlineparser.cpp:2923
>(operator()) Qt: Creating a fake screen in order for Qt not to crash
>2025-02-02T22:46:20.707358+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:517 (DebugScreen)
>Display: New screen '' (Make: Unknown Model: Unknown)
>2025-02-02T22:46:20.707375+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:519 (DebugScreen)
>Display: Qt screen pixel ratio: 1.00
>2025-02-02T22:46:20.707390+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:521 (DebugScreen)
>Display: Geometry: 0x0+0+0 Size(Qt): 0mmx0mm
>2025-02-02T22:46:20.707406+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:528 (DebugScreen)
>Display: Total virtual geometry: 3840x2160+0+0
>2025-02-02T22:46:20.707421+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:517 (DebugScreen)
>Display: New primary screen '' (Make: Unknown Model: Unknown)
>2025-02-02T22:46:20.707436+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:519 (DebugScreen)
>Display: Qt screen pixel ratio: 1.00
>2025-02-02T22:46:20.707451+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:521 (DebugScreen)
>Display: Geometry: 0x0+0+0 Size(Qt): 0mmx0mm
>2025-02-02T22:46:20.707466+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:457 (ScreenRemoved)
>Display: Screen 'HDMI-1' removed
>2025-02-02T22:46:20.707481+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:517 (DebugScreen)
>Display: Changed to screen '' (Make: Unknown Model: Unknown)
>2025-02-02T22:46:20.707497+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:519 (DebugScreen)
>Display: Qt screen pixel ratio: 1.00
>2025-02-02T22:46:20.707510+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythdisplay.cpp:521 (DebugScreen)
>Display: Geometry: 0x0+0+0 Size(Qt): 0mmx0mm
>2025-02-02T22:46:20.707524+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext bonjourregister.cpp:32
>(~BonjourRegister) Bonjour: De-registering service '_http._tcp.' on
>'mythfrontend on zebola'
>2025-02-02T22:46:20.797972+08:00 zebola mythfrontend.real:
>mythfrontend[14846]: I CoreContext mythudplistener.cpp:51 (DoEnable)
>UDPListener: Disabling
>
>Then the crash... There's nothing seemly unusual in the backed log at this
>time:
>
>2025-02-02T22:46:20.919693+08:00 zebola mythbackend: mythbackend[2369]: I
>MythSocketThread(61) mainserver.cpp:7902 (connectionClosed) Monitor
>sock(556fd1fb24f0) 'zebola' disconnected
>2025-02-02T22:46:20.919938+08:00 zebola mythbackend: mythbackend[2369]: I
>MythSocketThread(83) backendcontext.cpp:105 (SetFrontendDisconnected)
>BackendContext: Frontend 'zebola' disconnected.
>2025-02-02T22:46:20.920003+08:00 zebola mythbackend: mythbackend[2369]: I
>MythSocketThread(83) mainserver.cpp:7902 (connectionClosed) Playback
>sock(556fd1fb22c0) 'zebola' disconnected
>
>Any ideas on how to fix this?
>
>Thanks,
>Justin.

You are running on Wayland rather than X11.  In the past, to make
mythfrontend work properly with Wayland, you had to add a command line
option to mythfrontend:

-platform xcb

I do not use Wayland (I swap Ubuntu back to X11), so I have never
tried this.  As well, the devs have been fixing Wayland problems, so I
do not know if the xcb option is still required.  But it is worth
trying.



More information about the mythtv-users mailing list