[Solved] Testing Master 31pre on a ION core dumps all the time

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

[Solved] Testing Master 31pre on a ION core dumps all the time

Post by beppo »

Hi and merry Christmas to all of you!

Chrismas season is testing season, so I try out the latest master(22.12.2019) on my systems, it seems to work great on intel based frontends like:
Intel Pentium Silver J5005 4x 1.50GHz, Intel UHD-Grafik 605
Intel Apollo Lake J3455, HD Graphics 500


But core dumps all the time with my older ION (GF 9400) Systems.

The System is a Ubuntu 19.10 with Nvidia driver 340.107 with
31.0~master.201912221750.0a1abdf~ubuntu19.10.1 installed.

I try to get a backtrace from this crash, as described on the wiki https://www.mythtv.org/wiki/Debugging

Unfortunately I don't know if it is an common limitation at this stage of the development, a existing issue or a new bug.

Please told me, if I can help solving that problem.

Best regards
Beppo

Code: Select all

gdb mythfrontend.real -x ${HOME}/gdbcommands
GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mythfrontend.real...
Reading symbols from /usr/lib/debug/.build-id/1f/378c199844fd59a88a98736fcec0eb208336ef.debug...
Function "qFatal" not defined.
Breakpoint 1 (qFatal) pending.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe5150700 (LWP 1969)]
[New Thread 0x7fffdfb57700 (LWP 1985)]
[New Thread 0x7fffdf356700 (LWP 1986)]
[New Thread 0x7fffdeb55700 (LWP 1987)]
[New Thread 0x7fffde354700 (LWP 1988)]
2019-12-25 11:46:05.281602 I  Setup Interrupt handler
2019-12-25 11:46:05.281700 I  Setup Terminated handler
2019-12-25 11:46:05.281741 I  Setup Segmentation fault handler
2019-12-25 11:46:05.281785 I  Setup Aborted handler
2019-12-25 11:46:05.281826 I  Setup Bus error handler
2019-12-25 11:46:05.281869 I  Setup Floating point exception handler
2019-12-25 11:46:05.281909 I  Setup Illegal instruction handler
2019-12-25 11:46:05.281960 I  Setup Real-time signal 0 handler
2019-12-25 11:46:05.282002 I  Setup User defined signal 1 handler
2019-12-25 11:46:05.282042 I  Setup User defined signal 2 handler
2019-12-25 11:46:05.282082 I  Setup Hangup handler
2019-12-25 11:46:05.282458 C  mythfrontend version:  [v31-Pre] www.mythtv.org
2019-12-25 11:46:05.282495 C  Qt version: compile: 5.12.4, runtime: 5.12.4
2019-12-25 11:46:05.381780 I  Ubuntu 19.10 (x86_64)
2019-12-25 11:46:05.381813 N  Enabled verbose msgs:  general
2019-12-25 11:46:05.382157 N  Setting Log Level to LOG_INFO
2019-12-25 11:46:05.395501 I  Added logging to the console
2019-12-25 11:46:05.403662 N  Using runtime prefix = /usr
2019-12-25 11:46:05.403706 N  Using configuration directory = /home/user/.mythtv
2019-12-25 11:46:05.403911 I  Assumed character encoding: de_DE.UTF-8
2019-12-25 11:46:05.457135 I  Added logging to /tmp/mythfrontend.20191225104605.1932.log
2019-12-25 11:46:06.018551 I  Loading de translation for module mythfrontend
2019-12-25 11:46:06.386325 I  Empty LocalHostName. This is typical.
2019-12-25 11:46:06.386374 I  Using a profile name of: 'mythtv' (Usually the same as this host's name.)
2019-12-25 11:46:06.386748 I  Start up testing connections. DB 192.168.XX.X, BE , attempt 0, status start, Delay: 2000
2019-12-25 11:46:09.331557 I  Start up testing connections. DB 192.168.XX.X, BE , attempt 1, status start, Delay: 2000
2019-12-25 11:46:09.533610 I  Display: Defaulting to primary screen (HDMI-0)
2019-12-25 11:46:09.533686 I  Display: Using screen 'HDMI-0' (Make: Samsung Electric Company Model: SyncMaster-)
2019-12-25 11:46:09.533766 I  Display: Geometry 1680x1050+0+0 Size 160mmx90mm
[New Thread 0x7fffdda63700 (LWP 1989)]
2019-12-25 11:46:09.636116 N  Display: Desktop video mode: 1680x1050 59.954 Hz
2019-12-25 11:46:10.618466 I  ScreenSaverDBus: Created for DBus service: org.freedesktop.ScreenSaver
[New Thread 0x7fffdd262700 (LWP 1990)]
[New Thread 0x7fffdca61700 (LWP 1991)]
[New Thread 0x7fffbffff700 (LWP 1992)]
[New Thread 0x7fffbf7fe700 (LWP 1993)]
[Detaching after fork from child process 1994]
2019-12-25 11:46:10.932277 I  Starting process manager
2019-12-25 11:46:10.934153 I  Starting process signal handler
2019-12-25 11:46:10.935711 I  Starting IO manager (read)
2019-12-25 11:46:10.945853 I  Starting IO manager (write)
2019-12-25 11:46:11.686204 I  ScreenSaverX11Private: XScreenSaver support enabled
2019-12-25 11:46:11.688646 I  ScreenSaverX11Private: DPMS is disabled.
2019-12-25 11:46:15.132069 E  DB Error (StorageGroup::StorageGroup()):
Query was:

Driver error was [1/]:
Driver not loaded
Database error was:
Driver not loaded

2019-12-25 11:46:15.368047 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
			eno: No such file or directory (2)
2019-12-25 11:46:15.368334 I  No joystick configuration found, not enabling joystick control
[New Thread 0x7fffbe8fc700 (LWP 1997)]
[Thread 0x7fffbe8fc700 (LWP 1997) exited]
2019-12-25 11:46:17.184680 E  CECAdapter: Failed to find any CEC devices.
2019-12-25 11:46:17.185069 I  CECAdapter: Closing down CEC.
2019-12-25 11:46:17.185235 I  UDPListener: Enabling
2019-12-25 11:46:17.222201 I  Binding to UDP 0.0.0.0:0
2019-12-25 11:46:17.222642 I  Binding to UDP [::]:0
[New Thread 0x7fffbe8fc700 (LWP 1998)]
2019-12-25 11:46:17.274068 I  Using Frameless Window
2019-12-25 11:46:17.274096 I  Using Full Screen Window
2019-12-25 11:46:18.750306 I  Display: New main widget
2019-12-25 11:46:18.750374 I  Display: Defaulting to primary screen (HDMI-0)
2019-12-25 11:46:18.750483 I  UI Screen Resolution: 1680 x 1050

Thread 1 "mythfrontend.re" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffbe8fc700 (LWP 1998)):
#0  0x00007ffff67856e0 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffbe8fbb60, clockid=<optimized out>, expected=0, futex_word=0x555555e7bfb0) at ../sysdeps/unix/sysv/linux/futex-internal.h:208
        __ret = -516
        __ret = <optimized out>
        oldtype = 1
        err = <optimized out>
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffbe8fbae0, __canceltype = -1097876512, __prev = 0x0}
        cbuffer = {wseq = 660, cond = 0x555555e7bf88, mutex = 0x555555e7bf60, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 660
        seq = 330
        flags = <optimized out>
        clockid = <optimized out>
#1  0x00007ffff67856e0 in __pthread_cond_wait_common (abstime=0x7fffbe8fbb60, clockid=<optimized out>, mutex=0x555555e7bf60, cond=0x555555e7bf88) at pthread_cond_wait.c:520
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffbe8fbae0, __canceltype = -1097876512, __prev = 0x0}
        cbuffer = {wseq = 660, cond = 0x555555e7bf88, mutex = 0x555555e7bf60, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 660
        seq = 330
        flags = <optimized out>
        clockid = <optimized out>
#2  0x00007ffff67856e0 in __pthread_cond_timedwait (cond=0x555555e7bf88, mutex=0x555555e7bf60, abstime=0x7fffbe8fbb60) at pthread_cond_wait.c:656
        flags = <optimized out>
        clockid = <optimized out>
#3  0x00007ffff22e8d5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22e8eab in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff6fa1db1 in MythSignalingTimer::run() (this=0x555555ce6180) at mythsignalingtimer.cpp:83
        locker = {val = 93825000169905}
#6  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555b12d90) at mthread.cpp:79
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736390481664, -6236814044404363529, 140737488345310, 140737488345311, 140737488345504, 140736390479232, 6236675920298266359, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fffbf7fe700 (LWP 1993)):
#0  0x00007ffff67852c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555555ba9800) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
        __ret = -512
        oldtype = 1
        err = <optimized out>
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffbf7fd9f0, __canceltype = -150009056, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x555555ba97d8, mutex = 0x555555ba97b0, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        signals = <optimized out>
        result = 0
        wseq = 0
        seq = 0
