[mythtv-users] Mythlcdserver dies?

Stefan D raptorjr08 at gmail.com
Thu Mar 15 21:14:45 UTC 2012


On Thu, Mar 15, 2012 at 8:27 PM, Gavin Hurlbut <gjhurlbu at gmail.com> wrote:

> On Thu, Mar 15, 2012 at 11:40 AM, Stefan D <raptorjr08 at gmail.com> wrote:
> > The last weeks i had a problem with mythlcdserver dying. I'm running the
> > development version. I enabled all logging but don't see anything
> regarding
> > to why it dies. What can i do to find the problem and create a ticket?
>
> Turn on core dumps and let it dump one.  The debugging page on the
> wiki should have that information.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

I dont know if i have done it right since it is the first time, but i got a
gdb.txt file, is that useful? Or is this particular gdb.txt useful? If i
done something wrong maybe it is useless.

If it is, i could create a ticket. Just want to make sure i did it right
and don't create tickets that will get closed immediately.

/Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120315/e0539e1e/attachment.html 
-------------- next part --------------
Function "qFatal" not defined.
Breakpoint 1 (qFatal) pending.
[Thread debugging using libthread_db enabled]

Program exited normally.
Function "qFatal" not defined.
Breakpoint 1 (qFatal) pending.
[Thread debugging using libthread_db enabled]
[New Thread 0xb7dd1b70 (LWP 18551)]
[New Thread 0xb75d0b70 (LWP 18552)]
[New Thread 0xb6bffb70 (LWP 18553)]
[Thread 0xb6bffb70 (LWP 18553) exited]
[New Thread 0xb6bffb70 (LWP 18554)]
[New Thread 0xb63feb70 (LWP 18555)]
[Thread 0xb63feb70 (LWP 18555) exited]

Program received signal SIGSEGV, Segmentation fault.
0x0804c852 in QBasicAtomicInt::ref (this=0xa) at /usr/include/qt4/QtCore/qatomic_i386.h:120
120	                 : "memory");

