[mythtv] Call for testing branch devel/ffmpeg-resync (mpegts-harmonize)

John Pilkington johnpilk222 at gmail.com
Sun Jul 24 17:42:47 UTC 2022


On 24/07/2022 16:57, Paul Harrison wrote:
> On 24/07/2022 16:21, John Pilkington wrote:
> 
>> On 24/07/2022 12:35, John Pilkington wrote:
>>> On 23/07/2022 20:21, Scott Theisen wrote:
>>>> Hello all,
>>>>
>>>> Following the merge of my FFmpeg cleanup commits to master, branch 
>>>> devel/ffmpeg-resync now contains my changes harmonizing our version 
>>>> of the mpegts demuxer with FFmpeg 4.4's version.
>>>>
>>>> The main change versus FFmpeg that I couldn't test is DSMCC/MHEG, so 
>>>> could someone with access to those streams confirm that it works the 
>>>> same as master?
>>>>
>>>> Other testing is, of course, also welcome.
>>>>
>>>> Thanks,
>>>>
>>>> Scott Theisen
>>>
>>> Hi Scott:  I have this running in F35 using the OpenGL profile, and 
>>> have repeated frontend crashes on quitting playback, either by <Esc> 
>>> or at a 'cut to end' cutpoint.  Logging via logpath doesn't look much 
>>> help and I haven't yet tried gdb.
>>>
>>> On restarting the frontend after a crash the preview for that 
>>> recording is missing and stays missing, and there are Preview: 
>>> <recordedid>  lines in the terminal log.  Restarting the backend 
>>> doesn't help.  The 'unaligned fastbin chunk' reference happens fairly 
>>> consistently.
>>>
>>> John
>>>
>>> {{{
>>> 2022-07-24 12:11:00.250601 I  ScreenSaverX11: Inhibited X11 screensaver
>>> 2022-07-24 12:11:00.250704 I  TV::HandleStateChange(): Main UI disabled.
>>> 2022-07-24 12:11:00.250759 I  TV::StartTV(): Entering main playback 
>>> loop.
>>> 2022-07-24 12:11:00.268545 I  VideoOutput: SetDeinterlacing 
>>> (Doublerate 1): Single Medium|CPU Double None
>>> 2022-07-24 12:11:00.268593 I  MythDeint: Deinterlacer change: 0x0 
>>> None dr:0 tff:1 -> 704x576 YUV420P dr:0 tff:1
>>> 2022-07-24 12:11:00.268876 I  GLVid: New frame format: None:None 
>>> 704x576 (Tex: 2D) -> YUV420P:YUV420P 704x576 (Tex: 2D)
>>> 2022-07-24 12:11:04.816738 E  Preview: 13608:
>>> 2022-07-24 12:11:05.490364 E  Preview: 13610:
>>> malloc_consolidate(): unaligned fastbin chunk detected
>>> Handling Aborted
>>> Aborted (core dumped)
>>> }}}
>>
>>
>> I get the crash immediately on trying to run mythpreviewgen from the 
>> console.  I've seen this long ago, but it got fixed. 
>> mythvideoprofile.cpp line 1325 reports  No window!
>>
>> The frontend is in a window in a kde plasma screen.
>>
> 
> I wonder if this could be related to the other Fedora crash reported 
> recently in Issue #589. It seems by default there is more bounds 
> checking being done in Fedora which can cause aborts.
> 
> https://github.com/MythTV/mythtv/issues/589
> 
> 
> If you can get a backtrace it may be possible to track down where the 
> problem is.
> 
> 
> Paul H.

It's certainly true that my update from the devel/ffmpeg-resync/morelogs 
branch to yesterday's devel/ffmpeg-resync was accompanied by what 
appeared to be a big update of F35, icluding a new kernel.

gdb output attached.

