[Live-devel] bus error

Matthew Romaine Matthew.Romaine at jp.sony.com
Tue Jan 25 17:04:07 PST 2005


Hi Ross,

I'm occasionally running into a bus error upon connecting to the rtsp 
test code server. Often if I just start it up a second time, the 
connection is fine.

Here's some gdb output. The fPacketStart value looks rather large - 
perhaps it's not being reset somewhere? Any thoughts?

thanks,
matt

---------------

Program received signal EXC_BAD_ACCESS, Could not access memory.
0xffff8818 in __memcpy ()
(gdb) where
#0 0xffff8818 in __memcpy ()
#1 0x0001a034 in OutPacketBuffer::enqueue(unsigned char const*, 
unsigned) (this=0x600920, from=0xbffff990 "\200`馥", numBytes=4) at 
include/MediaSink.hh:75
#2 0x0001a070 in OutPacketBuffer::enqueueWord(unsigned) (this=0x54aff2, 
word=3221223828) at MediaSink.cpp:139
#3 0x000274dc in MultiFramedRTPSink::buildAndSendPacket(unsigned) 
(this=0x600800, isFirstPacket=3221223828) at MultiFramedRTPSink.cpp:130
#4 0x00027c14 in MultiFramedRTPSink::sendNext(void*) 
(firstArg=0x54aff2) at MultiFramedRTPSink.cpp:362
#5 0x000712d4 in AlarmHandler::handleTimeout() (this=0x600dc0) at 
BasicTaskScheduler0.cpp:34
#6 0x0004da08 in DelayQueue::handleAlarm() (this=0x600144) at 
DelayQueue.cpp:176
#7 0x0004d154 in BasicTaskScheduler::SingleStep(unsigned) 
(this=0x600140, maxDelayTime=0) at BasicTaskScheduler.cpp:95
#8 0x0004c8a0 in BasicTaskScheduler0::doEventLoop(char*) 
(this=0x600140, watchVariable=0x0) at BasicTaskScheduler0.cpp:74
#9 0x0000308c in main (argc=1, argv=0xbffffd90) at 
../UsageEnvironment/include/UsageEnvironment.hh:45
(gdb) up
#1 0x0001a034 in OutPacketBuffer::enqueue(unsigned char const*, 
unsigned) (this=0x600920, from=0xbffff990 "\200`馥", numBytes=4) at 
include/MediaSink.hh:75
75 unsigned char* curPtr() const {return &fBuf[fPacketStart + 
fCurOffset];}
(gdb) p fPacketStart
$1 = 4294967282
(gdb) p fCurOffset
$2 = 0
(gdb)


More information about the live-devel mailing list