[mythtv] backend dies when frontend killed
James Knight
foom at fuhm.net
Sat Jun 21 13:32:30 EDT 2003
I've been having some problems with mythtv backend from CVS on Jun 16
19:36 -0400. If a frontend dies while watching live TV (aka stop X with
control-alt-backspace), mythbackend goes comatose and (at least) stops
responding to commands on its control port.
Backtrace follows.
James
Thread 11 (Thread 147466 (LWP 14959)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x408a3790 in __pthread_alt_lock () from /lib/libpthread.so.0
No symbol table info available.
#3 0x408a0984 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4 0x40722c9d in QRecursiveMutexPrivate::lock() () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#5 0x4072306a in QMutex::lock() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x404c7c38 in QApplication::lock() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7 0x400c1703 in WriteBlock(QSocket*, void*, int) (socket=0x40f02588,
data=0x41201008, len=128000) at util.cpp:120
temp = 0
size = 128000
written = 0
#8 0x080b6ccf in TVRec::DoReadThread() (this=0x8342498) at
tv_rec.cpp:2013
ret = 128000
buffer = 0x41201008 "\221Q\200p\017\035"
#9 0x080b6d49 in TVRec::ReadThread(void*) (param=0x8342498) at
tv_rec.cpp:2026
thetv = (TVRec *) 0x8342498
#10 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 10 (Thread 131081 (LWP 14958)):
#0 0x40a54e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x408a3d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a7910a in usleep () from /lib/libc.so.6
No symbol table info available.
#3 0x08096013 in ThreadedFileWriter::DiskLoop() (this=0x837f290) at
RingBuffer.cpp:192
size = 0
#4 0x08095b49 in ThreadedFileWriter::boot_writer(void*)
(wotsit=0x837f290) at RingBuffer.cpp:79
fw = (ThreadedFileWriter *) 0x837f290
#5 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 9 (Thread 114696 (LWP 14912)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x408a3790 in __pthread_alt_lock () from /lib/libpthread.so.0
No symbol table info available.
#3 0x408a0984 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4 0x40722c9d in QRecursiveMutexPrivate::lock() () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#5 0x4072306a in QMutex::lock() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x404c7c38 in QApplication::lock() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7 0x400c11e5 in WriteStringList(QSocket*, QStringList&)
(socket=0x40f024f0, list=@0xbebff97c) at util.cpp:41
temp = -1094715220
str = {static null = {static null = <same as static member of
an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x8365ec8, static shared_null
= 0x8326db0}
utf8 = <incomplete type>
size = 9
written = 0
payload = <incomplete type>
#8 0x08072ae5 in MainServer::HandleRecorderQuery(QStringList&,
QStringList&, PlaybackSock*) (this=0x834d350,
slist=@0x40f0049c, commands=@0x40f004a0, pbs=0x40f02b50) at
mainserver.cpp:1277
recnum = 1
iter = {node = 0x8342590}
enc = (EncoderLink *) 0x8336ab0
command = {static null = {static null = <same as static member
of an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x40f03088, static shared_null
= 0x8326db0}
retlist = {<QValueList<QString>> = {sh = 0x83b5d50}, <No data
fields>}
#9 0x080693b0 in MainServer::ProcessRequest(QStringList&,
QStringList&, PlaybackSock*) (this=0x834d350, listline=@0x40f0049c,
tokens=@0x40f004a0, pbs=0x40f02b50) at mainserver.cpp:242
command = {static null = {static null = <same as static member
of an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x40f02430, static shared_null
= 0x8326db0}
#10 0x08079a6b in ProcessRequestThread::run() (this=0x40f00490) at
mainserver.cpp:61
No locals.
#11 0x404bbe3e in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 8 (Thread 98311 (LWP 14911)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x4089ef05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x40723a27 in QWaitCondition::wait(unsigned long) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x08079a40 in ProcessRequestThread::run() (this=0x8350368) at
mainserver.cpp:57
No locals.
#5 0x404bbe3e in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 7 (Thread 81926 (LWP 14910)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x4089ef05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x40723a27 in QWaitCondition::wait(unsigned long) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x08079a40 in ProcessRequestThread::run() (this=0x836bb68) at
mainserver.cpp:57
No locals.
#5 0x404bbe3e in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 6 (Thread 65541 (LWP 14909)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x4089ef05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x40723a27 in QWaitCondition::wait(unsigned long) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x08079a40 in ProcessRequestThread::run() (this=0x834c278) at
mainserver.cpp:57
No locals.
#5 0x404bbe3e in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 5 (Thread 49156 (LWP 14908)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x4089ef05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x40723a27 in QWaitCondition::wait(unsigned long) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x08079a40 in ProcessRequestThread::run() (this=0x834d4b0) at
mainserver.cpp:57
No locals.
#5 0x404bbe3e in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 4 (Thread 32771 (LWP 14907)):
#0 0x40a54e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x408a3d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a54e10 in sleep () from /lib/libc.so.6
No symbol table info available.
#3 0x0807f98d in Scheduler::RunScheduler() (this=0x8342170) at
scheduler.cpp:1017
secsleft = 1935
resetIter = false
nexttv = (EncoderLink *) 0x0
nextRecording = (ProgramInfo *) 0x835cc80
nextrectime = {d = {jd = 2452812}, t = {ds = 46800000}}
curtime = {d = {jd = 2452812}, t = {ds = 44864343}}
lastupdate = {d = {jd = 2452812}, t = {ds = 44624052}}
recIter = {<_List_iterator_base> = {_M_node = 0x8358a80}, <No
data fields>}
#4 0x0807f9ad in Scheduler::SchedulerThread(void*) (param=0x8342170)
at scheduler.cpp:1024
sched = (Scheduler *) 0x8342170
#5 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 3 (Thread 16386 (LWP 14906)):
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x408a1f35 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x4089f720 in pthread_join () from /lib/libpthread.so.0
No symbol table info available.
#3 0x080b6a03 in TVRec::KillReadThread() (this=0x8342498) at
tv_rec.cpp:1939
No locals.
#4 0x080ada4c in TVRec::TeardownRecorder(bool) (this=0x8342498,
killFile=true) at tv_rec.cpp:673
blank_frame_map = {sh = 0x83cc020}
filelen = 12
#5 0x080abc22 in TVRec::HandleStateChange() (this=0x8342498) at
tv_rec.cpp:514
changed = true
startRecorder = false
closeRecorder = true
killRecordingFile = true
statename = {static null = {static null = <same as static
member of an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x85fdcc8, static shared_null
= 0x8326db0}
origname = {static null = {static null = <same as static member
of an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x8395728, static shared_null
= 0x8326db0}
#6 0x080ae81f in TVRec::RunTV() (this=0x8342498) at tv_rec.cpp:824
No locals.
#7 0x080ae7cf in TVRec::EventThread(void*) (param=0x8342498) at
tv_rec.cpp:808
thetv = (TVRec *) 0x8342498
#8 0x4089fd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9 0x4089fd99 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
Thread 2 (Thread 32769 (LWP 14905)):
#0 0x40a77248 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x4089fa8e in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4089fc55 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
Thread 1 (Thread 16384 (LWP 14899)):
#0 0x40a54e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x408a3d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a7910a in usleep () from /lib/libc.so.6
No symbol table info available.
#3 0x080b4622 in TVRec::StopLiveTV() (this=0x8342498) at
tv_rec.cpp:1598
No locals.
#4 0x08062a11 in EncoderLink::StopLiveTV() (this=0x8336ab0) at
encoderlink.cpp:303
No locals.
#5 0x08074ee2 in MainServer::endConnection(QSocket*) (this=0x834d350,
socket=0x40f02588) at mainserver.cpp:1575
enc = (EncoderLink *) 0x8336ab0
i = {node = 0x8342590}
sock = (struct QSocket *) 0x40f02588
it =
{<iterator<std::random_access_iterator_tag,PlaybackSock*,int,PlaybackSoc
k**,PlaybackSock*&>> = {<No data fields>}, _M_current = 0x8358b24}
ft =
{<iterator<std::random_access_iterator_tag,FileTransfer*,int,FileTransfe
r**,FileTransfer*&>> = {<No data fields>}, _M_current = 0x0}
rt =
{<iterator<std::random_access_iterator_tag,QSocket*,int,QSocket**,QSocke
t*&>> = {<No data fields>},
_M_current = 0x8374148}
#6 0x08087f33 in MainServer::qt_invoke(int, QUObject*)
(this=0x834d350, _id=5, _o=0xbfffe450) at moc_mainserver.cpp:99
No locals.
#7 0x4051a252 in QObject::activate_signal(QConnectionList*, QUObject*)
() from /usr/lib/libqt-mt.so.3
No symbol table info available.
#8 0x08088444 in MythServer::endConnect(QSocket*) (this=0x40f00628,
t0=0x40f02588) at moc_server.cpp:117
clist = (struct QConnectionList *) 0x40f00cb8
o = {{type = 0x82d8c80, payload = {b = false, c = 0 '\0', s =
0, i = 0, l = 0, uc = 0 '\0', us = 0, ui = 0, ul = 0,
f = 0, d = 0, byte = "\0\0\0\0\0\0\0\0 \0ð@\0\0\0", bytearray =
{data = 0x0, size = 0}, ptr = 0x0, voidstar = {
ptr = 0x0, owner = false}, charstar = {ptr = 0x0, owner =
false}, utf8 = {ptr = 0x0, owner = false}, local8bit = {
ptr = 0x0, owner = false}, iface = 0x0, idisp = 0x0}}, {type =
0x82d7a94, payload = {b = 136, c = -120 '\210',
s = 9608, i = 1089480072, l = 1089480072, uc = 136 '\210', us =
9608, ui = 1089480072, ul = 1089480072, f = 7.50458145,
d = 839.10217464079415, byte = "\210%ð@Ñ8\212@\020\0ð@(\006ð@",
bytearray = {data = 0x40f02588 "h\210@\200",
size = 1082800337}, ptr = 0x40f02588, voidstar = {ptr =
0x40f02588, owner = 209}, charstar = {
ptr = 0x40f02588 "h\210@\200", owner = 209}, utf8 = {ptr =
0x40f02588 "h\210@\200", owner = 209}, local8bit = {
ptr = 0x40f02588 "h\210@\200", owner = 209}, iface =
0x40f02588, idisp = 0x40f02588}}}
#9 0x080849f1 in MythServer::discardClient() (this=0x40f00628) at
server.cpp:32
socket = (struct QSocket *) 0x40f02588
#10 0x080884f9 in MythServer::qt_invoke(int, QUObject*)
(this=0x40f00628, _id=3, _o=0xbfffe550) at moc_server.cpp:123
No locals.
#11 0x4051a252 in QObject::activate_signal(QConnectionList*, QUObject*)
() from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x4051a10f in QObject::activate_signal(int) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0x407a6028 in QSocket::connectionClosed() () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0x406b5dcd in QSocket::sn_read(bool) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x407a613e in QSocket::qt_invoke(int, QUObject*) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x4051a252 in QObject::activate_signal(QConnectionList*, QUObject*)
() from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x4051a303 in QObject::activate_signal(int, int) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x40782d21 in QSocketNotifier::activated(int) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x40532378 in QSocketNotifier::event(QEvent*) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0x404c6206 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x404c5e47 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x404a45b8 in QEventLoop::activateSocketNotifiers() () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x404853a9 in QEventLoop::processEvents(unsigned) () from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0x404d77c7 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0x404d7684 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#26 0x404c6400 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#27 0x080666a0 in main (argc=2, argv=0xbffffd54) at main.cpp:305
a = <incomplete type>
logfile = {static null = {static null = <same as static member
of an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x832c208, static shared_null
= 0x8326db0}
daemonize = false
printsched = false
logfd = -1
pidfs = <incomplete type>
db = (struct QSqlDatabase *) 0x83359c8
subthread = (struct QSqlDatabase *) 0x832e7d8
transthread = (struct QSqlDatabase *) 0x8335dc8
port = 6543
statusport = 6544
myip = {static null = {static null = <same as static member of
an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x8342140, static shared_null
= 0x8326db0}
masterip = {static null = {static null = <same as static member
of an already seen type>, d = 0x8326db0,
static shared_null = 0x8326db0}, d = 0x8342128, static shared_null
= 0x8326db0}
ismaster = true
nfsfd = 10
#0 0x409e1ad2 in sigsuspend () from /lib/libc.so.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 17687 bytes
Desc: not available
Url : http://lists.snowman.net/pipermail/mythtv-dev/attachments/20030621/5664cb52/attachment.bin
More information about the mythtv-dev
mailing list