[mythtv-commits] Re: Ticket #877: Random backend crash,
GDB log attached...
MythTV
mythtv at cvs.mythtv.org
Sat Dec 31 10:28:16 EST 2005
#877: Random backend crash, GDB log attached...
--------------------+-------------------------------------------------------
Reporter: jochen | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: 0.19
Component: mythtv | Version:
Severity: high | Resolution:
--------------------+-------------------------------------------------------
Comment (by rkulagow):
I've been getting the same. Also using Debian.
{{{
mythtv at masterbackend:~$ cat gdb.txt.crash
[Thread -1391465552 (LWP 2128) exited]
[New Thread -1391465552 (LWP 2140)]
[Thread -1391465552 (LWP 2140) exited]
*** glibc detected *** malloc(): memory corruption (fast): 0x085bd661 ***
Program received signal SIGABRT, Aborted.
[Switching to Thread -1299612752 (LWP 8848)]
0xb63999e7 in raise () from /lib/tls/libc.so.6
Thread 15 (Thread -1351615568 (LWP 8854)):
#0 0xb659bb61 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65fce in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080a2941 in ProcessRequestThread::run (this=0x810fb30) at
mainserver.cpp:86
No locals.
#3 0xb690c330 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 14 (Thread -1343226960 (LWP 8853)):
#0 0xb659bb61 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65fce in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080a2941 in ProcessRequestThread::run (this=0x8110528) at
mainserver.cpp:86
No locals.
#3 0xb690c330 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 13 (Thread -1334838352 (LWP 8852)):
#0 0xb659bb61 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65fce in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080a2941 in ProcessRequestThread::run (this=0x8110478) at
mainserver.cpp:86
No locals.
#3 0xb690c330 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 12 (Thread -1326449744 (LWP 8851)):
#0 0xb659bb61 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65fce in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080a2941 in ProcessRequestThread::run (this=0x811c1e8) at
mainserver.cpp:86
No locals.
#3 0xb690c330 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 11 (Thread -1318061136 (LWP 8850)):
#0 0xb659bb61 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65fce in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080a2941 in ProcessRequestThread::run (this=0x8110838) at
mainserver.cpp:86
No locals.
#3 0xb690c330 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 10 (Thread -1308001360 (LWP 8849)):
#0 0xb64022ec in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0xb6402110 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0xb7a62879 in JobQueue::ProcessQueue (this=0x8110cc8) at
jobqueue.cpp:475
chanid = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x85c59e0, static shared_null =
0x80e3070}
starttime = {d = {jd = 2453735}, t = {ds = 75540000}}
startts = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x83898d8, static shared_null =
0x80e3070}
type = 2
id = 5778
cmds = 0
flags = 2
status = 4
hostname = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8108f50, static shared_null =
0x80e3070}
sleepTime = 60
jobStatus = {sh = 0x80fb3f8}
maxJobs = 1
queueStartTimeStr = {static null = {static null = <same as static
member of an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x84eb578, static shared_null =
0x80e3070}
queueEndTimeStr = {static null = {static null = <same as static
member of an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8451060, static shared_null =
0x80e3070}
queueStartTime = 0
queueEndTime = 2359
curQTime = {ds = 79315115}
curTime = 2201
message = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8449410, static shared_null =
0x80e3070}
tmpStr = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x82c0420, static shared_null =
0x80e3070}
jobs = {sh = 0x8122030}
atMax = true
inTimeWindow = true
startedJobAlready = false
#3 0xb7a5dcc6 in JobQueue::RunQueueProcesser (this=0x8110cc8) at
jobqueue.cpp:138
No locals.
#4 0xb7a5dcef in JobQueue::QueueProcesserThread (param=0x8110cc8) at
jobqueue.cpp:144
jobqueue = (class JobQueue *) 0x8110cc8
#5 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 9 (Thread -1299612752 (LWP 8848)):
#0 0xb63999e7 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1 0xb639b31b in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2 0xb63d0365 in __fsetlocking () from /lib/tls/libc.so.6
No symbol table info available.
#3 0xb63d7ec8 in free () from /lib/tls/libc.so.6
No symbol table info available.
#4 0xb63d8c4c in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#5 0xb6204d65 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6 0xb697fd3f in QObject::connectInternal () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7 0xb69804c5 in QObject::connect () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#8 0xb6c1c8a5 in QSqlResultShared::QSqlResultShared () from /usr/lib
/libqt-mt.so.3
No symbol table info available.
#9 0xb6c1caf8 in QSqlQuery::QSqlQuery () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb6130234 in QMYSQLDriver::createQuery () from
/usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#11 0xb6c1ce5f in QSqlQuery::init () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0xb6c1cfa0 in QSqlQuery::QSqlQuery () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0xb72dd31c in MSqlQuery (this=0xb28972d0, qi=@0xb28972e0) at
mythdbcon.cpp:221
No locals.
#14 0x0805fbf6 in AutoExpire::FillDBOrdered (this=0x811c170,
expMethod=10001, allHosts=false) at autoexpire.cpp:700
fileprefix = {static null = {static null = <same as static member
of an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8371970, static shared_null =
0x80e3070}
where = {static null = {static null = <same as static member of an
already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8484370, static shared_null =
0x80e3070}
orderby = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8108fd8, static shared_null =
0x80e3070}
query = {<> = {<No data fields>}, m_db = 0xb28972e8, m_isConnected
= 207, m_returnConnection = 59}
querystr = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x80ff010, static shared_null =
0x80e3070}
#15 0x0805a4aa in AutoExpire::ExpireLiveTV (this=0x811c170, type=10001) at
autoexpire.cpp:303
availFreeKB = 213692416
tKB = 712421376
uKB = 498728960
#16 0x08059e33 in AutoExpire::RunExpirer (this=0x811c170) at
autoexpire.cpp:255
curTime = {ds = 8143024}
timer = {ds = 8143021}
#17 0x0805ceb5 in AutoExpire::ExpirerThread (param=0x811c170) at
autoexpire.cpp:463
expirer = (AutoExpire *) 0x811c170
#18 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#19 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 8 (Thread -1291224144 (LWP 8847)):
#0 0xb659bdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65fad in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080acc07 in Scheduler::RunScheduler (this=0x811bce0) at
scheduler.cpp:1096
statuschanged = false
recIter = {<std::_List_iterator_base> = {_M_node = 0x859b8e8}, <No
data fields>}
prerollseconds = 0
secsleft = 797
nexttv = (EncoderLink *) 0x8115100
nextRecording = (ProgramInfo *) 0xaabcf318
nextrectime = {d = {jd = 2453736}, t = {ds = 8940000}}
curtime = {d = {jd = 2453736}, t = {ds = 8142369}}
lastupdate = {d = {jd = 2453736}, t = {ds = 6823215}}
recordfileprefix = {static null = {static null = <same as static
member of an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8113768, static shared_null =
0x80e3070}
startIter = {<std::_List_iterator_base> = {_M_node = 0x859b8e8},
<No data fields>}
blockShutdown = true
idleSince = {d = {jd = 0}, t = {ds = 0}}
idleTimeoutSecs = 0
idleWaitForRecordingTime = 15
firstRun = false
fillstart = {tv_sec = 1136015625, tv_usec = 70003}
fillend = {tv_sec = 1136015632, tv_usec = 918929}
matchTime = 1.31386995
placeTime = 7.84892607
query = {<> = {<No data fields>}, m_db = 0x810aee0, m_isConnected
= true, m_returnConnection = false}
#3 0x080b0795 in Scheduler::SchedulerThread (param=0x811bce0) at
scheduler.cpp:1527
sched = (Scheduler *) 0x811bce0
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 7 (Thread -1282835536 (LWP 8845)):
#0 0xb659bdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65d7c in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0xb7cba8d4 in TVRec::RunTV (this=0x811a590) at tv_rec.cpp:1220
lock = {mtx = 0x811a648}
timeout = 118
#3 0xb7cb9dc3 in TVRec::EventThread (param=0x811a590) at tv_rec.cpp:1065
thetv = (class TVRec *) 0x811a590
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 6 (Thread -1274446928 (LWP 8843)):
#0 0xb659bdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65d7c in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0xb7cba8d4 in TVRec::RunTV (this=0x8116878) at tv_rec.cpp:1220
lock = {mtx = 0x8116930}
timeout = 97
#3 0xb7cb9dc3 in TVRec::EventThread (param=0x8116878) at tv_rec.cpp:1065
thetv = (class TVRec *) 0x8116878
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 5 (Thread -1266058320 (LWP 8842)):
#0 0xb659bdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65d7c in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0xb7cba8d4 in TVRec::RunTV (this=0x81151e0) at tv_rec.cpp:1220
lock = {mtx = 0x8115298}
timeout = 84
#3 0xb7cb9dc3 in TVRec::EventThread (param=0x81151e0) at tv_rec.cpp:1065
thetv = (class TVRec *) 0x81151e0
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 4 (Thread -1257669712 (LWP 8841)):
#0 0xb659bdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65d7c in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0xb7cba8d4 in TVRec::RunTV (this=0x8113838) at tv_rec.cpp:1220
lock = {mtx = 0x81138f0}
timeout = 106
#3 0xb7cb9dc3 in TVRec::EventThread (param=0x8113838) at tv_rec.cpp:1065
thetv = (class TVRec *) 0x8113838
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 3 (Thread -1249281104 (LWP 8840)):
#0 0xb659bdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1 0xb6c65d7c in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0xb7cba8d4 in TVRec::RunTV (this=0x810b298) at tv_rec.cpp:1220
lock = {mtx = 0x810b350}
timeout = 118
#3 0xb7cb9dc3 in TVRec::EventThread (param=0x810b298) at tv_rec.cpp:1065
thetv = (class TVRec *) 0x810b298
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 2 (Thread -1240892496 (LWP 8837)):
#0 0xb64022ec in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0xb6402110 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x080c2ad6 in HouseKeeper::RunHouseKeeping (this=0x8109d50) at
housekeeper.cpp:251
period = 1
maxhr = 18
minhr = 16
dbTag = {static null = {static null = <same as static member of an
already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x8113d20, static shared_null =
0x80e3070}
#3 0x080c3785 in HouseKeeper::doHouseKeepingThread (param=0x8109d50) at
housekeeper.cpp:330
hkeeper = (HouseKeeper *) 0x8109d50
#4 0xb6599ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0xb6441b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 1 (Thread -1240246592 (LWP 8833)):
#0 0xb6439f87 in select () from /lib/tls/libc.so.6
No symbol table info available.
#1 0xb68b9f28 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0xb692eea2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3 0xb692edcb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0xb6915305 in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5 0x0807737a in main (argc=3, argv=0xbfbae3c4) at main.cpp:559
a = <incomplete type>
binname = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x80fc7a8, static shared_null =
0x80e3070}
daemonize = false
printsched = false
testsched = false
resched = false
nosched = false
nojobqueue = false
noexpirer = false
printexpire = false
pidfs = <incomplete type>
port = 6543
statusport = 6544
myip = {static null = {static null = <same as static member of an
already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x81090b0, static shared_null =
0x80e3070}
masterip = {static null = {static null = <same as static member of
an already seen type>, d = 0x80e3070,
static shared_null = 0x80e3070}, d = 0x810a7d0, static shared_null =
0x80e3070}
ismaster = true
fatal_error = false
runsched = true
#0 0xb63999e7 in raise () from /lib/tls/libc.so.6
}}}
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/877>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list