#1  0x00007ffff67852c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555ba97b0, cond=0x555555ba97d8) at pthread_cond_wait.c:508
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffbf7fd9f0, __canceltype = -150009056, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x555555ba97d8, mutex = 0x555555ba97b0, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        signals = <optimized out>
        result = 0
        wseq = 0
        seq = 0
#2  0x00007ffff67852c6 in __pthread_cond_wait (cond=0x555555ba97d8, mutex=0x555555ba97b0) at pthread_cond_wait.c:638
#3  0x00007ffff22e8def in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22e8ee1 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff70b6914 in MythSystemLegacyIOHandler::run() (this=0x555555e0c0d0) at mythsystemunix.cpp:93
        locker = {val = 93825001373937}
        __FUNCTION__ = "run"
#6  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555c1c650) at mthread.cpp:79
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736406218496, -6236814044404363529, 140737488344878, 140737488344879, 140737488345072, 140736406216064, 6236672206225297143, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffbffff700 (LWP 1992)):
#0  0x00007ffff67852c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555555babb80) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
        __ret = -512
        oldtype = 1
        err = <optimized out>
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffbfffe9f0, __canceltype = -150009056, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x555555babb58, mutex = 0x555555babb30, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        signals = <optimized out>
        result = 0
        wseq = 0
        seq = 0