-------------- next part --------------
[john at HPFed Bashtests]$ gdb mythpreviewgen -x ${HOME}/gdbcommands
GNU gdb (GDB) Fedora 12.1-1.fc35
Copyright (C) 2022 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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 mythpreviewgen...
--Type <RET> for more, q to quit, c to continue without paging--
Reading symbols from /usr/lib/debug/usr/bin/mythpreviewgen-33.Pre.782.gd16fafb504-100.fc35.x86_64.debug...
Function "qFatal" not defined.
Breakpoint 1 (qFatal) pending.

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.fedoraproject.org/ 
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
[New Thread 0x7fffe25ff640 (LWP 19026)]
[New Thread 0x7fffe1dfe640 (LWP 19027)]
2022-07-24 18:18:09.352538 C  mythpreviewgen version: HEAD [v33-Pre-d16fafb504] www.mythtv.org
2022-07-24 18:18:09.352543 C  Qt version: compile: 5.15.2, runtime: 5.15.2
2022-07-24 18:18:09.352568 I  Fedora Linux 35 (Thirty Five) (x86_64)
2022-07-24 18:18:09.352572 N  Enabled verbose msgs:  general
2022-07-24 18:18:09.352608 N  Setting Log Level to LOG_DEBUG
2022-07-24 18:18:09.365286 I  Added logging to the console
2022-07-24 18:18:09.365634 I  Added logging to /tmp/mythpreviewgen.20220724171809.19023.log
[New Thread 0x7fffe15fd640 (LWP 19028)]
2022-07-24 18:18:09.368591 I  Setup Interrupt handler
2022-07-24 18:18:09.368599 I  Setup Terminated handler
2022-07-24 18:18:09.368606 I  Setup Segmentation fault handler
2022-07-24 18:18:09.368612 I  Setup Aborted handler
2022-07-24 18:18:09.368618 I  Setup Floating point exception handler
2022-07-24 18:18:09.368624 I  Setup Illegal instruction handler
2022-07-24 18:18:09.368631 I  Setup Bus error handler
2022-07-24 18:18:09.368643 I  Setup Real-time signal 0 handler
2022-07-24 18:18:09.368650 I  Setup Hangup handler
2022-07-24 18:18:09.368733 N  Using runtime prefix = /usr
2022-07-24 18:18:09.368741 N  Using configuration directory = /home/john/.mythtv
2022-07-24 18:18:09.368744 D  appbindir         = /usr/bin/
2022-07-24 18:18:09.368746 D  sharedir          = /usr/share/mythtv/
2022-07-24 18:18:09.368749 D  libdir            = /usr/lib64/mythtv/
2022-07-24 18:18:09.368751 D  themedir          = /usr/share/mythtv/themes/
2022-07-24 18:18:09.368754 D  pluginsdir        = /usr/lib64/mythtv/plugins/
2022-07-24 18:18:09.368756 D  translationsdir   = /usr/share/mythtv/i18n/
2022-07-24 18:18:09.368759 D  filtersdir        = /usr/lib64/mythtv/filters/
2022-07-24 18:18:09.368764 D  cachedir          = /home/john/.mythtv/cache
2022-07-24 18:18:09.368766 D  remotecachedir    = /home/john/.mythtv/cache/remotecache
2022-07-24 18:18:09.368769 D  themebasecachedir = /home/john/.mythtv/cache/themecache
2022-07-24 18:18:09.368771 D  thumbnaildir      = /home/john/.mythtv/cache/thumbnails
2022-07-24 18:18:09.368798 I  Assumed character encoding: en_GB.UTF-8
2022-07-24 18:18:09.369008 I  Using a profile name of: 'hp_fed1' (Usually the same as this host's name.)
2022-07-24 18:18:09.369022 I  DefaultUPnP() - UPNP Search up to 2 secs
2022-07-24 18:18:09.369671 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
[New Thread 0x7fffe0dfc640 (LWP 19029)]
2022-07-24 18:18:09.542106 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:09.798631 I  DefaultUPnP() - UPNP Search up to 1 secs
2022-07-24 18:18:09.798685 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:09.840943 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:10.100806 I  DefaultUPnP() - UPNP Search up to 1 secs
2022-07-24 18:18:10.100860 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:10.125107 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:10.384922 I  DefaultUPnP() - UPNP Search up to 1 secs
2022-07-24 18:18:10.384975 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:10.606284 D  MMulticastSocketDevice(:8): setsockopt - IP_MULTICAST_IF 
                        eno: Cannot assign requested address (99)
2022-07-24 18:18:11.566322 A  Cannot find default UPnP backend
2022-07-24 18:18:11.566349 I  Start up testing connections. DB 192.168.1.68, BE , attempt 0, status start, Delay: 2000
2022-07-24 18:18:11.566361 D  PortChecker::checkPort(): host 192.168.1.68 port 3306 timeLimit 1000 linkLocalOnly 0
2022-07-24 18:18:12.066999 D  PortChecker::checkPort(): socket state 3
2022-07-24 18:18:12.067219 D  PortChecker::checkPort(): host 192.168.1.68 port 3306 timeLimit 1000 linkLocalOnly 0
2022-07-24 18:18:12.567780 D  PortChecker::checkPort(): socket state 3
[New Thread 0x7fffd3fff640 (LWP 19031)]
2022-07-24 18:18:12.783467 D  PortChecker::checkPort(): host 192.168.1.68 port 3306 timeLimit 30000 linkLocalOnly 1
2022-07-24 18:18:12.786372 D  FindDatabase() - Success!
2022-07-24 18:18:12.786425 D  PortChecker::checkPort(): host 192.168.1.68 port 3306 timeLimit 30000 linkLocalOnly 1
2022-07-24 18:18:12.789521 N  Setting QT default locale to en_GB
2022-07-24 18:18:12.789526 I  Current locale en_GB
2022-07-24 18:18:12.789566 N  Reading locale defaults from /usr/share/mythtv//locales/en_gb.xml
2022-07-24 18:18:12.829063 D  PowerDBus: Acquired delay FD: 17
[New Thread 0x7fffd37fe640 (LWP 19044)]
2022-07-24 18:18:12.925497 D  PowerDBus: Max inhibit delay: 5seconds
2022-07-24 18:18:12.925731 I  Power: On AC power
2022-07-24 18:18:12.925743 I  Power: Supported actions: Suspend,Hibernate,Restart,Shutdown,HybridSleep
2022-07-24 18:18:12.934963 I  Preview from bookmark (frame 5340)
2022-07-24 18:18:12.953198 I  Player(0): Opening '/home/john/SGs/RecsSG4/20002_20220723205800.ts'
2022-07-24 18:18:12.957347 E  VideoProfile: No window!
2022-07-24 18:18:12.958573 E  VideoProfile: No window!
2022-07-24 18:18:12.982339 E  VideoProfile: No window!
[New Thread 0x7fffd29ff640 (LWP 19045)]
[New Thread 0x7fffd21fe640 (LWP 19047)]
[New Thread 0x7fffd19fd640 (LWP 19049)]
2022-07-24 18:18:13.135707 D  PortChecker::checkPort(): host 192.168.1.68 port 3306 timeLimit 30000 linkLocalOnly 1
2022-07-24 18:18:13.156914 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.68:6543 (try 1 of 5)
2022-07-24 18:18:13.164392 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
[New Thread 0x7fffd11fc640 (LWP 19051)]
[New Thread 0x7fffb7a2d640 (LWP 19052)]
2022-07-24 18:18:13.189845 I  AFD: codec mp2 has 2 channels
2022-07-24 18:18:13.190015 I  AFD: Opened codec 0x5555557a7800, id(mp2) type(Audio)
2022-07-24 18:18:13.190029 I  AFD: codec mp3 has 0 channels
2022-07-24 18:18:13.190060 I  AFD: Opened codec 0x5555559385c0, id(mp3) type(Audio)
2022-07-24 18:18:13.190233 I  AFD: Opened codec 0x5555559ae180, id(dvb_subtitle) type(Subtitle)
2022-07-24 18:18:13.190366 I  AFD: Using ffmpeg for video decoding
2022-07-24 18:18:13.191170 I  AFD: Opened codec 0x555555a37880, id(mpeg2video) type(Video)
[New Thread 0x7fffb722c640 (LWP 19053)]
[New Thread 0x7fffb6a2b640 (LWP 19054)]
[Thread 0x7fffb6a2b640 (LWP 19054) exited]
[Thread 0x7fffb722c640 (LWP 19053) exited]
[Thread 0x7fffb7a2d640 (LWP 19052) exited]
[Thread 0x7fffd11fc640 (LWP 19051) exited]
corrupted size vs. prev_size in fastbins

Thread 1 "mythpreviewgen" received signal SIGABRT, Aborted.
0x00007ffff5ea1afc in __pthread_kill_implementation () from /usr/lib64/libc.so.6

Thread 10 (Thread 0x7fffd19fd640 (LWP 19049) "MythSocketThrea"):
#0  0x00007ffff5f425de in ppoll () at /usr/lib64/libc.so.6
#1  0x00007ffff68f41d0 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ffff2d5aeb7 in QNativeSocketEnginePrivate::nativeSelect(int, bool, bool, bool*, bool*) const () at /usr/lib64/libQt5Network.so.5
#3  0x00007ffff2d58bc5 in QNativeSocketEngine::waitForReadOrWrite(bool*, bool*, bool, bool, int, bool*) () at /usr/lib64/libQt5Network.so.5
#4  0x00007ffff2d49f05 in QAbstractSocket::waitForReadyRead(int) () at /usr/lib64/libQt5Network.so.5
#5  0x00007ffff6e8c53d in MythSocket::ReadStringListReal(QStringList*, std::chrono::duration<long, std::ratio<1l, 1000l> >, bool*) (this=0x7fffc4025dd0, list=0x7fffd29fe660, timeoutMS=..., ret=0x7fffd29fe607) at mythsocket.cpp:825
        timer = {m_timer = {t1 = 30682, t2 = 685272673}, m_offset = {__r = 0}}
        elapsed = {__r = <optimized out>}
        __FUNCTION__ = "ReadStringListReal"
        sizestr = {d = 0x7fffb8006ee0}
        sizes = {d = 0xcf8028b5d18de000}
        ok = false
        btr = <optimized out>
        utf8 = {d = 0x7fffd19fc4d8}
        readoffset = <optimized out>
        errmsgtime = {__r = <optimized out>}
        str = {d = 0x7ffff6ecf535 <MythCoreContext::readyRead(MythSocket*)+485>}
#6  0x00007ffff68d1339 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007ffff68a6bcb in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#8  0x00007ffff68aa156 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007ffff68f84e7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007ffff23aa0af in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#11 0x00007ffff23ff308 in g_main_context_iterate.constprop () at /usr/lib64/libglib-2.0.so.0
#12 0x00007ffff23a78a3 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#13 0x00007ffff68f7f88 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#14 0x00007ffff68a55f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#15 0x00007ffff66e834a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#16 0x00007ffff6e80c71 in MThreadInternal::QThreadRun() (this=<optimized out>) at mthread.cpp:80
#17 MThread::run() (this=0x7fffc40264b0) at mthread.cpp:321
#18 MThreadInternal::run() (this=<optimized out>) at mthread.cpp:78
#19 0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#21 0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 9 (Thread 0x7fffd21fe640 (LWP 19047) "MythSocketThrea"):
#0  0x00007ffff5f424df in poll () at /usr/lib64/libc.so.6
#1  0x00007ffff23ff29c in g_main_context_iterate.constprop () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff23a78a3 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff68f7f88 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffff68a55f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ffff66e834a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007ffff6e80c71 in MThreadInternal::QThreadRun() (this=<optimized out>) at mthread.cpp:80
#7  MThread::run() (this=0x7fffc4025490) at mthread.cpp:321
#8  MThreadInternal::run() (this=<optimized out>) at mthread.cpp:78
#9  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#11 0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 8 (Thread 0x7fffd29ff640 (LWP 19045) "PT1"):
#0  0x00007ffff5e3f3ed in syscall () at /usr/lib64/libc.so.6
#1  0x00007ffff66eb46e in QSemaphore::acquire(int) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ffff68b542f in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffff68b665a in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffff6e86311 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=<optimized out>, member=0x7ffff7019b6e "ReadStringListReal", obj=0x7fffc4025dd0) at /usr/include/qt5/QtCore/qobjectdefs.h:444
        ret = false
#5  MythSocket::ReadStringList(QStringList&, std::chrono::duration<long, std::ratio<1l, 1000l> >) (this=this at entry=0x7fffc4025dd0, list=..., timeoutMS=timeoutMS at entry=...) at mythsocket.cpp:322
        ret = false
#6  0x00007ffff6ec6023 in MythCoreContext::ConnectEventSocket(QString const&, int) (this=<optimized out>, hostname=<optimized out>, port=6543) at mythcorecontext.cpp:565
        eventSock = 0x7fffc4025dd0
        __FUNCTION__ = "ConnectEventSocket"
        __func__ = "ConnectEventSocket"
        str = {d = 0x7fffc4026940}
        strlist = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff6977cd0 <QListData::shared_null>}, d = 0x7ffff6977cd0 <QListData::shared_null>}}, <No data fields>}
        ok = true
