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 Starting program: /misc/home/phez/downloads/nova-ci/mythtv-0.15.1/programs/mythbackend/mythbackend [Thread debugging using libthread_db enabled] [New Thread -150263072 (LWP 3365)] 2004-07-11 23:07:07 mythbackend: MythBackend started as master server 2004-07-11 23:07:07 DVB#0 Using DVB card 0, with frontend STV0299/TSA5059/SL1935 based. 2004-07-11 23:07:08 DVB#0 CAM - Initialized successfully. 2004-07-11 23:07:08 DVB#0 ERROR - Failed to verify channel integrity. 2004-07-11 23:07:08 DVB#0 ERROR - Failed to get channel options for channel 3. 2004-07-11 23:07:08 mythbackend version: 0.15.20040525-1 www.mythtv.org 2004-07-11 23:07:08 Enabled verbose msgs : important general 2004-07-11 23:07:10 Found changes in the todo list. 2004-07-11 23:07:10 Scheduled 0 items in 0.007737 seconds. 2004-07-11 23:07:10 Seem to be woken up by USER 2004-07-11 23:07:18 mythbackend: Running housekeeping thread 2004-07-11 23:07:25 MainServer::HandleAnnounce Playback 2004-07-11 23:07:25 adding: thales as a client (events: 0) 2004-07-11 23:07:25 Getting next free recorder : -1 2004-07-11 23:07:25 MainServer::HandleAnnounce Playback 2004-07-11 23:07:25 adding: thales as a client (events: 1) 2004-07-11 23:07:25 MainServer::HandleAnnounce Playback 2004-07-11 23:07:25 adding: thales as a client (events: 0) 2004-07-11 23:07:25 MainServer::HandleAnnounce Playback 2004-07-11 23:07:25 adding: thales as a client (events: 0) 2004-07-11 23:07:25 adding: thales as a remote ringbuffer 2004-07-11 23:07:25 Changing from None to WatchingLiveTV 2004-07-11 23:07:25 DVB#0 Recorder: Card opened successfully. [New Thread 26676144 (LWP 3383)] [New Thread 49130416 (LWP 3384)] [New Thread 147708848 (LWP 3385)] [New Thread 37166000 (LWP 3386)] [New Thread 59620272 (LWP 3387)] [New Thread 70110128 (LWP 3388)] [New Thread 118487984 (LWP 3389)] [New Thread 80599984 (LWP 3390)] [New Thread 91089840 (LWP 3391)] [New Thread 1436400560 (LWP 3392)] [New Thread 1446890416 (LWP 3393)] [New Thread 1457380272 (LWP 3400)] [New Thread 1467870128 (LWP 3401)] [New Thread 1478359984 (LWP 3402)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1467870128 (LWP 3401)] 0x07c7e11b in QSqlDatabase::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 (gdb) thread apply all bt full Thread 15 (Thread 1478359984 (LWP 3402)): #0 0x00e9915c in clone () from /lib/tls/libc.so.6 No symbol table info available. #1 0x00000000 in ?? () No symbol table info available. Thread 14 (Thread 1467870128 (LWP 3401)): #0 0x07c7e11b in QSqlDatabase::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #1 0x004bc8ad in MythContext::KickDatabase (db=0x9050178) at mythcontext.cpp:763 result = i = 0 query = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x904af18, static shared_null = 0x9023070} #2 0x00bb505c in DVBCam::ChannelChanged (this=0x9050108, chan=@0x904fe5c) at dvbcam.cpp:109 query = #3 0x00be3370 in DVBCam::qt_invoke (this=0x9050108, _id=2, _o=0x577de860) at moc_dvbcam.cpp:92 No locals. #4 0x07a229f6 in QObject::activate_signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #5 0x00be24b0 in DVBChannel::ChannelChanged (this=0x904fd30, t0=@0x904fe5c) at moc_dvbchannel.cpp:127 clist = (struct QConnectionList *) 0x904da10 o = {{type = 0x80afecc, payload = {b = true, c = 1 '\001', s = 1, i = 1, l = 1, uc = 1 '\001', us = 1, ui = 1, ul = 1, f = 1.40129846e-45, d = 4.9406564584124654e-324, byte = "\001", '\0' , "\210\231\206", bytearray = {data = 0x1
, size = 0}, ptr = 0x1, voidstar = {ptr = 0x1, owner = false}, charstar = {ptr = 0x1
, owner = false}, utf8 = {ptr = 0x1
, owner = false}, local8bit = {ptr = 0x1
, owner = false}, iface = 0x1, idisp = 0x1}}, { type = 0x80afeb4, payload = {b = 92, c = 92 '\\', s = -420, i = 151322204, l = 151322204, uc = 92 '\\', us = 65116, ui = 151322204, ul = 151322204, f = 1.60085212e-33, d = 5.2177548354223594e-306, byte = "\\þ\004\tðO\215\000\210\231\206\000Ä\017Ç", bytearray = {data = 0x904fe5c "t", size = 9261040}, ptr = 0x904fe5c, voidstar = {ptr = 0x904fe5c, owner = 240}, charstar = {ptr = 0x904fe5c "t", owner = 240}, utf8 = { ptr = 0x904fe5c "t", owner = 240}, local8bit = {ptr = 0x904fe5c "t", owner = 240}, iface = 0x904fe5c, idisp = 0x904fe5c}}} #6 0x00b9a1e1 in DVBChannel::RecorderStarted (this=0x904fd30) at dvbchannel.cpp:191 No locals. #7 0x00b8ef54 in DVBRecorder::Open (this=0x905d6b0) at dvbrecorder.cpp:200 No locals. #8 0x00b91124 in DVBRecorder::StartRecording (this=0x905d6b0) at dvbrecorder.cpp:375 ret = 0 dataflow = 0 polls = {fd = 0, events = 0, revents = 0} qualthread = 0 qthreadexists = false attr = {__detachstate = 0, __schedpolicy = 0, __schedparam = {__sched_priority = 0}, __inheritsched = 0, __scope = 0, __guardsize = 0, __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 0} #9 0x00b6b24e in SpawnEncode (param=0x905d6d8) at tv_rec.cpp:40 nvr = (class RecorderBase *) 0x905d6d8 #10 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #11 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 13 (Thread 1457380272 (LWP 3400)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e9273a in usleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x00a58989 in ThreadedFileWriter::DiskLoop (this=0x904aa70) at RingBuffer.cpp:212 size = 0 timer = {ds = 83245311} #4 0x00a580f0 in ThreadedFileWriter::boot_writer (wotsit=0x904aa70) at RingBuffer.cpp:91 fw = (ThreadedFileWriter *) 0x904aa70 #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 12 (Thread 1446890416 (LWP 3393)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00126790 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x07cbc0f8 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x080802eb in ProcessRequestThread::run (this=0x904bb40) at mainserver.cpp:61 No locals. #4 0x079ba1fa in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 11 (Thread 1436400560 (LWP 3392)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e9273a in usleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x00b7844b in TVRec::SpawnLiveTV (this=0x9048e20) at tv_rec.cpp:1682 No locals. #4 0x0805a5c1 in EncoderLink::SpawnLiveTV (this=0x904ff78) at encoderlink.cpp:400 No locals. #5 0x08071ff5 in MainServer::HandleRecorderQuery (this=0x904b770, slist=@0x559dba20, commands=@0x559dba00, pbs=0x904a538) at mainserver.cpp:1791 pbssock = (struct QSocket *) 0x90499d0 recnum = 1 iter = {node = 0x904d870} enc = (EncoderLink *) 0x904ff78 command = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x904a4f8, static shared_null = 0x9023070} retlist = {> = {sh = 0x9049f98}, } #6 0x08063c2b in MainServer::ProcessRequest (this=0x904b770, sock=0x90499d0) at mainserver.cpp:293 listline = {> = {sh = 0x904a638}, } line = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x904a558, static shared_null = 0x9023070} tokens = {> = {sh = 0x904a3d0}, } command = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9049460, static shared_null = 0x9023070} pbs = (PlaybackSock *) 0x904a538 #7 0x0808030d in ProcessRequestThread::run (this=0x904b9f8) at mainserver.cpp:66 No locals. #8 0x079ba1fa in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #9 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #10 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 10 (Thread 91089840 (LWP 3391)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00126790 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x07cbc0f8 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x080802eb in ProcessRequestThread::run (this=0x9048aa0) at mainserver.cpp:61 No locals. #4 0x079ba1fa in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 9 (Thread 80599984 (LWP 3390)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00126790 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x07cbc0f8 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x080802eb in ProcessRequestThread::run (this=0x90506c0) at mainserver.cpp:61 No locals. #4 0x079ba1fa in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 8 (Thread 118487984 (LWP 3389)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00126790 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x07cbc0f8 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x080802eb in ProcessRequestThread::run (this=0x904b888) at mainserver.cpp:61 No locals. #4 0x079ba1fa in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 7 (Thread 70110128 (LWP 3388)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e6426f in sleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x0809618b in Transcoder::TranscodePoll (this=0x9050608) at transcoder.cpp:419 transData = (TranscodeData *) 0x0 #4 0x0809626b in Transcoder::TranscodePollThread (param=0x9050608) at transcoder.cpp:437 thetv = (Transcoder *) 0x9050608 #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 6 (Thread 59620272 (LWP 3387)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e6426f in sleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x08098545 in HouseKeeper::RunHouseKeeping (this=0x90505f8) at housekeeper.cpp:152 period = 1 maxhr = 5 minhr = 2 #4 0x080990b1 in HouseKeeper::doHouseKeepingThread (param=0x90505f8) at housekeeper.cpp:211 hkeeper = (HouseKeeper *) 0x90505f8 #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 5 (Thread 37166000 (LWP 3386)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e6426f in sleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x080549aa in AutoExpire::RunExpirer (this=0x9048b20) at autoexpire.cpp:121 statbuf = {f_type = 61267, f_bsize = 4096, f_blocks = 1031777, f_bfree = 966945, f_bavail = 914533, f_files = 524288, f_ffree = 489389, f_fsid = {__val = {0, 0}}, f_namelen = 255, f_frsize = 4096, f_spare = {0, 0, 0, 0, 0}} freespace = 3 minFree = 0 recordfileprefix = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x90506a8, static shared_null = 0x9023070} #4 0x08054a33 in AutoExpire::ExpirerThread (param=0x9048b20) at autoexpire.cpp:128 expirer = (AutoExpire *) 0x9048b20 #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 4 (Thread 147708848 (LWP 3385)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e6426f in sleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x080891af in Scheduler::RunScheduler (this=0x9050528) at scheduler.cpp:1049 statuschanged = false recIter = { = {_M_node = 0x902e848}, } prerollseconds = 0 secsleft = 0 nexttv = (EncoderLink *) 0x0 nextRecording = (ProgramInfo *) 0x0 nextrectime = {d = {jd = 0}, t = {ds = 0}} curtime = {d = {jd = 2453198}, t = {ds = 83244514}} lastupdate = {d = {jd = 2453198}, t = {ds = 83230402}} recordfileprefix = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9049008, static shared_null = 0x9023070} startIter = { = {_M_node = 0x902e848}, } blockShutdown = true idleSince = {d = {jd = 0}, t = {ds = 0}} idleTimeoutSecs = 0 idleWaitForRecordingTime = 15 firstRun = false fillstart = {tv_sec = 1089580030, tv_usec = 404072} fillend = {tv_sec = 1089580030, tv_usec = 411809} #4 0x08089ab5 in Scheduler::SchedulerThread (param=0x9050528) at scheduler.cpp:1158 sched = (Scheduler *) 0x9050528 #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 3 (Thread 49130416 (LWP 3384)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e9273a in usleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x00b6edee in TVRec::HandleStateChange (this=0x9048e20) at tv_rec.cpp:531 profile = { = { = { = {<> = {}, _vptr.Configurable = 0xc79b3c, static metaObj = 0x9050ba8, labelAboveWidget = false, configName = {static null = { static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9023070, static shared_null = 0x9023070}, label = {static null = { static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9023070, static shared_null = 0x9023070}, helptext = {static null = { static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9023070, static shared_null = 0x9023070}, visible = true}, _vptr.ConfigurationDialog = 0xc79ab0, dialog = 0x2eda970}, = {_vptr.ConfigurationGroup = 0xc79ad8, static metaObj = 0x9051748, children = { >> = {, true>> = {_M_start = 0x902e9d8, _M_finish = 0x902e9ec, _M_end_of_storage = 0x902e9f8}, }, }, uselabel = true, useframe = true}, }, id = 0x9050b38, name = 0x9050c78, imageSize = 0x0, vc = 0x90512a8, ac = 0x9055c28} msg = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9058d28, static shared_null = 0x9023070} error = false tmpInternalState = kState_WatchingLiveTV changed = true startRecorder = true closeRecorder = false killRecordingFile = false statename = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x904a010, static shared_null = 0x9023070} origname = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x904a570, static shared_null = 0x9023070} #4 0x00b70d43 in TVRec::RunTV (this=0x9048e20) at tv_rec.cpp:814 No locals. #5 0x00b70ce0 in TVRec::EventThread (param=0x9048e20) at tv_rec.cpp:798 thetv = (TVRec *) 0x9048e20 #6 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #7 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 2 (Thread 26676144 (LWP 3383)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e64446 in __nanosleep_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x00e9273a in usleep () from /lib/tls/libc.so.6 No symbol table info available. #3 0x00bb5d69 in DVBCam::CiHandlerLoop (this=0x9050108) at dvbcam.cpp:207 No locals. #4 0x00bb5d22 in DVBCam::CiHandlerThreadHelper (self=0x9050108) at dvbcam.cpp:197 No locals. #5 0x0012398c in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #6 0x00e9916a in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 1 (Thread -150263072 (LWP 3365)): #0 0x00709402 in ?? () No symbol table info available. #1 0x00e91e61 in ___newselect_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0797153a in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x079d8bf8 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #4 0x079d8aa8 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #5 0x079c6c51 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #6 0x080608e3 in main (argc=1, argv=0xfeeca534) at main.cpp:612 a = logfile = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x902acf8, static shared_null = 0x9023070} binname = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x902bfd8, static shared_null = 0x9023070} verboseString = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x902bc30, static shared_null = 0x9023070} daemonize = false printsched = false testsched = false nosched = false printexpire = false logfd = -1 pidfs = db = (struct QSqlDatabase *) 0x9032908 subthread = (struct QSqlDatabase *) 0x9032e80 expthread = (struct QSqlDatabase *) 0x9032b38 hkthread = (struct QSqlDatabase *) 0x9033200 transthread = (struct QSqlDatabase *) 0x9033408 msdb = (struct QSqlDatabase *) 0x9033ec8 port = 6543 statusport = 6544 myip = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9048a88, static shared_null = 0x9023070} masterip = {static null = {static null = , d = 0x9023070, static shared_null = 0x9023070}, d = 0x9048810, static shared_null = 0x9023070} ismaster = true runsched = true expdb = (struct QSqlDatabase *) 0x9032b38 hkdb = (struct QSqlDatabase *) 0x9033200 trandb = (struct QSqlDatabase *) 0x9033408 #0 0x07c7e11b in QSqlDatabase::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 (gdb) quit The program is running. Exit anyway? (y or n)