[mythtv] Mythbackend CVS Coredump

Brian Foddy bfoddy at visi.com
Thu Apr 10 23:17:13 EDT 2003


I hope this helps more, it happened again today.  I've rebuilt from
a make distclean, cvs from April 5.

Brian


On Tuesday 08 April 2003 12:16 am, Isaac Richards wrote:
>
> Hmm.  The stack trace looks sort of weird, and I can't see anything inside
> the function in programinfo.cpp (where it's actually crashing, though
> there's no info on that in the bt)..  Have you done a make distclean
> lately?
>
> Isaac
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
(gdb) bt
#0  0x40686720 in QRegExp::search(QString const&, int) const () from /usr/lib/qt3/lib/libqt-mt.so.3
#1  0x4068aee2 in QString::sprintf(char const*, ...) () from /usr/lib/qt3/lib/libqt-mt.so.3
#2  0x40665dd1 in QTime::toString(Qt::DateFormat) const () from /usr/lib/qt3/lib/libqt-mt.so.3
#3  0x40666c3f in QDateTime::toString(Qt::DateFormat) const () from /usr/lib/qt3/lib/libqt-mt.so.3
#4  0x08092577 in ScheduledRecording::doneRecording(QSqlDatabase*, ProgramInfo const&) (this=0x4164b59c, db=0x8313148,
    proginfo=@0x45a01f18) at scheduledrecording.cpp:410
#5  0x08086559 in ProgramInfo::WriteRecordedToDB(QSqlDatabase*) (this=0x45a01f18, db=0x8313148) at programinfo.cpp:496
#6  0x080a1b84 in TVRec::WriteRecordedRecord() (this=0x45a101a0) at tv_rec.cpp:226
#7  0x080a29a7 in TVRec::HandleStateChange() (this=0x4164b6ac) at tv_rec.cpp:279
#8  0x080a5d9f in TVRec::RunTV() (this=0x4164b6ac) at tv_rec.cpp:659
#9  0x080a59c1 in TVRec::EventThread(void*) (param=0x0) at tv_rec.cpp:635
#10 0x4080b6c1 in pthread_exit () from /lib/i686/libpthread.so.0


402         QString query = QString("INSERT INTO oldrecorded (chanid,starttime,endtime,title,"
403                                 "subtitle,description) "
404                                 "VALUES(%1,\"%2\",\"%3\",\"%4\",\"%5\",\"%6\");")
405             .arg(proginfo.chanid)
406             .arg(proginfo.startts.toString(Qt::ISODate))
407             .arg(proginfo.endts.toString(Qt::ISODate))
408             .arg(sqltitle.utf8())
409             .arg(sqlsubtitle.utf8())
(gdb) list
410             .arg(sqldescription.utf8());
411
412         QSqlQuery result = db->exec(query);
413         if (!result.isActive())
414             MythContext::DBError("doneRecording", result);
415
416         // The addition of an entry to oldrecorded may affect near-future
417         // scheduling decisions, so recalculate
418         signalChange(db);
419     }

(gdb) print proginfo.chanid
$1 = {static null = Cannot access memory at address 0x0
(gdb) print proginfo
$2 = (const ProgramInfo &) @0x45a01f18: {title = {static null = Cannot access memory at address 0x0
(gdb) print sqltitle
$3 = {static null = Cannot access memory at address 0x0





More information about the mythtv-dev mailing list