#7  0x00007ffff6ecc8c4 in MythCoreContext::ConnectToMasterServer(bool, bool) (this=0x5555556cfb70, blockingClient=<optimized out>, openEventSocket=<optimized out>) at mythcorecontext.cpp:410
        __FUNCTION__ = "ConnectToMasterServer"
        __func__ = "ConnectToMasterServer"
        server = {d = 0x7fffc400e7d0}
        port = 6543
        proto_mismatch = false
#8  0x00007ffff6ecd254 in MythCoreContext::SendReceiveStringList(QStringList&, bool, bool) (this=0x5555556cfb70, strlist=..., quickTimeout=<optimized out>, block=<optimized out>) at mythcorecontext.cpp:1394
        msg = {d = 0x7ffff6977260 <QArrayData::shared_null>}
        __FUNCTION__ = "SendReceiveStringList"
        __func__ = "SendReceiveStringList"
        query_type = {d = 0x7fffc4005260}
        locker = {val = 93824993787025}
        ok = <optimized out>
#9  0x00007ffff6ed2e74 in SendAsyncMessage::run() (this=0x7fffc0004a80) at mythcorecontext.cpp:1509
        strlist = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffc4005470}, d = 0x7fffc4005470}}, <No data fields>}
#10 0x00007ffff6e8599b in MPoolThread::run() (this=0x7fffc0004b70) at mthreadpool.cpp:142
        autodelete = true
        t = {m_timer = {t1 = 30682, t2 = 653899820}, m_offset = {__r = 0}}
        locker = {val = 140736414632849}
