[mythtv-users] mythfrontend core dumps after upgrade to Ubuntu 24.04

Alain mythuser at abrossard.ch
Wed Dec 31 16:27:08 UTC 2025


On 12/22/25 18:46, Alain wrote:
>
> Hi / Help,
>
>    I've been waiting a very long time before daring to upgrade the OS. 
> I've now upgraded from Ubuntu 20.04 to 22.04 (no checks of Mythtv) 
> then upgrade to Ubuntu 24.04. The mythconverg DB was correctly 
> upgraded as my old mythfrontend on a separate PC now complains about 
> mis-match DB versions (1361 (31.20200101-1) vs 1379).
>
>    Now mythfrontend core dumps.
>
> mythfrontend --version
> Please attach all output as a file in bug reports.
> MythTV Version : v34.0+fixes.20240210.e3e165a1-0ubuntu6
> MythTV Branch : fixes/34
> Network Protocol : 91
> Library API : 34.20220913-1
> QT Version : 5.15.12
> Options compiled in:
>  linux profile use_hidesyms using_alsa using_oss using_pulse 
> using_pulseoutput using_backend using_bindings_perl 
> using_bindings_python using_bindings_php using_dvb using_firewire 
> using_frontend using_hdhomerun using_satip using_vbox using_ceton 
> using_joystick_menu using_libcec using_libcrypto using_gnutls 
> using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl 
> using_egl using_qtwebkit using_qtscript using_qtdbus using_taglib 
> using_v4l2 using_v4l2prime using_x11 using_system_libbluray 
> using_system_libudfread using_systemd_notify using_systemd_journal 
> using_drm using_bindings_perl using_bindings_python using_bindings_php 
> using_freetype2 using_mythtranscode using_opengl using_egl using_drm 
> using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg 
> using_libass using_libxml2 using_libmp3lame
>
> I've renamed .mythtv directory to get a fresh start, I tried 
> mythfrontend --reset
>
> I've done "|ubuntu-drivers autoinstall" to get the latests nvidia 
> driver in place. I'm not getting any obvious errors from mythtv-backend.|
>
> |  But all attempts to start mythfrontend fails. It always ends with :|
>
> |2025-12-22 18:22:21.567976 I  VDPAUHelp: HEVC Rext (Max size: 8192x8192)
> Handling Segmentation fault
>    or with -v -v -v --loglevel debug|
>
> |2025-12-22 18:10:47.668658 I  VDPAUHelp: HEVC Rext (Max size: 8192x8192)
> 2025-12-22 18:10:47.790475 D  PortChecker::checkPort(): socket state 2
> 2025-12-22 18:10:48.290616 D  PortChecker::checkPort(): socket state 3
> 2025-12-22 18:10:48.291028 D  PortChecker::checkPort(): host 
> 192.168.10.30 port 1990 timeLimit 5000 linkLocalOnly 0
> |
>
> |    This last line with a bogus IP address only occured in one run 
> and I've never seen it again. THis IP doesn't exist anywhere on my 
> network/DNS/etc/hosts or even within the mariaDB dump.|
>
> |    A backtrace gave me this :|
>
> |2025-12-22 17:54:48.373438 I MythCoreContext::ConnectCommandSocket(): 
> Connecting to backend server: 192.168.10.26:6543 (try 1 of 1)
> 2025-12-22 17:54:48.374312 I MythCoreContext::CheckProtoVersion(): 
> Using protocol version 91 BuzzOff
> [New Thread 0x7ffee08576c0 (LWP 10447)]
> [Thread 0x7ffee08576c0 (LWP 10447) exited]
> Thread 1 "mythfrontend.re" received signal SIGSEGV, Segmentation fault.
> 0x00007fffef9e9364 in XDisplayString () from 
> /lib/x86_64-linux-gnu/libX11.so.6
> (gdb) bt
> #0  0x00007fffef9e9364 in XDisplayString () at 
> /lib/x86_64-linux-gnu/libX11.so.6
> #1  0x00007ffef8405f05 in __vaDriverInit_1_0 () at 
> /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
> #2  0x00007fffef98e873 in vaInitialize () at 
> /lib/x86_64-linux-gnu/libva.so.2
> #3  0x00007ffff05c21ea in ??? () at /lib/libmythavutil.so.57
> #4  0x00007ffff05bc501 in av_hwdevice_ctx_create () at 
> /lib/libmythavutil.so.57
> #5  0x00007ffff796ec6f in 
> MythCodecContext::CreateDevice(AVHWDeviceType, MythInteropGPU*, 
> QString const&) () at /lib/libmythtv-34.so.34
> #6  0x00007ffff79e5051 in MythVAAPIContext::HaveVAAPI(bool) () at 
> /lib/libmythtv-34.so.34
> #7  0x00007ffff7970392 in 
> MythCodecContext::GetDecoders(RenderOptions&, bool) () at 
> /lib/libmythtv-34.so.34
> #8  0x00007ffff79ba955 in MythVideoProfile::InitStatics(bool) () at 
> /lib/libmythtv-34.so.34
> #9  0x00007ffff270ce16 in ??? () at /lib/x86_64-linux-gnu/libQt5Core.so.5
> #10 0x00007ffff6d012a9 in MythMainWindow::Init(bool) () at 
> /lib/libmythui-34.so.34
> #11 0x00005555555f3575 in ??? ()
> ...|
>
> |   I'm including the full ouptput from running mythfrontend with and 
> without gdb.  I tried using different options, but the results were 
> always a core dump.|
>
> |   In the mythbackend log file, I only saw the following lines :|
>
> |2025-12-22T18:09:52.859931+01:00 mytv mythbackend: 
> mythbackend[11568]: I MythSocketThread(9) mainserver.cpp:7955 
> (connectionClosed) Control sock(624bfbf7ce70) disconnected
> 2025-12-22T18:09:53.460259+01:00 mytv mythbackend: mythbackend[11568]: 
> I ProcessRequest mainserver.cpp:1815 (HandleAnnounce) MainServer: 
> MainServer::ANN Frontend
> 2025-12-22T18:09:53.460347+01:00 mytv mythbackend: mythbackend[11568]: 
> I ProcessRequest mainserver.cpp:1817 (HandleAnnounce) MainServer: 
> adding: mytv(624bfc0132d0) as a client (events: 0)
> 2025-12-22T18:09:53.460402+01:00 mytv mythbackend: mythbackend[11568]: 
> I ProcessRequest backendcontext.cpp:57 (SetFrontendConnected) 
> BackendContext: Frontend 'mytv' connected.
> 2025-12-22T18:09:53.460463+01:00 mytv mythbackend: mythbackend[11568]: 
> I ProcessRequest mainserver.cpp:1815 (HandleAnnounce) MainServer: 
> MainServer::ANN Monitor
> 2025-12-22T18:09:53.460510+01:00 mytv mythbackend: mythbackend[11568]: 
> I ProcessRequest mainserver.cpp:1817 (HandleAnnounce) MainServer: 
> adding: mytv(624bfc014d90) as a client (events: 1)
> 2025-12-22T18:09:55.664999+01:00 mytv mythbackend: mythbackend[11568]: 
> I MythSocketThread(72) backendcontext.cpp:105 
> (SetFrontendDisconnected) BackendContext: Frontend 'mytv' disconnected.
> 2025-12-22T18:09:55.665103+01:00 mytv mythbackend: mythbackend[11568]: 
> I MythSocketThread(72) mainserver.cpp:7902 (connectionClosed) Playback 
> sock(624bfc0132d0) 'mytv' disconnected
> 2025-12-22T18:09:55.665137+01:00 mytv mythbackend: mythbackend[11568]: 
> I MythSocketThread(71) mainserver.cpp:7902 (connectionClosed) Monitor 
> sock(624bfc014d90) 'mytv' disconnected
> |
>
> |    No error here that I can see. |
>
> Any ideas on how to investigate this issue ?
>
>
> REgards,
>
> Alain Brossard
>