#1  0x00007ffff67852c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555babb30, cond=0x555555babb58) at pthread_cond_wait.c:508
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffbfffe9f0, __canceltype = -150009056, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x555555babb58, mutex = 0x555555babb30, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        signals = <optimized out>
        result = 0
        wseq = 0
        seq = 0
#2  0x00007ffff67852c6 in __pthread_cond_wait (cond=0x555555babb58, mutex=0x555555babb30) at pthread_cond_wait.c:638
#3  0x00007ffff22e8def in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22e8ee1 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff70b6914 in MythSystemLegacyIOHandler::run() (this=0x555555dfc000) at mythsystemunix.cpp:93
        locker = {val = 93825001308193}
        __FUNCTION__ = "run"
#6  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555c8b5e0) at mthread.cpp:79
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736414611200, -6236814044404363529, 140737488344878, 140737488344879, 140737488345072, 140736414608768, 6236673307347537655, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffdca61700 (LWP 1991)):
#0  0x00007ffff67899f5 in __GI___nanosleep (requested_time=0x7fffdca60c00, remaining=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 1
#1  0x00007ffff70b998c in MythSystemLegacySignalManager::run() (this=0x555555c07d20) at mythsystemunix.cpp:490
        ts = {tv_sec = 0, tv_nsec = 50000000}
        __FUNCTION__ = "run"
#2  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555c1a3c0) at mthread.cpp:79
#3  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736895260416, -6236814044404363529, 140737488344878, 140737488344879, 140737488345072, 140736895257984, 6236882846990749431, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#5  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffdd262700 (LWP 1990)):
#0  0x00007ffff67856e0 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffdd261ae0, clockid=<optimized out>, expected=0, futex_word=0x555555c82f84) at ../sysdeps/unix/sysv/linux/futex-internal.h:208
        __ret = -516
        __ret = <optimized out>
        oldtype = 1
        err = <optimized out>
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffdd261a60, __canceltype = 1438600544, __prev = 0x0}
        cbuffer = {wseq = 279, cond = 0x555555c82f58, mutex = 0x555555c82f30, private = 0}
        err = <optimized out>
        g = 1
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 279
        seq = 139
        flags = <optimized out>
        clockid = <optimized out>