#11 0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#13 0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 7 (Thread 0x7fffd37fe640 (LWP 19044) "PT0"):
#0  0x00007ffff5e9c94a in __futex_abstimed_wait_common () at /usr/lib64/libc.so.6
#1  0x00007ffff5e9f454 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib64/libc.so.6
#2  0x00007ffff66eeffa in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffff66ef0fb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffff6d4beef in ProgramInfoUpdater::run() (this=0x5555555d04f0) at programinfoupdater.cpp:99
        workDone = true
#5  0x00007ffff6e8599b in MPoolThread::run() (this=0x555555710de0) at mthreadpool.cpp:142
        autodelete = false
        t = {m_timer = {t1 = 30682, t2 = 452859913}, m_offset = {__r = 0}}
        locker = {val = 93824994053633}
#6  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#8  0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 6 (Thread 0x7fffd3fff640 (LWP 19031) "QDBusConnection"):
#0  0x00007ffff5f424df in poll () at /usr/lib64/libc.so.6
#1  0x00007ffff23ff29c in g_main_context_iterate.constprop () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff23a78a3 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff68f7f88 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffff68a55f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ffff66e834a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007ffff44f2b7b in QDBusConnectionManager::run() () at /usr/lib64/libQt5DBus.so.5
#7  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#8  0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#9  0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 5 (Thread 0x7fffe0dfc640 (LWP 19029) "TaskQueue"):
#0  0x00007ffff5f13605 in clock_nanosleep at GLIBC_2.2.5 () at /usr/lib64/libc.so.6
#1  0x00007ffff5f181a7 in nanosleep () at /usr/lib64/libc.so.6
#2  0x00007ffff68f7875 in qt_nanosleep(timespec) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffff7143c78 in TaskQueue::run() (this=0x5555556d0f10) at /usr/include/c++/11/chrono:537
        pTask = 0x0
        __FUNCTION__ = "run"
