[mythtv-commits] Ticket #9378: [PATCH] libmythdb: Qt assertion failure in MythSystemReaper::run

MythTV noreply at mythtv.org
Wed Dec 15 20:54:11 UTC 2010


#9378: [PATCH] libmythdb: Qt assertion failure in MythSystemReaper::run
-------------------------------------------------+-------------------------
 Reporter:  Lawrence Rust <lvr@…>                |           Type:  Patch -
   Status:  new                                  |  Bug Fix
Milestone:  unknown                              |       Priority:  minor
  Version:  0.24-fixes                           |      Component:  MythTV
 Keywords:  assertion 171 libmythdb              |  - General
  MythSystemReaper                               |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 Running a Linux debug build of mythfrontend fixes/0.24 with a debug build
 of Qt 4.7.0 causes an assertion failure in MythSystemReaper::run line 171.
 This is the gdb traceback:

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 0xb0effb70 (LWP 16613)]
 0xb7fe2424 in __kernel_vsyscall ()

 Thread 5 (Thread 0xb0effb70 (LWP 16613)):
 #0  0xb7fe2424 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0xb2f5b651 in raise () from /lib/tls/i686/cmov/libc.so.6
 No symbol table info available.
 #2  0xb2f5ea82 in abort () from /lib/tls/i686/cmov/libc.so.6
 No symbol table info available.
 #3  0xb328273f in qt_message_output (msgType=QtFatalMsg, buf=0x82e2890
 "ASSERT failure in QMutex::unlock(): \"A mutex must be unlocked in the
 same thread that locked it.\", file thread/qmutex.cpp, line 370") at
 global/qglobal.cpp:2259
 No locals.
 #4  0xb328292c in qt_message (msgType=QtFatalMsg, msg=0xb34089b0 "ASSERT
 failure in %s: \"%s\", file %s, line %d", ap=0xb0eff154
 "\244\235@\263ĝ@\263d\235@\263r\001") at global/qglobal.cpp:2305
         buf = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size
 = 0, data = 0xb34d7604 "", array = ""}, static shared_empty = {ref =
 {_q_value = 2}, alloc = 0, size = 0, data = 0xb34d7618 "", array = ""}, d
 = 0x82e2880}
 #5  0xb328298d in qFatal (msg=0xb34089b0 "ASSERT failure in %s: \"%s\",
 file %s, line %d") at global/qglobal.cpp:2488
 No locals.
 #6  0xb32829cb in qt_assert_x (where=0xb3409da4 "QMutex::unlock()",
 what=0xb3409dc4 "A mutex must be unlocked in the same thread that locked
 it.", file=0xb3409d64 "thread/qmutex.cpp", line=370) at
 global/qglobal.cpp:2012
 No locals.
 #7  0xb3285ae9 in QMutex::unlock (this=0x82e2008) at thread/qmutex.cpp:370
 No locals.
 #8  0xb697d439 in MythSystemReaper::run (this=0x82e2b08) at
 mythsystem.cpp:171
         i = {i = 0x82e0920}
         pidData = 0x82e2008
         pid = 16612
         count = 1
         status = 0
         now = 1292441874
         next = {i = 0x82e0920}
 #9  0xb328c356 in QThreadPrivate::start (arg=0x82e2b08) at
 thread/qthread_unix.cpp:266
         thr = 0x82e2b08
         data = 0x82e1678
 #10 0xb31cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 No symbol table info available.
 #11 0xb2ffea4e in clone () from /lib/tls/i686/cmov/libc.so.6
 No symbol table info available.

 The attached patch fixes this

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9378>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list