As I haven't had any replies, I've gone ahead downloaded fixes/35 and 
did a fresh compile.  Regretfully, I got once more a core dump from 
mythfrontend.

mytv[6] mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version : v35.0-46-g15866e231e
MythTV Branch : fixes/35
Network Protocol : 91
Library API : 35.20220913-1
QT Version : 5.15.13
Options compiled in:
  linux profile use_hidesyms using_alsa using_oss using_pulse 
using_pulseoutput using_backend using_bindings_perl 
using_bindings_python using_bindings_php using_dvb using_firewire 
using_frontend using_hdhomerun using_satip using_vbox using_ceton 
using_joystick_menu using_libcrypto using_gnutls using_libdns_sd 
using_libxml2 using_lirc using_mheg using_opengl using_egl 
using_qtwebkit using_qtscript using_qtdbus using_sqlite3 using_taglib 
using_v4l2 using_v4l2prime using_x11 using_system_libbluray 
using_system_libudfread using_systemd_notify using_systemd_journal 
using_drm using_bindings_perl using_bindings_python using_bindings_php 
using_freetype2 using_mythtranscode using_opengl using_egl using_drm 
using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg 
using_libass using_libxml2 using_libmp3lame

mytv[4] which mythfrontend
/opt/local/bin/mythfrontend
mytv[5] ,$
mythfrontend
2025-12-31 17:08:59.234745 I  Display: Not requesting EGL for vendor 
'NVIDIA, 1.5'
2025-12-31 17:08:59.956178 I  Setup Interrupt handler
2025-12-31 17:08:59.956182 I  Setup Terminated handler
2025-12-31 17:08:59.956185 I  Setup Segmentation fault handler
2025-12-31 17:08:59.956187 I  Setup Aborted handler
2025-12-31 17:08:59.956189 I  Setup Floating point exception handler
2025-12-31 17:08:59.956192 I  Setup Illegal instruction handler
2025-12-31 17:08:59.956194 I  Setup Bus error handler
2025-12-31 17:08:59.956209 I  Setup Real-time signal 0 handler
2025-12-31 17:08:59.956212 I  Setup Hangup handler
2025-12-31 17:08:59.956214 I  Setup User defined signal 1 handler
2025-12-31 17:08:59.956216 I  Setup User defined signal 2 handler
2025-12-31 17:08:59.956425 C  mythfrontend version: fixes/35 
[v35.0-46-g15866e231e] www.mythtv.org
2025-12-31 17:08:59.956428 C  Qt version: compile: 5.15.13, runtime: 5.15.13
2025-12-31 17:08:59.956482 I  Ubuntu 24.04.3 LTS (x86_64)
2025-12-31 17:08:59.956483 N  Enabled verbose msgs:  general
2025-12-31 17:08:59.956491 N  Setting Log Level to LOG_INFO
2025-12-31 17:08:59.966899 I  Added logging to the console
2025-12-31 17:08:59.966967 N  Using runtime prefix = /opt/local
2025-12-31 17:08:59.966986 N  Using configuration directory = 
/home/alain/.mythtv
2025-12-31 17:08:59.967191 I  Assumed character encoding: en_US.UTF-8
2025-12-31 17:08:59.968463 I  Loading en_us translation for module 
mythfrontend
2025-12-31 17:08:59.968832 I  Empty LocalHostName. This is typical.
2025-12-31 17:08:59.968840 I  Using a profile name of: 'mytv' (Usually 
the same as this host's name.)
2025-12-31 17:08:59.969240 I  Start up testing connections. DB 
localhost, BE , attempt 0, status dbAwake, Delay: 2000
2025-12-31 17:09:01.479369 N  Setting QT default locale to en_US
2025-12-31 17:09:01.479375 I  Current locale en_US
2025-12-31 17:09:01.479426 N  Reading locale defaults from 
/opt/local/share/mythtv//locales/en_us.xml
2025-12-31 17:09:01.483847 W  ThemeHelper: No theme dir: 
'/opt/local/share/mythtv/themes/Mythbuntu'
2025-12-31 17:09:01.483863 E  ThemeHelper: Could not find theme: 
Mythbuntu - Switching to MythCenter-wide
2025-12-31 17:09:01.496526 I  PowerDBus: Failed to delay sleep,shutdown: 
Permission denied
2025-12-31 17:09:01.528995 I  Power: On AC power
2025-12-31 17:09:01.528999 I  Power: Supported actions: None
2025-12-31 17:09:01.532760 I  Listening on TCP 0.0.0.0:6551
2025-12-31 17:09:01.533029 I  Listening on TCP [::]:6551
2025-12-31 17:09:01.642813 I  Loading en_us translation for module 
mythfrontend
2025-12-31 17:09:01.643051 W  ThemeHelper: No theme dir: 
'/opt/local/share/mythtv/themes/Mythbuntu'
2025-12-31 17:09:01.643058 E  ThemeHelper: Could not find theme: 
Mythbuntu - Switching to MythCenter-wide
2025-12-31 17:09:01.644991 I  Display: Found screen 'HDMI-0'
2025-12-31 17:09:01.645011 I  Display: Using screen 'HDMI-0' (Make: 
Philips Consumer Electronics Company Model: PHL 498P9-)
2025-12-31 17:09:01.645020 I  Display: Qt screen pixel ratio: 1.00
2025-12-31 17:09:01.645030 I  Display: Geometry: 5120x1440+0+0 Size(Qt): 
1mmx1mm
2025-12-31 17:09:01.816767 W  EDID: Chromaticity mismatch!
2025-12-31 17:09:02.298817 I  VRR: No variable refresh rate support detected
2025-12-31 17:09:02.298864 N  Display: Desktop video mode: 5120x1440 
70.303Hz
2025-12-31 17:09:02.298882 N  Display: Display is using sRGB colourspace
2025-12-31 17:09:02.298906 N  Display: Supported HDR formats: None
2025-12-31 17:09:02.302742 I  InputHandler: Starting
2025-12-31 17:09:02.302981 E  LIRC: Failed to connect to Unix socket 
'/dev/lircd'
             eno: No such file or directory (2)
2025-12-31 17:09:02.303012 I  No joystick configuration found, not 
enabling joystick control
2025-12-31 17:09:02.303254 I  UDPListener: Enabling
2025-12-31 17:09:02.304184 I  Binding to UDP 0.0.0.0:6948
2025-12-31 17:09:02.304216 I  Binding to UDP [::]:6948
2025-12-31 17:09:02.358832 I  Starting process signal handler
2025-12-31 17:09:02.358840 I  Starting process manager
2025-12-31 17:09:02.358872 I  Starting IO manager (read)
2025-12-31 17:09:02.358993 I  Starting IO manager (write)
2025-12-31 17:09:02.538878 I  ScreenSaverX11: DPMS is active.
2025-12-31 17:09:02.558367 I  Using Frameless Window
2025-12-31 17:09:02.558369 I  Using Full Screen Window
2025-12-31 17:09:02.867454 I  Display: Have main widget
2025-12-31 17:09:02.867457 I  Display: Have main window
2025-12-31 17:09:02.867470 I  Display: Found screen 'HDMI-0'
2025-12-31 17:09:02.882654 I  UIBounds: New UI bounds: 5120x1440+0+0
2025-12-31 17:09:03.056833 W  OpenGL: OpenGL is disabled for Remote X 
Session
2025-12-31 17:09:03.056838 E  GLPaintWin: Failed to create MythRenderOpenGL
2025-12-31 17:09:03.057004 I  Using the Qt painter. Video playback will 
not work!
2025-12-31 17:09:03.057070 W  Warning: No GPU acceleration
2025-12-31 17:09:03.102282 E  UICache: Removing stale cache dir: 
/home/alain/.mythtv/cache/themecache/alain.3840.2160
2025-12-31 17:09:03.126141 I  UICache: Pruning cache directory: 
/home/alain/.mythtv/cache/remotecache
2025-12-31 17:09:03.127254 I  UICache: Kept 69 files, deleted 0 files, 
stat error on 0 files
2025-12-31 17:09:03.127263 I  UICache: Pruning cache directory: 
/home/alain/.mythtv/cache/thumbnails
2025-12-31 17:09:03.128427 I  UICache: Kept 45 files, deleted 0 files, 
stat error on 0 files
2025-12-31 17:09:03.156552 I MythCoreContext::ConnectCommandSocket(): 
Connecting to backend server: 192.168.10.26:6543 (try 1 of 1)
2025-12-31 17:09:03.157387 I MythCoreContext::CheckProtoVersion(): Using 
protocol version 91 BuzzOff
2025-12-31 17:09:03.175164 I  VideoProfile: Resetting decoder/render support
2025-12-31 17:09:03.466809 I  VDPAUHelp: VDPAU is NOT available
Handling Segmentation fault
Segmentation fault (core dumped)

Regards,

Alain Brossard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20251231/b05b6d39/attachment.htm>


More information about the mythtv-users mailing list