#4  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#6  0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 4 (Thread 0x7fffe15fd640 (LWP 19028) "SSDP"):
#0  0x00007ffff5f44c3d in select () at /usr/lib64/libc.so.6
#1  0x00007ffff714114e in SSDP::run() (this=0x5555556cffb0) at ssdp.cpp:287
        nMaxSocket = 11
        count = <optimized out>
        read_set = {fds_bits = {3328, 0 <repeats 15 times>}}
        timeout = {tv_sec = 1, tv_usec = 0}
        __FUNCTION__ = "run"
#2  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#4  0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 3 (Thread 0x7fffe1dfe640 (LWP 19027) "Logger"):
#0  0x00007ffff5e9c94a in __futex_abstimed_wait_common () at /usr/lib64/libc.so.6
#1  0x00007ffff5e9f454 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib64/libc.so.6
#2  0x00007ffff66eeffa in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffff66ef0fb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffff6f1cda2 in LoggerThread::run() (this=0x5555556c5cf0) at logging.cpp:293
        item = <optimized out>
        __FUNCTION__ = "run"
        dieNow = false
        qLock = {val = 140737337972561}
#5  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#6  0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#7  0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 2 (Thread 0x7fffe25ff640 (LWP 19026) "LogForward"):
#0  0x00007ffff5e9c94a in __futex_abstimed_wait_common () at /usr/lib64/libc.so.6
#1  0x00007ffff5e9f454 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib64/libc.so.6
#2  0x00007ffff66eeffa in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffff66ef0fb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffff6f29d78 in LogForwardThread::run() (this=0x5555556c5fe0) at loggingserver.cpp:670
        lock = {val = 140737337972601}
        processed = <optimized out>
        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}, static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffe25fe9e8}, d = 0x7fffe25fe9e8}}
