[mythtv] RE: Status monitor: endless loop

Ivor Hewitt ivor at ivor.org
Mon Oct 3 11:58:13 UTC 2005


On Monday 03 October 2005 11:09, Mark Edwards wrote:
> On my UK terrestrial card this morning I found the backend had entered an
> endless loop showing the following:

Yup just started seeing this with svn at 7376 too.

gdb bt when it's in this loop (using 98% cpu):

$thread apply all bt

Thread 18 (Thread -1238406224 (LWP 22984)):
#0  0xffffe410 in ?? ()
#1  0xb62f6338 in ?? ()
#2  0x00f5ea8f in ?? ()
#3  0x00000000 in ?? ()
#4  0xb667acb6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#5  0xb6d1b75e in QWaitCondition::wait (this=0x81069a8, time=4294967295)
    at
/usr/src/svn/trunk/KDE/qt-copy/src/tools/qwaitcondition_unix.cpp:242
#6  0xb7c1e1c3 in TVRec::WaitForEventThreadSleep (this=0x8106878,
wake=true, time=4294967295)
    at tv_rec.cpp:1248
#7  0xb7c2d663 in TVRec::SetChannel (this=0x8106878, name=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x80dd070, static shared_null = 0x80dd070}, d =
0x813cce0, static shared_null = 0x80dd070}) at tv_rec.cpp:2812
#8  0xb7d3c132 in EITScanner::RunEventLoop (this=0x810d178) at
eitscanner.cpp:90
#9  0xb7d3bfd7 in EITScanner::SpawnEventLoop (param=0x810d178) at
eitscanner.cpp:65
#10 0xb66783a0 in start_thread (arg=0xb62f6bb0) at pthread_create.c:261
#11 0xb6512dce in clone () from /lib/libc.so.6

Thread 17 (Thread -1247065168 (LWP 22986)):
#0  0xffffe410 in ?? ()
#1  0xb5ab42f8 in ?? ()
#2  0x00f5eb4b in ?? ()
#3  0x00000000 in ?? ()
#4  0xb667af2c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait
.S:175
#5  0xb6d1b741 in QWaitCondition::wait (this=0x81069a0, time=30000)
    at
/usr/src/svn/trunk/KDE/qt-copy/src/tools/qwaitcondition_unix.cpp:240
#6  0xb7c1e0e9 in TVRec::RunTV (this=0x8106878) at tv_rec.cpp:1230
#7  0xb7c1d4c9 in TVRec::EventThread (param=0x8106878) at
tv_rec.cpp:1103
#8  0xb66783a0 in start_thread (arg=0xb5ab4bb0) at pthread_create.c:261
#9  0xb6512dce in clone () from /lib/libc.so.6

Thread 16 (Thread -1255457872 (LWP 22987)):
#0  0xffffe410 in ?? ()
#1  0xb52b3338 in ?? ()
#2  0x00d7a94d in ?? ()
#3  0x00000000 in ?? ()
#4  0xb667acb6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#5  0xb6d1b75e in QWaitCondition::wait (this=0x81132e0, time=4294967295)
    at
/usr/src/svn/trunk/KDE/qt-copy/src/tools/qwaitcondition_unix.cpp:242
#6  0xb7c1e1c3 in TVRec::WaitForEventThreadSleep (this=0x81131b0,
wake=true, time=4294967295)
    at tv_rec.cpp:1248
#7  0xb7c2d663 in TVRec::SetChannel (this=0x81131b0, name=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x80dd070, static shared_null = 0x80dd070}, d =
0x81401a8, static shared_null = 0x80dd070}) at tv_rec.cpp:2812
#8  0xb7d3c132 in EITScanner::RunEventLoop (this=0x810e5b0) at
eitscanner.cpp:90
#9  0xb7d3bfd7 in EITScanner::SpawnEventLoop (param=0x810e5b0) at
eitscanner.cpp:65
#10 0xb66783a0 in start_thread (arg=0xb52b3bb0) at pthread_create.c:261
#11 0xb6512dce in clone () from /lib/libc.so.6

Thread 15 (Thread -1264116816 (LWP 22989)):
#0  0xffffe410 in ?? ()
#1  0xb4a712f8 in ?? ()
#2  0x00d7aa21 in ?? ()
#3  0x00000000 in ?? ()
#4  0xb667af2c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
    at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait
.S:175
#5  0xb6d1b741 in QWaitCondition::wait (this=0x81132d8, time=30000)
    at
/usr/src/svn/trunk/KDE/qt-copy/src/tools/qwaitcondition_unix.cpp:240
#6  0xb7c1e0e9 in TVRec::RunTV (this=0x81131b0) at tv_rec.cpp:1230
#7  0xb7c1d4c9 in TVRec::EventThread (param=0x81131b0) at
tv_rec.cpp:1103
#8  0xb66783a0 in start_thread (arg=0xb4a71bb0) at pthread_create.c:261
#9  0xb6512dce in clone () from /lib/libc.so.6