#1  0x00007ffff67856e0 in __pthread_cond_wait_common (abstime=0x7fffdd261ae0, clockid=<optimized out>, mutex=0x555555c82f30, cond=0x555555c82f58) at pthread_cond_wait.c:520
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffdd261a60, __canceltype = 1438600544, __prev = 0x0}
        cbuffer = {wseq = 279, cond = 0x555555c82f58, mutex = 0x555555c82f30, private = 0}
        err = <optimized out>
        g = 1
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 279
        seq = 139
        flags = <optimized out>
        clockid = <optimized out>
#2  0x00007ffff67856e0 in __pthread_cond_timedwait (cond=0x555555c82f58, mutex=0x555555c82f30, abstime=0x7fffdd261ae0) at pthread_cond_wait.c:656
        flags = <optimized out>
        clockid = <optimized out>
#3  0x00007ffff22e8d5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22e8eab in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff70b7a45 in MythSystemLegacyManager::run() (this=0x555555c19910) at mythsystemunix.cpp:267
        pid = -1
        status = 0
        i = {i = 0x555555c82e98}
        next = {i = 0x0}
        now = 1577270771
        __FUNCTION__ = "run"
#6  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555c86f70) at mthread.cpp:79
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736903653120, -6236814044404363529, 140737488344878, 140737488344879, 140737488345072, 140736903650688, 6236879547918995191, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffdda63700 (LWP 1989)):
#0  0x00007ffff1defc2f in __GI___poll (fds=0x7fffcc001be0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fffebef6a3e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebef6b73 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff25016a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff24a863b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff22e1a75 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff2782efa in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736912045824, -6236814044404363529, 140737488345118, 140737488345119, 140737488345312, 140736912043392, 6236880649041235703, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffde354700 (LWP 1988)):
#0  0x00007ffff67856e0 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffde353b40, clockid=<optimized out>, expected=0, futex_word=0x555555c63eb0) at ../sysdeps/unix/sysv/linux/futex-internal.h:208
        __ret = -516
        __ret = <optimized out>
        oldtype = 1
        err = <optimized out>
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffde353ac0, __canceltype = 0, __prev = 0x0}
        cbuffer = {wseq = 328, cond = 0x555555c63e88, mutex = 0x555555c63e60, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 328
        seq = 164
        flags = <optimized out>
        clockid = <optimized out>
#1  0x00007ffff67856e0 in __pthread_cond_wait_common (abstime=0x7fffde353b40, clockid=<optimized out>, mutex=0x555555c63e60, cond=0x555555c63e88) at pthread_cond_wait.c:520
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffde353ac0, __canceltype = 0, __prev = 0x0}
        cbuffer = {wseq = 328, cond = 0x555555c63e88, mutex = 0x555555c63e60, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 328
        seq = 164
        flags = <optimized out>
        clockid = <optimized out>
#2  0x00007ffff67856e0 in __pthread_cond_timedwait (cond=0x555555c63e88, mutex=0x555555c63e60, abstime=0x7fffde353b40) at pthread_cond_wait.c:656
        flags = <optimized out>
        clockid = <optimized out>
#3  0x00007ffff22e8d5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22e8eab in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff703af0b in LoggerThread::run() (this=0x555555c4d070) at logging.cpp:296
        item = 0x555555c60800
        __FUNCTION__ = "run"
        dieNow = false
        qLock = {val = 140737338703385}
#6  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555c44580) at mthread.cpp:79
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736921421568, -6236814044404363529, 140737488346126, 140737488346127, 140737488346320, 140736921419136, 6236885982853746423, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffdeb55700 (LWP 1987)):
#0  0x00007ffff67856e0 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffdeb54b30, clockid=<optimized out>, expected=0, futex_word=0x5555559d1ba0) at ../sysdeps/unix/sysv/linux/futex-internal.h:208
        __ret = -516
        __ret = <optimized out>
        oldtype = 1
        err = <optimized out>
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffdeb54ab0, __canceltype = 0, __prev = 0x0}
        cbuffer = {wseq = 390, cond = 0x5555559d1b78, mutex = 0x5555559d1b50, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 390
        seq = 195
        flags = <optimized out>
        clockid = <optimized out>
#1  0x00007ffff67856e0 in __pthread_cond_wait_common (abstime=0x7fffdeb54b30, clockid=<optimized out>, mutex=0x5555559d1b50, cond=0x5555559d1b78) at pthread_cond_wait.c:520
        spin = 0
        buffer = {__routine = 0x7ffff6784fa0 <__condvar_cleanup_waiting>, __arg = 0x7fffdeb54ab0, __canceltype = 0, __prev = 0x0}
        cbuffer = {wseq = 390, cond = 0x5555559d1b78, mutex = 0x5555559d1b50, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 390
        seq = 195
        flags = <optimized out>
        clockid = <optimized out>
#2  0x00007ffff67856e0 in __pthread_cond_timedwait (cond=0x5555559d1b78, mutex=0x5555559d1b50, abstime=0x7fffdeb54b30) at pthread_cond_wait.c:656
        flags = <optimized out>
        clockid = <optimized out>
#3  0x00007ffff22e8d5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22e8eab in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff704877d in LogForwardThread::run() (this=0x555555c6c1c0) at loggingserver.cpp:716
        lock = {val = 140737338703529}
        processed = 1
        loggers = {<QListSpecialMethods<LoggerBase*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffd4000b60}, d = 0x7fffd4000b60}}