#5  0x00007ffff66e9546 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#6  0x00007ffff5e9fdb2 in start_thread () at /usr/lib64/libc.so.6
#7  0x00007ffff5e3f9e0 in clone3 () at /usr/lib64/libc.so.6

Thread 1 (Thread 0x7fffe91ffb80 (LWP 19023) "mythpreviewgen"):
#0  0x00007ffff5ea1afc in __pthread_kill_implementation () at /usr/lib64/libc.so.6
#1  0x00007ffff5e552a6 in raise () at /usr/lib64/libc.so.6
#2  0x00007ffff5e287f3 in abort () at /usr/lib64/libc.so.6
#3  0x00007ffff5e95af7 in __libc_message () at /usr/lib64/libc.so.6
#4  0x00007ffff5eabbbc in  () at /usr/lib64/libc.so.6
#5  0x00007ffff5eac93c in malloc_consolidate () at /usr/lib64/libc.so.6
#6  0x00007ffff5ead930 in _int_free () at /usr/lib64/libc.so.6
#7  0x00007ffff5eaff55 in free () at /usr/lib64/libc.so.6
#8  0x00007ffff4239e76 in av_free (ptr=<optimized out>) at libavutil/mem.c:224
#9  0x00007ffff481e745 in avcodec_parameters_free (ppar=<optimized out>) at libavcodec/codec_par.c:69
        par = <optimized out>
#10 0x00007ffff5bb771e in free_stream (pst=0x555555cbe448) at libavformat/utils.c:4474
        st = 0x555555a21340
        i = <optimized out>
#11 0x00007ffff5bc45d1 in avformat_free_context (s=0x55555575c3c0) at libavformat/utils.c:4515
        i = <optimized out>
#12 0x00007ffff5bc4843 in avformat_close_input (ps=0x55555575a9d8) at libavformat/utils.c:4564
        s = 0x55555575c3c0
        pb = <optimized out>
#13 0x00007ffff77c88c9 in AvFormatDecoder::CloseContext() (this=this at entry=0x55555575a440) at decoders/avformatdecoder.cpp:454
        fmt = 0x7ffff5c7ed40 <ff_mythtv_mpegts_demuxer>
#14 0x00007ffff77c9649 in AvFormatDecoder::~AvFormatDecoder() (this=0x55555575a440, __in_chrg=<optimized out>) at decoders/avformatdecoder.cpp:401
#15 0x00007ffff77c9a4d in AvFormatDecoder::~AvFormatDecoder() (this=0x55555575a440, __in_chrg=<optimized out>) at decoders/avformatdecoder.cpp:422
#16 0x00007ffff774b143 in MythPlayer::SetDecoder(DecoderBase*) (this=0x55555573b8d0, dec=0x0) at mythplayer.cpp:1907
        __FUNCTION__ = "SetDecoder"
#17 0x00007ffff7745c7b in MythPlayer::StopPlaying() (this=0x55555573b8d0) at mythplayer.cpp:965
        __FUNCTION__ = "StopPlaying"
#18 0x00007ffff77833a8 in PlayerContext::StopPlaying() const (this=0x555555710840) at playercontext.cpp:148
        locker = {val = 93824994052393}