Thread 14 (Thread -1272509520 (LWP 22990)):
#0  0xffffe410 in ?? ()
#1  0xb4270148 in ?? ()
#2  0x00000129 in ?? ()
#3  0x00000000 in ?? ()
#4  0xb667af2c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait
.S:175
#5  0xb6d1b8c3 in QWaitCondition::wait (this=0x810e94c, mutex=0x810e944,
time=1000)
    at
/usr/src/svn/trunk/KDE/qt-copy/src/tools/qwaitcondition_unix.cpp:301
#6  0x080a8501 in Scheduler::RunScheduler (this=0x810e918) at
scheduler.cpp:1018
#7  0x080abcf9 in Scheduler::SchedulerThread (param=0x810e918) at
scheduler.cpp:1432
#8  0xb66783a0 in start_thread (arg=0xb4270bb0) at pthread_create.c:261
#9  0xb6512dce in clone () from /lib/libc.so.6

Thread 13 (Thread -1280902224 (LWP 22991)):
#0  0xffffe410 in ?? ()
#1  0xb3a6f368 in ?? ()
#2  0xb656fff4 in ?? () from /lib/libc.so.6
#3  0xb3a6f1c4 in ?? ()
#4  0xb64e3096 in __nanosleep_nocancel () from /lib/libc.so.6
#5  0xb64e2e9d in __sleep (seconds=0) at sleep.c:137
#6  0x08058e8f in AutoExpire::Sleep (this=0x810fdc0) at
autoexpire.cpp:273
#7  0x08058e47 in AutoExpire::RunExpirer (this=0x810fdc0) at
autoexpire.cpp:261
#8  0x0805a397 in AutoExpire::ExpirerThread (param=0x810fdc0) at
autoexpire.cpp:379
#9  0xb66783a0 in start_thread (arg=0xb3a6fbb0) at pthread_create.c:261
#10 0xb6512dce in clone () from /lib/libc.so.6

Thread 12 (Thread -1289294928 (LWP 22992)):
#0  0xffffe410 in ?? ()
#1  0xb326e358 in ?? ()
#2  0xb656fff4 in ?? () from /lib/libc.so.6
#3  0xb326e1b4 in ?? ()
#4  0xb64e3096 in __nanosleep_nocancel () from /lib/libc.so.6
#5  0xb64e2e9d in __sleep (seconds=0) at sleep.c:137
#6  0x080bc61a in HouseKeeper::RunHouseKeeping (this=0x810f8f8) at
housekeeper.cpp:181
#7  0x080bd147 in HouseKeeper::doHouseKeepingThread (param=0x810f8f8) at
housekeeper.cpp:242
#8  0xb66783a0 in start_thread (arg=0xb326ebb0) at pthread_create.c:261
#9  0xb6512dce in clone () from /lib/libc.so.6

Thread 11 (Thread -1297687632 (LWP 22993)):
#0  0xffffe410 in ?? ()
#1  0xb2a6d028 in ?? ()
#2  0xb656fff4 in ?? () from /lib/libc.so.6
#3  0xb2a6ce84 in ?? ()
#4  0xb64e3096 in __nanosleep_nocancel () from /lib/libc.so.6
#5  0xb64e2e9d in __sleep (seconds=0) at sleep.c:137
#6  0xb79e9c1e in JobQueue::ProcessQueue (this=0x81123c0) at
jobqueue.cpp:469
#7  0xb79e505e in JobQueue::RunQueueProcesser (this=0x81123c0) at
jobqueue.cpp:135
#8  0xb79e5087 in JobQueue::QueueProcesserThread (param=0x81123c0) at
jobqueue.cpp:141
---Type <return> to continue, or q <return> to quit---
#9  0xb66783a0 in start_thread (arg=0xb2a6dbb0) at pthread_create.c:261
#10 0xb6512dce in clone () from /lib/libc.so.6

Thread 10 (Thread -1306080336 (LWP 22994)):
#0  0xffffe410 in ?? ()
#1  0xb226c3d8 in ?? ()
#2  0x00000001 in ?? ()
#3  0xb667acb6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#4  0xb6d1b8e3 in QWaitCondition::wait (this=Cannot access memory at
address 0x8
)
    at
/usr/src/svn/trunk/KDE/qt-copy/src/tools/qwaitcondition_unix.cpp:303
Previous frame inner to this frame (corrupt stack?)
#0  0xffffe410 in ?? ()


-- 
Ivor Hewitt.


More information about the mythtv-dev mailing list