#6  0x00007ffff6f6c3da in MThreadInternal::run() (this=0x555555c697a0) at mthread.cpp:79
#7  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736929814272, -6236814044404363529, 140737488345966, 140737488345967, 140737488346160, 140736929811840, 6236887079681019639, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffdf356700 (LWP 1986)):
#0  0x00007ffff1defc2f in __GI___poll (fds=0x555555b42f80, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fffebef6a3e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebef6dc3 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffec4d559a in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffebf20111 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736938206976, -6236814044404363529, 140737488344190, 140737488344191, 140737488344336, 140736938204544, 6236883780609265399, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffdfb57700 (LWP 1985)):
#0  0x00007ffff1defc2f in __GI___poll (fds=0x555555b2faa0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fffebef6a3e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebef6b73 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffebef6bc1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffebf20111 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736946599680, -6236814044404363529, 140737488343774, 140737488343775, 140737488343920, 140736946597248, 6236884881731505911, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffe5150700 (LWP 1969)):
#0  0x00007ffff1defc2f in __GI___poll (fds=0x7fffe514fb28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fffeb063917 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffeb06553a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe56d4288 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff22e2cc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff677e669 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737036748544, -6236814044404363529, 140737488345342, 140737488345343, 140737488345536, 140737036746112, 6236826336495423223, 6236797483788160759}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007ffff1dfc323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fffe5b48980 (LWP 1932)):
#0  0x0000000000000000 in  ()
#1  0x00007fffdc155de5 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#2  0x00007fffdc157026 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#3  0x00007fffdc154d3b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#4  0x00007fffe56abf2f in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007ffff2e5cb31 in QOpenGLContext::create() () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#6  0x00007ffff6e7fd04 in MythRenderOpenGL::setWidget(QWidget*) (this=0x555555e8cb50, Widget=0x7fffcc0118b0) at opengl/mythrenderopengl.cpp:525
        __FUNCTION__ = "setWidget"
#7  0x00007ffff6d0aeb3 in MythPainterWindowGL::MythPainterWindowGL(MythMainWindow*, MythMainWindowPrivate*, MythRenderOpenGL*) (this=0x7fffcc0118b0, win=0x555555b58530, priv=0x555555bd2000, rend=0x555555e8cb50) at mythmainwindow.cpp:354
        forceshow = false
#8  0x00007ffff6d0ecac in MythMainWindow::Init(bool) (this=0x555555b58530, mayReInit=true) at mythmainwindow.cpp:1109
        dummy = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
        gl = 0x555555e8cb50
        flags = {i = 2049}
        inwindow = false
        fullscreen = true
        __FUNCTION__ = "Init"
