[mythtv] mythbackend SEGV's while pausing livetv

Vincent AE Scott mythtv at codex.net
Wed Apr 2 01:38:08 EST 2003


With a checkout from CVS today i am getting fairly consistent core dumps
from the backend.  it happens when pausing livetv, here's a backtrace:



#0  RingBuffer::StopReads (this=0x0) at RingBuffer.h:49
#1  0x08099272 in TVRec::PauseRingBuffer (this=0x82d3388) at
tv_rec.cpp:1562
#2  0x0805a6fc in EncoderLink::PauseRingBuffer (this=0x82d3448) at
encoderlink.cpp:479
#3  0x08068bf6 in MainServer::HandleRecorderQuery (this=0x82da2a0,
slist=@0xbfffe6cc, commands=@0xbfffe6c4,
    pbs=0x82dd938) at mainserver.cpp:1016
#4  0x08061bc9 in MainServer::readSocket (this=0x82da2a0) at
mainserver.cpp:144
#5  0x0807a8f9 in MainServer::qt_invoke (this=0x82da2a0, _id=6,
_o=0xbfffe774) at moc_mainserver.cpp:100
#6  0x403c2a59 in ?? ()
#7  0x403c299e in ?? ()
#8  0x40651328 in ?? ()
#9  0x40547302 in ?? ()
#10 0x40651419 in ?? ()
#11 0x403c2a59 in ?? ()
#12 0x403c2bd4 in ?? ()
#13 0x4062394b in ?? ()
#14 0x403d98ec in ?? ()
#15 0x40370a93 in ?? ()
#16 0x40370894 in ?? ()
#17 0x40353403 in ?? ()
#18 0x4033532a in ?? ()
#19 0x403821fe in ?? ()
#20 0x4038215b in ?? ()
#21 0x40370bea in ?? ()
#22 0x0805fd9c in main (argc=1, argv=0xbffffde4) at main.cpp:223



walking back up the stack i see the following:
(gdb) frame 1
#1  0x08099272 in TVRec::PauseRingBuffer (this=0x82d3388) at
tv_rec.cpp:1562
1562        rbuffer->StopReads();
(gdb) p rbuffer
$7 = (RingBuffer *) 0x0

(gdb) frame 2
#2  0x0805a6fc in EncoderLink::PauseRingBuffer (this=0x82d3448) at
encoderlink.cpp:479
479             tv->PauseRingBuffer();
(gdb) p tv->rbuffer
$17 = (class RingBuffer *) 0x0

(gdb) frame 3
#3  0x08068bf6 in MainServer::HandleRecorderQuery (this=0x82da2a0,
slist=@0xbfffe6cc, commands=@0xbfffe6c4, 
    pbs=0x82dd938) at mainserver.cpp:1016
1016            enc->PauseRingBuffer();
(gdb) p *enc->tv->rbuffer
Cannot access memory at address 0x0

at which point in MainServer::HandleRecorderQuery my c++ knowledge hits
a dead end.


So i guess i have one of two questions to ask the dev people:
1. did that make enough sense to be usefull to identify why it core'd.
2. if not, what further information can i provide to help find out whats
causing it.

everything was built using gcc 2.95.4 on a debian/tetsing machine, with
libqt3-mt-dev 3.1.1+cvs.20021220-1.

-v

-- 
keys:  http://codex.net/pgp/gpg.asc http://codex.net/pgp/pgp.asc

 My brother Bob doesn't want to be in government -- he promised Dad he'd go straight.
 -- JFK



More information about the mythtv-dev mailing list