[mythtv] backtrace of mythbackend segfault during mythweb recording
delete
James Armstrong
james at thearmstrongs.org
Wed Apr 20 17:12:54 UTC 2005
I have been having problems for awhile with mythbackend segfaulting
while I am deleting shows using mythweb. I have had this happen a few
times deleting using mythfrontend. I saw a few recent messages on
myth-users of people having this same problem. Here is a backtrace using
cvs from this afternoon. Mythbackend log included.
Mythbackend 0.18.20050409-1
Athlon XP 2200 512megs ram.
Last part of log. It always seems to return a -1 right before the segfault.
2005-04-20 12:52:18.937 MainServer::HandleAnnounce Playback
2005-04-20 12:52:18.939 adding: frontend.thearmstrongs.org as a client
(events: 0)
2005-04-20 12:52:18.940 2 OK
2005-04-20 12:52:18.948 5 18218
2005-04-20 12:52:18.966 17 530529[]:[]420257
2005-04-20 12:52:35.218 13 ACCEPT[]:[]15
2005-04-20 12:52:35.224 MainServer::HandleAnnounce Playback
2005-04-20 12:52:35.225 adding: frontend.thearmstrongs.org as a client
(events: 0)
2005-04-20 12:52:35.226 2 OK
2005-04-20 12:52:35.322 159710 1[]:[]347[]:[]Nature[]:[]Deep Jungle:
New ...
2005-04-20 12:52:36.588 64143 114[]:[]Ripley's Believe It or
Not![]:[][]...
2005-04-20 12:52:36.632 2 -1
Mythbackend trace attached: (Seems to be a locking problem?)
Thanks,
James
-------------- next part --------------
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run --verbose all
Starting program: /usr/bin/mythbackend --verbose all --logfile mythbackend.log
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1222494016 (LWP 11148)]
0x4e3fe89c in QMutex::lock () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
Thread 27 (Thread -1371661392 (LWP 11192)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xae3e17b8 in ?? ()
No symbol table info available.
#2 0x4d9e8fdc in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3 0xae3e1614 in ?? ()
No symbol table info available.
#4 0x4d9577f6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#5 0x4d95761f in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6 0x0807d64e in MainServer::DoDeleteThread (this=0x8112df0, ds=0x81bfcb0)
at mainserver.cpp:1018
logInfo = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x0,
static shared_null = 0x80d4070}
name = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x1,
static shared_null = 0x80d4070}
checkFile = <incomplete type>
pginfo = (ProgramInfo *) 0x0
filename = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x4d8cec50,
static shared_null = 0x80d4070}
followLinks = false
query = {<> = {<No data fields>}, m_db = 0x0, m_isConnected = false,
m_returnConnection = false}
me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0}, message = {
static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x0,
static shared_null = 0x80d4070}, extradata = {<QValueList<QString>> = {
sh = 0x0}, <No data fields>}}
#7 0x0807d60e in MainServer::SpawnDeleteThread (param=0x81bfcb0)
at mainserver.cpp:1007
ds = (MainServer::deletestruct *) 0x81bfcb0
ms = (class MainServer *) 0x8112df0
#8 0x4db0b98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9 0x4d98c7da in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 18 (Thread -1360569424 (LWP 11181)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xaee75a38 in ?? ()
No symbol table info available.
#2 0x0000006f in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 17 (Thread -1352176720 (LWP 11180)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xaf676a38 in ?? ()
No symbol table info available.
#2 0x00000029 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 16 (Thread -1343784016 (LWP 11179)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xafe77a38 in ?? ()
No symbol table info available.
#2 0x00000001 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 15 (Thread -1335391312 (LWP 11178)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb0678a38 in ?? ()
No symbol table info available.
#2 0x00000001 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 14 (Thread -1326998608 (LWP 11177)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb0e79a38 in ?? ()
No symbol table info available.
#2 0x00000001 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 13 (Thread -1318605904 (LWP 11176)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb167a518 in ?? ()
No symbol table info available.
#2 0x4d9e8fdc in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3 0xb167a374 in ?? ()
No symbol table info available.
#4 0x4d9577f6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#5 0x4d95761f in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6 0xb7cdcac6 in JobQueue::ProcessQueue (this=0x8112750) at jobqueue.cpp:469
chanid = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80d4070,
static shared_null = 0x80d4070}
starttime = {d = {jd = 0}, t = {ds = 0}}
startts = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80d4070,
static shared_null = 0x80d4070}
type = 32
id = 1301081168
cmds = -1215283572
flags = -1215024068
status = -1214417846
hostname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80d4070,
static shared_null = 0x80d4070}
sleepTime = 60
jobStatus = {sh = 0x8209af8}
maxJobs = 1
queueStartTimeStr = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x81cda70,
static shared_null = 0x80d4070}
queueEndTimeStr = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x821d2a0,
static shared_null = 0x80d4070}
queueStartTime = 0
queueEndTime = 0
curQTime = {ds = 0}
curTime = 0
message = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80d4070,
static shared_null = 0x80d4070}
tmpStr = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80d4070,
static shared_null = 0x80d4070}
jobs = {sh = 0x8232370}
atMax = false
inTimeWindow = true
startedJobAlready = false
#7 0xb7cd77f8 in JobQueue::RunQueueProcesser (this=0x8112750)
at jobqueue.cpp:135
No locals.
#8 0xb7cd7821 in JobQueue::QueueProcesserThread (param=0x8112750)
at jobqueue.cpp:141
jobqueue = (JobQueue *) 0x8112750
#9 0x4db0b98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#10 0x4d98c7da in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 12 (Thread -1310213200 (LWP 11175)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb1e7b8a8 in ?? ()
No symbol table info available.
#2 0x4d9e8fdc in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3 0xb1e7b704 in ?? ()
No symbol table info available.
#4 0x4d9577f6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#5 0x4d95761f in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6 0x080b79ad in HouseKeeper::RunHouseKeeping (this=0x80fd990)
at housekeeper.cpp:175
period = 1
maxhr = 5
minhr = 2
dbTag = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x8203660,
static shared_null = 0x80d4070}
#7 0x080b84dd in HouseKeeper::doHouseKeepingThread (param=0x80fd990)
at housekeeper.cpp:236
hkeeper = (HouseKeeper *) 0x80fd990
#8 0x4db0b98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9 0x4d98c7da in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 11 (Thread -1301820496 (LWP 11174)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb267c708 in ?? ()
No symbol table info available.
#2 0x4d9e8fdc in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3 0xb267c564 in ?? ()
No symbol table info available.
#4 0x4d9577f6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#5 0x4d95761f in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6 0x08059949 in AutoExpire::RunExpirer (this=0x80fd950) at autoexpire.cpp:158
statbuf = {f_type = 1481003842, f_bsize = 4096, f_blocks = 135815654,
f_bfree = 28229907, f_bavail = 28229907, f_files = 451679280,
f_ffree = 451678892, f_fsid = {__val = {64768, 0}}, f_namelen = 255,
f_frsize = 4096, f_spare = {0, 0, 0, 0, 0}}
freespace = 107
minFree = 10
recordfileprefix = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x8111f38,
static shared_null = 0x80d4070}
#7 0x08059f47 in AutoExpire::ExpirerThread (param=0x80fd950)
at autoexpire.cpp:200
expirer = (AutoExpire *) 0x80fd950
#8 0x4db0b98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9 0x4d98c7da in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 10 (Thread -1293427792 (LWP 11173)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb2e7d658 in ?? ()
No symbol table info available.
#2 0x00000063 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 9 (Thread -1285035088 (LWP 11171)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb367e8e8 in ?? ()
No symbol table info available.
#2 0xb7f13b94 in ?? () from /usr/lib/libmythtv-0.18.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 8 (Thread -1276384336 (LWP 11169)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb3ebe8e8 in ?? ()
No symbol table info available.
#2 0xb7f13b94 in ?? () from /usr/lib/libmythtv-0.18.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 7 (Thread -1267733584 (LWP 11167)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb46fe8e8 in ?? ()
No symbol table info available.
#2 0xb7f13b94 in ?? () from /usr/lib/libmythtv-0.18.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 6 (Thread -1259340880 (LWP 11166)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb4eff838 in ?? ()
No symbol table info available.
#2 0xb7f13b94 in ?? () from /usr/lib/libmythtv-0.18.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (Thread -1250948176 (LWP 11164)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb56ff8a8 in ?? ()
No symbol table info available.
#2 0x000003e8 in ?? ()
No symbol table info available.
#3 0x0000001f in ?? ()
No symbol table info available.
#4 0x4d983057 in poll () from /lib/tls/libc.so.6
No symbol table info available.
#5 0xb7dba8ec in DVBSIParser::StartSectionReader (this=0x81068d0)
at dvbsiparser.cpp:241
ret = -1
buffer = "\000°\021\tûÉ\000\000\000\004à@\000\003à0ùù\017Zð\000\001\000ð\017è\000\000\001\222ð\000\001\001ð\020è\000\000\001bð\000\001\002ð\021ç\000\000\001 ð\000\001\003ð\022æ\000\000\001ið\000\002\000ò\017å\000\000\006\030ð\000\002\001ò\020å\000\000\005*ð\000\002\002ò\021ä\000\000\004gð\000\002\003ò\022ã\000\000\005mð\000\002\004ò\023ã\000\000\002°ð\000\002\005ò\024ã\000\000\000Àð\000\002\006ò\025â\000\000\000òð\000\002\aò\026â\000\000\002qð\000\002\bò\027â\000\000\006\030ð\000\002\tò\000í\000\000\0052ð\000\002\nò\001ì\000\000\003\217ð\000\002\vò\002ê\000\000\004{ð\000\002\f"...
processed = false
#6 0xb7d7f583 in DVBChannel::SpawnSectionReader (param=0x81068d0)
at dvbchannel.cpp:93
siparser = (class DVBSIParser *) 0x81068d0
#7 0x4db0b98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8 0x4d98c7da in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 4 (Thread -1242297424 (LWP 11163)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb5f408e8 in ?? ()
No symbol table info available.
#2 0xb7f13b94 in ?? () from /usr/lib/libmythtv-0.18.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 3 (Thread -1233904720 (LWP 11162)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb6741838 in ?? ()
No symbol table info available.
#2 0xb7f13b94 in ?? () from /usr/lib/libmythtv-0.18.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (Thread -1225512016 (LWP 11160)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xb6f418a8 in ?? ()
No symbol table info available.
#2 0x000003e8 in ?? ()
No symbol table info available.
#3 0x00000007 in ?? ()
No symbol table info available.
#4 0x4d983057 in poll () from /lib/tls/libc.so.6
No symbol table info available.
#5 0xb7dba8ec in DVBSIParser::StartSectionReader (this=0x8100570)
at dvbsiparser.cpp:241
ret = 1
buffer = "Ëðö\000\001ß\000\000\000\004ÀW/\2210ýÀ\016\020\026\001eng\001\000\000\016JERRY SPRINGERð\031\201\b\b*\017ÿ\037\000\000\000\206\râengÁ\037\000eng@\037\000ÀX/\221?\rÀ\016\020\025\001eng\001\000\000\rGOOD DAY LIVEð\031\201\b\b*\017ÿ\037\000\000\000\206\râengÁ\037\000eng@\037\000ÀY/\221M\035À\a\b\026\001eng\001\000\000\016EXTREME DATINGð\031\201\b\b*\017ÿ\037\000\000\000\206\râengÁ\037\000eng@\037\000ÀZ/\221T%À\a\b\026\001eng"...
processed = false
#6 0xb7d7f583 in DVBChannel::SpawnSectionReader (param=0x8100570)
at dvbchannel.cpp:93
siparser = (class DVBSIParser *) 0x8100570
#7 0x4db0b98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8 0x4d98c7da in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 1 (Thread -1222494016 (LWP 11148)):
#0 0x4e3fe89c in QMutex::lock () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#1 0x080996f6 in RefSocket::Lock (this=0x81c21b0) at server.h:22
No locals.
#2 0x0807685f in MainServer::customEvent (this=0x8112df0, e=0x81943f0)
at mainserver.cpp:545
pbs = (PlaybackSock *) 0x81cb718
sock = (RefSocket *) 0x81c21b0
sendGlobal = false
sentSet = {<QGList> = {<> = {<No data fields>},
firstNode = 0xae400918, lastNode = 0xae400918, curNode = 0xae400918,
curIndex = 0, numNodes = 1, iterators = 0x0}, <No data fields>}
iter = {<std::iterator<std::random_access_iterator_tag, PlaybackSock*, int, PlaybackSock**, PlaybackSock*&>> = {<No data fields>},
_M_current = 0x80ec920}
broadcast = {<QValueList<QString>> = {
sh = 0xae400830}, <No data fields>}
sendstuff = true
#3 0x4e15fa2c in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#4 0x4e105cdf in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#5 0x4e1052de in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4e106ad6 in QApplication::sendPostedEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#7 0x4e106956 in QApplication::sendPostedEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#8 0x4e0afb6a in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#9 0x4e117f28 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x4e117dd8 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x4e105f31 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x080709ce in main (argc=5, argv=0xbffff564) at main.cpp:587
a = <incomplete type>
logfile = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80e9300,
static shared_null = 0x80d4070}
binname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80e67b0,
static shared_null = 0x80d4070}
verboseString = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80e67f0,
static shared_null = 0x80d4070}
daemonize = false
printsched = false
testsched = false
resched = false
nosched = false
printexpire = false
logfd = 3
pidfs = <incomplete type>
port = 6543
statusport = 6544
myip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80f53b0,
static shared_null = 0x80d4070}
masterip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80d4070, static shared_null = 0x80d4070}, d = 0x80f52f0,
static shared_null = 0x80d4070}
ismaster = true
runsched = true
(gdb) quit
The program is running. Exit anyway? (y or n)
More information about the mythtv-dev
mailing list