[mythtv] seg fault - exit code 139?
Wendy Seltzer
wendy at seltzer.com
Thu Aug 26 13:12:54 EDT 2004
On Wed, Aug 25, 2004 at 12:01:21AM -0400, Isaac Richards wrote:
>On Tuesday 24 August 2004 08:24 pm, Wendy Seltzer wrote:
>> I'm also seeing lots of these, sometimes from the frontend, sometimes
>> from the backend, in current CVS. Let me know if I can provide more
>> info.
>
>If you're getting segfaults, why aren't you reporting them properly with the
>instructions given in the docs?
>
Now that I've got it running under gdb, here's one:
Program received signal SIGPIPE, Broken pipe.
(gdb) [Switching to Thread 1105034112 (LWP 18028)]
(gdb) 0x41396451 in __write_nocancel () from /lib/tls/libpthread.so.0
Thread 13 (Thread 1208249264 (LWP 18050)):
#0 0x41394115 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x410ef3f8 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080835e9 in ProcessRequestThread::run (this=0x80ebb08)
at mainserver.cpp:67
No locals.
#3 0x40dfff2a in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 12 (Thread 1199860656 (LWP 18049)):
#0 0x41394115 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x410ef3f8 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080835e9 in ProcessRequestThread::run (this=0x80eb9b8)
at mainserver.cpp:67
No locals.
#3 0x40dfff2a in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 11 (Thread 1191472048 (LWP 18048)):
#0 0x41394115 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x410ef3f8 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080835e9 in ProcessRequestThread::run (this=0x80eb868)
at mainserver.cpp:67
No locals.
#3 0x40dfff2a in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 10 (Thread 1183083440 (LWP 18047)):
#0 0x41394115 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x410ef3f8 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080835e9 in ProcessRequestThread::run (this=0x80eb6a8)
at mainserver.cpp:67
No locals.
#3 0x40dfff2a in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 9 (Thread 1174694832 (LWP 18046)):
#0 0x41394115 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x410ef3f8 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080835e9 in ProcessRequestThread::run (this=0x80ee588)
at mainserver.cpp:67
No locals.
#3 0x40dfff2a in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 7 (Thread 1157917616 (LWP 18044)):
#0 0x4152e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x4152e358 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x0809b694 in Transcoder::TranscodePoll (this=0x80eb570)
at transcoder.cpp:432
transData = (TranscodeData *) 0x0
#3 0x0809b77d in Transcoder::TranscodePollThread (param=0x80eb570)
at transcoder.cpp:450
thetv = (Transcoder *) 0x80eb570
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 6 (Thread 1149529008 (LWP 18043)):
#0 0x4152e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x4152e358 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x0809db18 in HouseKeeper::RunHouseKeeping (this=0x80eea08)
at housekeeper.cpp:160
period = 1
maxhr = 5
minhr = 2
#3 0x0809e649 in HouseKeeper::doHouseKeepingThread (param=0x80eea08)
at housekeeper.cpp:219
hkeeper = (HouseKeeper *) 0x80eea08
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (Thread 1141140400 (LWP 18042)):
#0 0x4152e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x4152e358 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x08055b3b in AutoExpire::RunExpirer (this=0x80eb2e0) at autoexpire.cpp:126 statbuf = {f_type = 61267, f_bsize = 4096, f_blocks = 38195752,
f_bfree = 13125721, f_bavail = 11185471, f_files = 19415040,
f_ffree = 19103440, f_fsid = {__val = {0, 0}}, f_namelen = 255,
f_frsize = 4096, f_spare = {0, 0, 0, 0, 0}}
freespace = 42
minFree = 2
recordfileprefix = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80ee678,
static shared_null = 0x80bb380}
#3 0x08055bb5 in AutoExpire::ExpirerThread (param=0x80eb2e0)
at autoexpire.cpp:133
expirer = (AutoExpire *) 0x80eb2e0
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 4 (Thread 1132751792 (LWP 18041)):
#0 0x4152e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x4152e358 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x0808c95c in Scheduler::RunScheduler (this=0x80e3760)
at scheduler.cpp:1099
statuschanged = false
recIter = {<std::_List_iterator_base> = {
_M_node = 0x48158708}, <No data fields>}
prerollseconds = 1
secsleft = 1800
nexttv = (EncoderLink *) 0x80ea900
nextRecording = (ProgramInfo *) 0x4a517018
nextrectime = {d = {jd = 2453243}, t = {ds = 82800000}}
curtime = {d = {jd = 2453243}, t = {ds = 80999742}}
lastupdate = {d = {jd = 2453243}, t = {ds = 48600757}}
recordfileprefix = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80eaf78,
static shared_null = 0x80bb380}
startIter = {<std::_List_iterator_base> = {
_M_node = 0x48158708}, <No data fields>}
blockShutdown = true
idleSince = {d = {jd = 0}, t = {ds = 0}}
idleTimeoutSecs = 0
idleWaitForRecordingTime = 15
firstRun = false
fillstart = {tv_sec = 1093465800, tv_usec = 759767}
fillend = {tv_sec = 1093465802, tv_usec = 48010}
#3 0x0808d243 in Scheduler::SchedulerThread (param=0x80e3760)
at scheduler.cpp:1208
sched = (Scheduler *) 0x80e3760
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 3 (Thread 1124363184 (LWP 18040)):
#0 0x4152e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x41557c3b in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x40380c2e in TVRec::RunTV (this=0x42808008) at tv_rec.cpp:843
No locals.
#3 0x40380bc3 in TVRec::EventThread (param=0x42808008) at tv_rec.cpp:825
thetv = (TVRec *) 0x42808008
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 1115716528 (LWP 18038)):
#0 0x4152e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x41557c3b in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x40380c2e in TVRec::RunTV (this=0x41fc9008) at tv_rec.cpp:843
No locals.
#3 0x40380bc3 in TVRec::EventThread (param=0x41fc9008) at tv_rec.cpp:825
thetv = (TVRec *) 0x41fc9008
#4 0x413919b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 1105034112 (LWP 18028)):
#0 0x41396451 in __write_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#1 0x41ea5c13 in vio_write () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#2 0x41eb381a in net_real_write () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#3 0x41eb359f in net_flush () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#4 0x41eb3704 in net_write_command () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#5 0x41ea23ba in simple_command () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#6 0x41ea3d83 in mysql_real_query () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#7 0x41e82321 in QMYSQLResult::reset ()
from /usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#8 0x410afb85 in QSqlQuery::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9 0x410b41f0 in QSqlDatabase::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0x40217836 in ProgramInfo::GetProgramFromRecorded (db=0x80cc168,
channel=@0xbfffd9e0, starttime=@0xbfffd910) at programinfo.cpp:504
thequery = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x48105fd8,
static shared_null = 0x80bb380}
query = <incomplete type>
#11 0x402176b2 in ProgramInfo::GetProgramFromRecorded (db=0x80cc168,
channel=@0xbfffd9e0, dtime=@0xbfffd9d8) at programinfo.cpp:482
sqltime = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x481088a0,
static shared_null = 0x80bb380}
#12 0x0809f139 in CommercialFlagger::customEvent (this=0x80ee890, e=0x48133800) at commercialflag.cpp:63
tokens = {<QValueList<QString>> = {sh = 0x4811bea0}, <No data fields>}
action = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x4811e6a8,
static shared_null = 0x80bb380}
startts = {d = {jd = 2453243}, t = {ds = 77400000}}
detectionHost = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x4810a2b8,
static shared_null = 0x80bb380}
key = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x48138c08,
static shared_null = 0x80bb380}
chanid = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x4810a1c0,
static shared_null = 0x80bb380}
pginfo = (ProgramInfo *) 0x80588d7
me = (MythEvent *) 0x48133800
message = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x48140900,
static shared_null = 0x80bb380}
#13 0x40e6580c in QObject::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0x40e0c47f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x40e0ba8b in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40e0d256 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3No symbol table info available.
#17 0x40e0d0d6 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3No symbol table info available.
#18 0x40db77de in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x40e1fce8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0x40e1fb98 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x40e0c6d1 in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x080615b2 in main (argc=1, argv=0xbfffe294) at main.cpp:606
a = <incomplete type>
logfile = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80c2d60,
static shared_null = 0x80bb380}
binname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80c2d98,
static shared_null = 0x80bb380}
verboseString = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80c2dd8,
static shared_null = 0x80bb380}
daemonize = false
printsched = false
testsched = false
nosched = false
printexpire = false
logfd = -1
pidfs = <incomplete type>
db = (struct QSqlDatabase *) 0x80cb738
subthread = (struct QSqlDatabase *) 0x80c3ee0
expthread = (struct QSqlDatabase *) 0x80cd648
hkthread = (struct QSqlDatabase *) 0x80cd340
transthread = (struct QSqlDatabase *) 0x80cbf98
flagthread = (struct QSqlDatabase *) 0x80cc168
msdb = (struct QSqlDatabase *) 0x80cc690
port = 6543
statusport = 6544
myip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80e3628,
static shared_null = 0x80bb380}
masterip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80e3598,
static shared_null = 0x80bb380}
subthread = (struct QSqlDatabase *) 0x80c3ee0
expthread = (struct QSqlDatabase *) 0x80cd648
hkthread = (struct QSqlDatabase *) 0x80cd340
transthread = (struct QSqlDatabase *) 0x80cbf98
flagthread = (struct QSqlDatabase *) 0x80cc168
msdb = (struct QSqlDatabase *) 0x80cc690
port = 6543
statusport = 6544
myip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80e3628,
static shared_null = 0x80bb380}
masterip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x80bb380, static shared_null = 0x80bb380}, d = 0x80e3598,
static shared_null = 0x80bb380}
ismaster = true
runsched = true
expdb = (struct QSqlDatabase *) 0x80cd648
hkdb = (struct QSqlDatabase *) 0x80cd340
trandb = (struct QSqlDatabase *) 0x80cbf98
flagdb = (struct QSqlDatabase *) 0x80cc168
More information about the mythtv-dev
mailing list