#9  0x00007ffff6b3e815 in MythContextPrivate::TempMainWindow(bool) (this=0x555555b2c800, languagePrompt=false) at mythcontext.cpp:289
        mainWindow = 0x555555b58530
#10 0x00007ffff6b43fa5 in MythContextPrivate::ShowGuiStartup() (this=0x555555b2c800) at mythcontext.cpp:1065
        mainWindow = 0x7d0
        mainStack = 0x7ffff250113d <QElapsedTimer::elapsed() const+13>
#11 0x00007ffff6b42e26 in MythContextPrivate::TestDBconnection(bool) (this=0x555555b2c800, prompt=true) at mythcontext.cpp:894
        useTimeout = 20
        attempt = 1
        timer = {t1 = 936, t2 = 595562916}
        wakeupTime = 20
        attempts = 6
        progressTotal = 120
        backendIP = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
        backendPort = 0
        stateMsg = {static null = {<No data fields>}, d = 0x555555b25100}
        beWOLCmd = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
        masterserver = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
        err = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
        host = {static null = {<No data fields>}, d = 0x555555c5c3c0}
        port = 3306
        startupState = MythContextPrivate::st_start
        kGuiStatuses = {{static null = {<No data fields>}, d = 0x555555c19650}, {static null = {<No data fields>}, d = 0x555555c4bdb0}, {static null = {<No data fields>}, d = 0x555555aada50}, {static null = {<No data fields>}, d = 0x555555c6d0b0}, {static null = {<No data fields>}, d = 0x555555c1a020}, {static null = {<No data fields>}, d = 0x555555c81da0}, {static null = {<No data fields>}, d = 0x555555c81dd0}}
        msStartupScreenDelay = 2000
        __FUNCTION__ = "TestDBconnection"
#12 0x00007ffff6b3f043 in MythContextPrivate::FindDatabase(bool, bool) (this=0x555555b2c800, prompt=false, noAutodetect=false) at mythcontext.cpp:438
        manualSelect = false
        failure = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
        loaded = true
        dbParamsFromFile = {m_dbHostName = {static null = {<No data fields>}, d = 0x555555c5c3c0}, m_dbHostPing = true, m_dbPort = 3306, m_dbUserName = {static null = {<No data fields>}, d = 0x555555b77e60}, m_dbPassword = {static null = {<No data fields>}, d = 0x555555c83df0}, m_dbName = {static null = {<No data fields>}, d = 0x555555bef680}, m_dbType = {static null = {<No data fields>}, d = 0x555555c53360}, m_localEnabled = false, m_localHostName = {static null = {<No data fields>}, d = 0x555555c4f3b0}, m_wolEnabled = true, m_wolReconnect = 20, m_wolRetry = 3, m_wolCommand = {static null = {<No data fields>}, d = 0x555555bd6520}, m_forceSave = false, m_verVersion = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}, m_verBranch = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}, m_verProtocol = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}, m_verBinary = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}, m_verSchema = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}}
        autoSelect = false
        __FUNCTION__ = "FindDatabase"
#13 0x00007ffff6b3eb79 in MythContextPrivate::Init(bool, bool, bool, bool) (this=0x555555b2c800, gui=true, promptForBackend=false, noPrompt=false, ignoreDB=false) at mythcontext.cpp:354
#14 0x00007ffff6b48791 in MythContext::Init(bool, bool, bool, bool) (this=0x555555b9c150, gui=true, promptForBackend=false, disableAutoDiscovery=false, ignoreDB=false) at mythcontext.cpp:1637
        __FUNCTION__ = "Init"
        homedir = {static null = {<No data fields>}, d = 0x555555c4a740}
        confdir = {static null = {<No data fields>}, d = 0x7ffff258a680 <QArrayData::shared_null>}