#19 PlayerContext::SetPlayer(MythPlayer*) (this=0x555555710840, newplayer=0x0) at playercontext.cpp:457
        locker = {val = 93824994052393}
#20 0x00007ffff7783e4e in PlayerContext::TeardownPlayer() (this=0x555555710840) at playercontext.cpp:47
#21 0x00007ffff7784b61 in PlayerContext::~PlayerContext() (this=0x555555710840, __in_chrg=<optimized out>) at playercontext.cpp:36
#22 0x00007ffff7526e97 in PreviewGenerator::GetScreenGrab(ProgramInfo const&, QString const&, std::chrono::duration<long, std::ratio<1l, 1l> >, long long, int&, int&, int&, float&) (pginfo=..., filename=..., seektime=..., seekframe=5340, bufferlen=@0x7fffffffd45c: 0, video_width=@0x7fffffffd454: 704, video_height=@0x7fffffffd458: 576, video_aspect=@0x7fffffffd450: 1.77777779) at previewgenerator.cpp:848
        retbuf = 0x7fffb609e040 ""
        __FUNCTION__ = "GetScreenGrab"
        buffer = <optimized out>
        ctx = 0x555555710840
        player = 0x55555573b8d0
        pos_text = {d = 0x7ffff6f225d0 <QList<LoggingItem*>::append(LoggingItem* const&)+64>}
#23 0x00007ffff7529381 in PreviewGenerator::LocalPreviewRun() (this=0x55555570cd30) at previewgenerator.cpp:695
        aspect = 1.77777779
        captime = {__r = 0}
        capframe = <optimized out>
        dt = {d = {d = 0x18231376fc61f, data = {status = 31, msecs = 1658683092934}}}
        __FUNCTION__ = "LocalPreviewRun"
        width = 704
        height = 576
        sz = 0
        data = <optimized out>
        outname = {d = 0x555555714ad0}
        format = {d = 0x555555711a40}
        dw = <optimized out>
        dh = <optimized out>
        ok = <optimized out>
#24 0x00007ffff752a388 in PreviewGenerator::RunReal() (this=this at entry=0x55555570cd30) at previewgenerator.cpp:145
        msg = {d = 0x7ffff6977260 <QArrayData::shared_null>}
        tm = {mds = 65892931}
        te = {t1 = 30682, t2 = 449994013}
        ok = false
        is_local = true
        __FUNCTION__ = "RunReal"
        locker = {val = 140737488344640}
#25 0x0000555555559873 in preview_helper(unsigned int, QDateTime, long long, std::chrono::duration<long, std::ratio<1l, 1l> >, QSize, QString const&, QString const&) (chanid=<optimized out>, starttime=..., previewFrameNumber=0, previewSeconds=..., previewSize=..., infile=<optimized out>, outfile=...) at mythpreviewgen.cpp:122
        __FUNCTION__ = "preview_helper"
        pginfo = 0x5555556c3800
        previewgen = 0x55555570cd30
        ok = <optimized out>
#26 0x0000555555558851 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at mythpreviewgen.cpp:197
        cmdline = {<MythCommandLineParser> = {_vptr.MythCommandLineParser = 0x55555555eaa0 <vtable for MythPreviewGeneratorCommandLineParser+16>, m_appname = {d = 0x5555556b8ee0}, m_optionedArgs = {d = 0x5555556b9480}, m_namedArgs = {d = 0x5555556b93f0}, m_passthroughActive = false, m_overridesImported = false, m_verbose = false}, <No data fields>}
        a = <incomplete type>
        retval = <optimized out>
        callCleanup = {m_cleanFunction = 0x555555558c40 <(anonymous namespace)::cleanup()>}
        __FUNCTION__ = "main"
        ret = <optimized out>
