[mythtv] Re: SIGSEGV at end of recording

Michael J. Sherman msherman at dsbox.com
Sun May 22 03:27:24 UTC 2005


I have also been seeing this exact behavior.  My backtrace looks 
exactly like yours below.  Today I completely cleaned out my DB, 
installed a fresh Myth, and even reinstalled ivtv and upgraded all FC3 
packages via apt.  Still the problem persists.

The crash is in QMutex::lock.  I have Fedora Core 3 with an AverMedia 
M179.  Seems like it was working until late April, and ever since then 
(I do CVS updates weekly) it will crash often after recordings finish.

-Mike


>  I also get backend segfaults when recordings end, and like you, it
> doesn't happen every time. But, it's happening 1-3 times daily. I
> compiled from cvs on May 7th.
>
> If you have a workaround, I would love to know.
>
> I also appreciate anyone's help reverting my cvs back to 4/23/2005.
> This is what I had earlier and it was stable with my setup. I built a
> new backend and this caused me to sync with the current codebase.
>
> Donn
>
> On 5/6/05, layttan <myth at layttan.com> wrote:
> > I'm having a problem when a recording ends that the backend will get 
> a
> > SIGSEGV. It's not every time, but it is fairly frequent. I have been
> > able to get a trace (with CVS as of 8pm pacific May 6th) and was 
> hoping
> > someone could shed some light on the problem. Let me know if there's
> > anything else I should provide to help in tracking this down.
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1208121664 (LWP 11765)]
> > 0x0381ef4c in QMutex::lock () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > (gdb) bt full
> > #0 0x0381ef4c in QMutex::lock () from 
> /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #1 0x08096e10 in RefSocket::Lock (this=0x99fcfd0) at server.h:22
> > No locals.
> > #2 0x08075030 in MainServer::customEvent (this=0x99e6350, 
> e=0x9a2e008)
> > at mainserver.cpp:608
> > pbs = (PlaybackSock *) 0x9a43dd0
> > sock = (RefSocket *) 0x99fcfd0
> > sendGlobal = false
> > sentSet = {<QGList> = {<> = {<No data fields>}, firstNode =
> > 0x9a28e90,
> > lastNode = 0x9a28e90, curNode = 0x9a28e90, curIndex = 0, numNodes = 
> 1,
> > iterators = 0x0}, <No data fields>}
> > iter = {_M_current = 0x9a46740}
> > broadcast = {<QValueList<QString>> = {
> > sh = 0x9a43b88}, <No data fields>}
> > sendstuff = true
> > #3 0x035887be in QObject::event () from 
> /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x0352c539 in QApplication::internalNotify ()
> > from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #5 0x0352c6ca in QApplication::notify ()
> > from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #6 0x0352d696 in QApplication::sendPostedEvents ()
> > from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #7 0x0352d722 in QApplication::sendPostedEvents ()
> > from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #8 0x034dc1c8 in QEventLoop::processEvents ()
> > from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #9 0x03541b85 in QEventLoop::enterLoop ()
> > from /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #10 0x03541ade in QEventLoop::exec () from 
> /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > ---Type <return> to continue, or q <return> to quit---
> > #11 0x0352b73b in QApplication::exec () from
> > /usr/lib/qt-3.3/lib/libqt-mt.so.3
> > No symbol table info available.
> > #12 0x0806d6d3 in main (argc=1, argv=0xbfe8bdb4) at main.cpp:594
> > a = <incomplete type>
> > logfile = {static null = {
> > static null = <same as static member of an already seen type>,
> > d = 0x99c10c0, static shared_null = 0x99c10c0}, d = 0x99d3fa0,
> > static shared_null = 0x99c10c0}
> > resched = false
> > nosched = false
> > printexpire = false
> > logfd = -1
> > port = 6543
> > fatal_error = false
> > verboseString = {static null = {
> > static null = <same as static member of an already seen type>,
> > d = 0x99c10c0, static shared_null = 0x99c10c0}, d = 0x99d68a8,
> > static shared_null = 0x99c10c0}
> > runsched = true
> > binname = {static null = {
> > static null = <same as static member of an already seen type>,
> > d = 0x99c10c0, static shared_null = 0x99c10c0}, d = 0x99d6868,
> > static shared_null = 0x99c10c0}
> > daemonize = false
> > printsched = false
> > masterip = {static null = {
> > static null = <same as static member of an already seen type>,
> > d = 0x99c10c0, static shared_null = 0x99c10c0}, d = 0x99df790,
> > static shared_null = 0x99c10c0}
> > testsched = false
> > pidfs = <incomplete type>
> > statusport = 6544
> > myip = {static null = {
> > static null = <same as static member of an already seen type>,
> > d = 0x99c10c0, static shared_null = 0x99c10c0}, d = 0x99dfa40,
> > static shared_null = 0x99c10c0}
> > ismaster = true
> >
> > Thanks
> >
> > layttan
--
Sent from my .mac account



More information about the mythtv-dev mailing list