[mythtv-users] Frontend segfaults on Mythtv 29

Chris Dennis cgdennis at btinternet.com
Fri Dec 15 13:31:13 UTC 2017


Hello Folks

I'm having a lot of trouble getting one of my frontends to work with MythTV 29.  Or maybe it's other updates that have caused the problem.

I've created a new backend (because the old when is getting very old) running Debian 9 and MythTV 29.

One of my frontends (a PC running Arch linux) works fine.

The other frontend -- the main one powering the TV in the lounge -- keeps segfaulting.

The frontend in question is an Acer Revo running Arch Linux which I've recently brought up to date, including MythTV 29.  There were lots of other updates at the same time, including nvidia drivers etc.  It has Nvidia ION graphics and uses nvidia-340xx drivers with VDPAU.

I'm running mythfrontend as user 'mythtv'.  If I delete that user's ~/.mythtv folder before running mythfrontend, it goes through the process of asking me for the backend details before crashing.  On subsequent runs it crashes without displaying anything.

I normally run mythfrontend as a simple X11 program from .xinitrc (no desktop or window manager).  For troubleshooting this problem I'm running xterm from .xinitrc and launching mythfrontend from there.

Any clues about where to look or what tests to run would be much appreciated.

The mythfrontend log doesn't seem to say anything helpful, but here is some coredump info which might be relevant:

-----

            PID: 394 (mythfrontend)
            UID: 1000 (mythtv)
            GID: 1000 (mythtv)
         Signal: 11 (SEGV)
      Timestamp: Fri 2017-12-15 12:36:18 GMT (36min ago)
   Command Line: mythfrontend --verbose all --loglevel debug --logpath /var/log/mythtv
     Executable: /usr/bin/mythfrontend
  Control Group: /user.slice/user-1000.slice/session-c1.scope
           Unit: session-c1.scope
          Slice: user-1000.slice
        Session: c1
      Owner UID: 1000 (mythtv)
        Boot ID: a6f987f611834cbdab708782c2deda27
     Machine ID: a2d273e4c5a8423eb0e9ab8e42078108
       Hostname: picus
        Storage: /var/lib/systemd/coredump/core.mythfrontend.1000.a6f987f611834cbdab708782c2deda27.394.1513341378000000.lz4
        Message: Process 394 (mythfrontend) of user 1000 dumped core.
                 
                 Stack trace of thread 394:
                 #0  0x00007f7bc7300d2b _ZN9QGLFormat18openGLVersionFlagsEv (libQt5OpenGL.so.5)
                 #1  0x00007f7bcef0e4d6 _ZN16MythRenderOpenGL6CreateERK7QStringP12QPaintDevice (libmythui-29.so.29)
                 #2  0x00007f7bced87ccc _ZN14MythMainWindow4InitE7QString (libmythui-29.so.29)
                 #3  0x00007f7bce8137c2 n/a (libmyth-29.so.29)
                 #4  0x00007f7bce818af7 n/a (libmyth-29.so.29)
                 #5  0x00007f7bce817a94 n/a (libmyth-29.so.29)
                 #6  0x00007f7bce8142cd n/a (libmyth-29.so.29)
                 #7  0x00007f7bce813b51 n/a (libmyth-29.so.29)
                 #8  0x00007f7bce81ce47 _ZN11MythContext4InitEbbbb (libmyth-29.so.29)
                 #9  0x00005584955e8641 main (mythfrontend)
                 #10 0x00007f7bc0dd7f4a __libc_start_main (libc.so.6)
                 #11 0x00005584955dafca n/a (mythfrontend)
                 
                 Stack trace of thread 395:
                 #0  0x00007f7bc1a6638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc178548d __gthread_cond_wait (libstdc++.so.6)
                 #2  0x00007f7bc5f96aa9 n/a (libQt5WebKit.so.5)
                 #3  0x00007f7bc5f96bf9 n/a (libQt5WebKit.so.5)
                 #4  0x00007f7bc178ba6f execute_native_thread_routine (libstdc++.so.6)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 401:
                 #0  0x00007f7bc0ea4d63 __select (libc.so.6)
                 #1  0x00007f7bcf603f70 _ZN4SSDP3runEv (libmythupnp-29.so.29)
                 #2  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #4  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #5  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 402:
                 #0  0x00007f7bc1a6a230 __nanosleep (libpthread.so.0)
                 #1  0x00007f7bc1f6efff n/a (libQt5Core.so.5)
                 #2  0x00007f7bcf201a5d n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201052 _ZN7MThread6msleepEm (libmythbase-29.so.29)
                 #4  0x00007f7bcf6097dc _ZN9TaskQueue3runEv (libmythupnp-29.so.29)
                 #5  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #6  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #7  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #8  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 403:
                 #0  0x00007f7bc0ea2f2b __poll (libc.so.6)
                 #1  0x00007f7bbf59fed3 n/a (libglib-2.0.so.0)
                 #2  0x00007f7bbf59ffae g_main_context_iteration (libglib-2.0.so.0)
                 #3  0x00007f7bc1f6f691 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                 #4  0x00007f7bc1f1182b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                 #5  0x00007f7bc1d2178e _ZN7QThread4execEv (libQt5Core.so.5)
                 #6  0x00007f7bc2391416 n/a (libQt5DBus.so.5)
                 #7  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #8  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #9  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 412:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf205461 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 413:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf205461 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 414:
                 #0  0x00007f7bc0ea2f2b __poll (libc.so.6)
                 #1  0x00007f7bbf59fed3 n/a (libglib-2.0.so.0)
                 #2  0x00007f7bbf59ffae g_main_context_iteration (libglib-2.0.so.0)
                 #3  0x00007f7bc1f6f691 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                 #4  0x00007f7bc1f1182b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                 #5  0x00007f7bc1d2178e _ZN7QThread4execEv (libQt5Core.so.5)
                 #6  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #7  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #8  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 415:
                 #0  0x00007f7bc1a6638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d2800c _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf273d5c _ZN19MythDownloadManager3runEv (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 417:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf205461 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 419:
                 #0  0x00007f7bc0ea2f2b __poll (libc.so.6)
                 #1  0x00007f7bbf59fed3 n/a (libglib-2.0.so.0)
                 #2  0x00007f7bbf59ffae g_main_context_iteration (libglib-2.0.so.0)
                 #3  0x00007f7bc1f6f691 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                 #4  0x00007f7bc1f1182b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                 #5  0x00007f7bc1d2178e _ZN7QThread4execEv (libQt5Core.so.5)
                 #6  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #7  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #8  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 420:
                 #0  0x00007f7bc1a6638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc178548d __gthread_cond_wait (libstdc++.so.6)
                 #2  0x00007f7bc49581e1 _ZN3WTF10ParkingLot17parkConditionallyEPKvSt8functionIFbvEES3_IFvvEENSt6chrono10time_pointINS8_3_V212steady_clockENS8_8durationIlSt5ratioILl1ELl1000000000EEEEEE (libQt5WebKit.so.5)
                 #3  0x00007f7bc4956e82 n/a (libQt5WebKit.so.5)
                 #4  0x00007f7bc495b26d n/a (libQt5WebKit.so.5)
                 #5  0x00007f7bc498dd9a n/a (libQt5WebKit.so.5)
                 #6  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #7  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 424:
                 #0  0x00007f7bc1a6638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc178548d __gthread_cond_wait (libstdc++.so.6)
                 #2  0x00007f7bc49581e1 _ZN3WTF10ParkingLot17parkConditionallyEPKvSt8functionIFbvEES3_IFvvEENSt6chrono10time_pointINS8_3_V212steady_clockENS8_8durationIlSt5ratioILl1ELl1000000000EEEEEE (libQt5WebKit.so.5)
                 #3  0x00007f7bc5134b18 n/a (libQt5WebKit.so.5)
                 #4  0x00007f7bc513659c n/a (libQt5WebKit.so.5)
                 #5  0x00007f7bc495b26d n/a (libQt5WebKit.so.5)
                 #6  0x00007f7bc498dd9a n/a (libQt5WebKit.so.5)
                 #7  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #8  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 406:
                 #0  0x00007f7bc1a6a230 __nanosleep (libpthread.so.0)
                 #1  0x00007f7bcf32eaed n/a (libmythbase-29.so.29)
                 #2  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #4  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #5  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 398:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf2d649f n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 399:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf2c8e1b n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 418:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf205461 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 408:
                 #0  0x00007f7bc1a6638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d2800c _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf32bac7 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 407:
                 #0  0x00007f7bc1a6638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d2800c _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf32bac7 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 397:
                 #0  0x00007f7bc0ea2f2b __poll (libc.so.6)
                 #1  0x00007f7bbf59fed3 n/a (libglib-2.0.so.0)
                 #2  0x00007f7bbf59ffae g_main_context_iteration (libglib-2.0.so.0)
                 #3  0x00007f7bc1f6f691 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                 #4  0x00007f7bc1f1182b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                 #5  0x00007f7bc1d2178e _ZN7QThread4execEv (libQt5Core.so.5)
                 #6  0x00007f7bcf2019c6 n/a (libmythbase-29.so.29)
                 #7  0x00007f7bcf200ffe _ZN7MThread4execEv (libmythbase-29.so.29)
                 #8  0x00007f7bcf2d5997 n/a (libmythbase-29.so.29)
                 #9  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #10 0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #11 0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #12 0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 396:
                 #0  0x00007f7bc0ea2f2b __poll (libc.so.6)
                 #1  0x00007f7bca9d88e0 n/a (libxcb.so.1)
                 #2  0x00007f7bca9da679 xcb_wait_for_event (libxcb.so.1)
                 #3  0x00007f7bb093a7aa n/a (libQt5XcbQpa.so.5)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 405:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf32ccc6 n/a (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)
                 
                 Stack trace of thread 427:
                 #0  0x00007f7bc1a666cd pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                 #1  0x00007f7bc1d27ec1 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                 #2  0x00007f7bcf2376cf _ZN18MythSignalingTimer3runEv (libmythbase-29.so.29)
                 #3  0x00007f7bcf201970 n/a (libmythbase-29.so.29)
                 #4  0x00007f7bc1d26b2d n/a (libQt5Core.so.5)
                 #5  0x00007f7bc1a6008a start_thread (libpthread.so.0)
                 #6  0x00007f7bc0ead42f __clone (libc.so.6)

-----





More information about the mythtv-users mailing list