Missing separate debuginfos, use: dnf debuginfo-install alsa-lib-1.2.7.2-1.fc35.x86_64 avahi-compat-libdns_sd-0.8-14.fc35.x86_64 avahi-libs-0.8-14.fc35.x86_64 bzip2-libs-1.0.8-9.fc35.x86_64 dbus-libs-1.12.22-1.fc35.x86_64 elfutils-libelf-0.187-4.fc35.x86_64 elfutils-libs-0.187-4.fc35.x86_64 flac-libs-1.3.4-1.fc35.x86_64 fontconfig-2.13.94-5.fc35.x86_64 freetype-2.11.0-6.fc35.x86_64 fribidi-1.0.11-3.fc35.x86_64 glib2-2.70.5-1.fc35.x86_64 glibc-2.34-38.fc35.x86_64 gmp-6.2.0-7.fc35.x86_64 gnutls-3.7.6-3.fc35.x86_64 gsm-1.0.19-6.fc35.x86_64 gstreamer1-plugins-base-1.20.0-1.fc35.x86_64 hdhomerun-20200907-3.fc35.x86_64 jack-audio-connection-kit-1.9.19-1.fc35.x86_64 krb5-libs-1.19.2-8.fc35.x86_64 lame-libs-3.100-11.fc35.x86_64 libX11-1.7.3.1-1.fc35.x86_64 libXau-1.0.9-7.fc35.x86_64 libXext-1.3.4-7.fc35.x86_64 libXfixes-6.0.0-2.fc35.x86_64 libXrandr-1.5.2-7.fc35.x86_64 libXrender-0.9.10-15.fc35.x86_64 libaom-3.2.0-2.fc35.x86_64 libass-0.15.2-1.fc35.x86_64 libasyncns-0.8-21.fc35.x86_64 libavc1394-0.5.4-16.fc35.x86_64 libblkid-2.37.4-1.fc35.x86_64 libbluray-1.3.1-1.fc35.x86_64 libbrotli-1.0.9-6.fc35.x86_64 libdav1d-0.9.2-1.fc35.x86_64 libdb-5.3.28-50.fc35.x86_64 libgcc-11.3.1-2.fc35.x86_64 libgcrypt-1.9.4-1.fc35.x86_64 libglvnd-egl-1.3.4-2.fc35.x86_64 libglvnd-glx-1.3.4-2.fc35.x86_64 libgpg-error-1.43-1.fc35.x86_64 libicu-69.1-6.fc35.x86_64 libidn2-2.3.2-3.fc35.x86_64 libiec61883-1.2.0-27.fc35.x86_64 libjpeg-turbo-2.1.0-3.fc35.x86_64 libjxl-0.6.1-6.fc35.x86_64 libogg-1.3.5-2.fc35.x86_64 libpng-1.6.37-11.fc35.x86_64 libraw1394-2.1.2-14.fc35.x86_64 libsamplerate-0.2.2-1.fc35.x86_64 libselinux-3.3-1.fc35.x86_64 libstdc++-11.3.1-2.fc35.x86_64 libtasn1-4.16.0-6.fc35.x86_64 libudfread-1.1.2-2.fc35.x86_64 libunistring-0.9.10-14.fc35.x86_64 libunwind-1.5.0-1.fc35.x86_64 libva-2.13.0-3.fc35.x86_64 libvdpau-1.5-1.fc35.x86_64 libvorbis-1.3.7-4.fc35.x86_64 libwayland-client-1.20.0-4.fc35.x86_64 libxcb-1.13.1-8.fc35.x86_64 libxml2-2.9.14-1.fc35.x86_64 libxslt-1.1.35-2.fc35.x86_64 libzip-1.8.0-2.fc35.x86_64 lz4-libs-1.9.3-3.fc35.x86_64 lzo-2.10-5.fc35.x86_64 nettle-3.8-1.fc35.x86_64 openssl-libs-1.1.1q-1.fc35.x86_64 orc-0.4.31-5.fc35.x86_64 p11-kit-0.23.22-4.fc35.x86_64 pulseaudio-libs-15.0-2.fc35.x86_64 qt5-qtbase-5.15.2-31.fc35.x86_64 qt5-qtbase-gui-5.15.2-31.fc35.x86_64 qt5-qtbase-mysql-5.15.2-31.fc35.x86_64 qt5-qtdeclarative-5.15.2-8.fc35.x86_64 qt5-qtsensors-5.15.2-5.fc35.x86_64 qt5-qtwebkit-5.212.0-0.60.alpha4.fc35.x86_64 soundtouch-2.3.1-1.fc35.x86_64 systemd-libs-249.12-5.fc35.x86_64 x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 x265-libs-3.5-2.fc35.x86_64 xvidcore-1.3.7-6.fc35.x86_64 zlib-1.2.11-30.fc35.x86_64
(gdb) 


More information about the mythtv-dev mailing list