Thread 5 (Thread 0xb6bffb70 (LWP 18554)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x03ab4391 in select () at ../sysdeps/unix/syscall-template.S:82
No locals.
#2  0x017582e6 in MythSocketThread::run (this=0x810e760) at mythsocketthread.cpp:263
        dummy = "00z\003\000d\021\b\364?\003\210\362\277\266f\273w\003\310\a\016\b\310\a\016\b\000\000\000\000\224?\003\215\177\177\003\000\000\000\000+\213{\003\364?\003\364?\003\310\a\016\b\270\362\277\266>\217{\003\000d\021\b\310\a\016\b\000\000\000\000\002\000\000\000\350\362\277\266\000\000\000\000\000\000\000\000\364?\003\000d\021\b\001\000\000\000\b?xh\003\000d\021\b\000\000\000\000\363\302\237\003"
        efds = {fds_bits = {786432, 0 <repeats 31 times>}}
        timers = {{d = 0xb6c00870, e = 0xb6c00870}}
        maxfd = 19
        rfds = {fds_bits = {786432, 0 <repeats 31 times>}}
        it = {i = 0x81218f0}
        rval = 1
        downref_tm = 0
        tm = {mds = 79620290}
        __FUNCTION__ = "run"
        locker = {val = 135325553}
#3  0x0174006c in MThreadInternal::run (this=0x8121848) at mthread.cpp:78
No locals.
#4  0x03687df9 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#5  0x0277ccc9 in start_thread (arg=0xb6bffb70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb6bffb70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {41476084, 0, 4001536, -1228934088, 903433899, -1515790910}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x03abb6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 3 (Thread 0xb75d0b70 (LWP 18552)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02781884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
No locals.
#2  0x0368894f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#3  0x0181dc5d in LoggerThread::run (this=0x80bedd0) at logging.cpp:826
        item = 0xb6c07ad0
        qLock = {val = 25906277}
#4  0x0174006c in MThreadInternal::run (this=0x80c7e90) at mthread.cpp:78
No locals.
#5  0x03687df9 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#6  0x0277ccc9 in start_thread (arg=0xb75d0b70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb75d0b70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {41476084, 0, 4001536, -1218640840, -264679768, -1515790910}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x03abb6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 2 (Thread 0xb7dd1b70 (LWP 18551)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02781884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
No locals.
#2  0x0368894f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#3  0x0181ce9e in DBLoggerThread::run (this=0x80d2378) at logging.cpp:649
        item = 0xb6c07ad0
        query = 0x80ab048
        qLock = {val = 135078797}
#4  0x0174006c in MThreadInternal::run (this=0x80c7c38) at mthread.cpp:78
No locals.
#5  0x03687df9 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#6  0x0277ccc9 in start_thread (arg=0xb7dd1b70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb7dd1b70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {41476084, 0, 4001536, -1210248136, -266776919, -1515790910}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x03abb6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 1 (Thread 0xb7fd3720 (LWP 18548)):
#0  0x0804c852 in QBasicAtomicInt::ref (this=0xa) at /usr/include/qt4/QtCore/qatomic_i386.h:120
        ret = 1 '\001'
#1  0x0804c91e in QString::QString (this=0xbfffef3c, other=...) at /usr/include/qt4/QtCore/qstring.h:728
No locals.
#2  0x08068c77 in TunerStatus::TunerStatus (this=0xbfffef34) at ../../libs/libmythtv/tvremoteutil.h:19
No locals.
#3  0x08063496 in LCDProcClient::outputRecStatus (this=0x8122600) at lcdprocclient.cpp:2000
        status = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x807730c, static codecForCStrings = 0x0}
        list = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 347}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x8077240}, d = 0x8077240}}, <No data fields>}
        listTime = 10000
        aString = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x807730c, static codecForCStrings = 0x0}
        tuner = {id = 49, isRecording = false, channame = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa, static codecForCStrings = 0x0}, title = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80d2540, static codecForCStrings = 0x0}, subtitle = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x8121ea0, static codecForCStrings = 0x0}, startTime = {d = {d = 0x0}}, endTime = {d = {d = 0x10}}}
#4  0x0806b15f in LCDProcClient::qt_metacall (this=0x8122600, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbffff0cc) at moc_lcdprocclient.cpp:110
No locals.
#5  0x0378f8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#6  0x037a26ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#7  0x037f41e7 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
No symbol table info available.
#8  0x037a81ce in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#9  0x0379c504 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#10 0x037893e3 in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#11 0x03789a73 in QCoreApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#12 0x03789b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#13 0x037bbad6 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#14 0x037b88a7 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#15 0x068da855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x068de668 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x068de848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x037b8565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#19 0x03788609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#20 0x03788a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#21 0x0378d00f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
No symbol table info available.
#22 0x0804c716 in main (argc=5, argv=0xbffff764) at main.cpp:121
        startup_message = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x38bd480, static codecForCStrings = 0x0}
        message_time = 30
        a = <incomplete type>
        retval = 0
        __FUNCTION__ = "main"
        assigned_port = 6545
        special_port = -1
        cmdline = {<MythCommandLineParser> = {_vptr.MythCommandLineParser = 0x806e070, m_appname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80b57a8, static codecForCStrings = 0x0}, m_optionedArgs = {{d = 0x80b5f10, e = 0x80b5f10}}, m_namedArgs = {{d = 0x80b5e58, e = 0x80b5e58}}, m_passthroughActive = false, m_overridesImported = false, m_verbose = false}, <No data fields>}
        daemonize = false
        mask = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 368}, alloc = 0, size = 0, data = 0x807731e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 102}, alloc = 0, size = 0, data = 0x38bd492, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80beb68, static codecForCStrings = 0x0}


More information about the mythtv-users mailing list