#15 0x00005555555dd279 in main(int, char**) (argc=5, argv=0x7fffffffe168) at main.cpp:1965
        bPromptForBackend = false
        bBypassAutoDiscovery = false
        cmdline = {<MythCommandLineParser> = {_vptr.MythCommandLineParser = 0x55555594c4a0 <vtable for MythFrontendCommandLineParser+16>, m_appname = {static null = {<No data fields>}, d = 0x5555559edd80}, m_optionedArgs = {d = 0x5555559ee350}, m_namedArgs = {d = 0x5555559ee290}, m_passthroughActive = false, m_overridesImported = true, m_verbose = false}, <No data fields>}
        callCleanup = {m_cleanFunction = 0x5555555cfd60 <(anonymous namespace)::cleanup()>}
        format = {static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3226b40, data = 0x7ffff3226a00, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x5555559f6650}
        signallist = {<QListSpecialMethods<int>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555555c1b670}, d = 0x555555c1b670}}
        retval = 0
        ResetSettings = false
        __FUNCTION__ = "main"
        fileprefix = {static null = {<No data fields>}, d = 0x7fffffffe198}
        dir = {d_ptr = {d = 0x555555948618}}
        bonjour = {d = 0x7ffff1d77304 <__GI___libc_malloc+116>}
        themename = {static null = {<No data fields>}, d = 0x0}
        themedir = {static null = {<No data fields>}, d = 0x1}
        mainWindow = 0x7ffff2505468
        mon = 0x20000000100
        networkControl = 0x5555559ec3d0
        themeUpdateChecker = 0x1b
        sysEventHandler = 0x1b
        bcm = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff275a980 <QObject::staticMetaObject>, stringdata = 0x5555558b1040 <qt_meta_stringdata_BackendConnectionManager>, data = 0x5555558b10c0 <qt_meta_data_BackendConnectionManager>, static_metacall = 0x5555558672a8 <BackendConnectionManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, m_reconnecting = 0x7ffff1eca008 <__exit_funcs_lock>, m_reconnect_timer = 0x7ffff1d24127 <__GI___cxa_atexit+71>, m_reconnect_again = 200}
        housekeeping = 0x5555558b6473
        ret = 0
(gdb) 
Viele Grüße Beppo
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Testing Master 31pre on a ION core dumps all the time

Post by blm-ubunet »

I guess this is could be DB driver error & not a MythTV code fault/failure.

There is yet another FOSS confused mess w.r.t. maria v.s mysql.
Some distro are trying to plumb in mariadb without any obvious notification/choice.. except some programs don't work.
https://askubuntu.com/questions/976915/ ... or-mariadb

IIRC There has been recent discussion & workarounds/mitigations for this issue in this forum & in the mail lists..
HTH.
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Testing Master 31pre on a ION core dumps all the time

Post by beppo »

Hi,
that was not the problem.
2019-12-25 11:46:15.132069 E DB Error (StorageGroup::StorageGroup()):
Query was:

Driver error was [1/]:
Driver not loaded
Database error was:
Driver not loaded
I think it is more related to this discussion at the mailing list.
http://lists.mythtv.org/pipermail/mytht ... 78038.html

I will built my own debs on that computer but the ION is really slow...
Last edited by beppo on Thu Jan 02, 2020 8:28 pm, edited 1 time in total.
Viele Grüße Beppo
User avatar
kmdewaal
Developer
Posts: 644
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Testing Master 31pre on a ION core dumps all the time

Post by kmdewaal »

I had the same segfault with a GT-520 video card; the crash was immediately after the "UI Screen Resolution" message. In my case this was solved by upgrading the Nvidia driver from version 340 to version 390. See ticket #13538.
Last edited by Steve Goodey on Thu Dec 26, 2019 8:09 pm, edited 1 time in total.
Reason: Added URL.
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Testing Master 31pre on a ION core dumps all the time

Post by beppo »

Unfortunately the 340 series is the last driver with ION support...
So hopefully the last update to 340.108 will do the trick.

Thank you for pointing this out.
Viele Grüße Beppo
User avatar
kmdewaal
Developer
Posts: 644
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Testing Master 31pre on a ION core dumps all the time

Post by kmdewaal »

There is now a patch in ticket #13538 that solves the problem with the Nvidia 340 driver.
beppo
Senior
Posts: 159
Joined: Sun Feb 09, 2014 8:12 am
Germany

Re: Testing Master 31pre on a ION core dumps all the time

Post by beppo »

Yes you are right, with disabling opengles, the old ION runs mythfrontend 31pre (master) from today.

Thanks for the support!
Viele Grüße Beppo
Post Reply