[mythtv] Re: backtrace of mythbackend segfault during mythweb recording delete

Tony Lill ajlill at ajlc.waterloo.on.ca
Sun Apr 24 00:37:28 UTC 2005


Fix one segfault and hit another...... Just got burned by what looks
like the same segfault. From what I can tell from the backtrace,
it looks like it happens when MainServer::customEvent tries to lock
a playback socket. Is it possile that there is one too many calls to
DownRef somewhere? That would cause the socket to delete itself, but
references in the playback list are still there. The call to
sock->Lock() would then do horrible things.

The last entried in the log are:

2005-04-23 19:00:59.473 13      ACCEPT[]:[]15
2005-04-23 19:00:59.483 MainServer::HandleAnnounce Playback
2005-04-23 19:00:59.484 adding: spider.ajlc.waterloo.on.ca as a client (events: 0)
2005-04-23 19:00:59.496 2       OK
2005-04-23 19:01:00.024 Finished recording Andromeda on channel: 3174
2005-04-23 19:01:00.040 scheduler: Finished recording
2005-04-23 19:01:00.091 Changing from RecordingOnly to None
2005-04-23 19:01:00.120 Reschedule requested for id 0.
2005-04-23 19:01:00.120 51      BACKEND_MESSAGE[]:[]DONE_RECORDING 2 3651[...
2005-04-23 19:01:00.451 PruneOldRecords...

Backtrace shows:

#0  0x41370c8c in QMutex::lock () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#1  0x08071be3 in MainServer::customEvent (this=0x810d5e0, e=0x8555bc0)
    at server.h:22
#2  0x41121ccc in QObject::event () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#3  0x410c5f24 in QApplication::internalNotify ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#4  0x410c5b19 in QApplication::notify ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#5  0x410c6cba in QApplication::sendPostedEvents ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#6  0x410c6b38 in QApplication::sendPostedEvents ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#7  0x4107e57e in QEventLoop::processEvents ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#8  0x410d9cf6 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#9  0x410d9b98 in QEventLoop::exec () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#10 0x410c6151 in QApplication::exec () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#11 0x08066dbf in main (argc=5, argv=0x28) at main.cpp:587

--
Tony Lill,                         Tony.Lill at AJLC.Waterloo.ON.CA
President, A. J. Lill Consultants        fax/data (519) 650 3571
539 Grand Valley Dr., Cambridge, Ont. N3H 2S2     (519) 241 2461
--------------- http://www.ajlc.waterloo.on.ca/ ----------------
"Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"


More information about the mythtv-dev mailing list