Il 10/11/2010 20:57, Ross Finlayson ha scritto:
Il 10/11/2010 17:50, Ross Finlayson ha scritto:

fprintf(stderr, "DEBUG: %d = %d - (%d + %d + %d), tbs %d, tba %d, ods %d\n", newPacketStart, fOutBuf->curPacketSize(), rtpHeaderSize, fSpecialHeaderSize, frameSpecificHeaderSize(), fOutBuf->totalBufferSize(), fOutBuf->totalBytesAvailable(), fOutBuf->overflowDataSize());

Dear Ross,
What I get after crashing is:

 DEBUG: 1424 = 1448 - (12 + 12 + 0), tbs 1000568, tba 962228, ods 35806

(I know it seems ok

Yes, it is, which means that your previous description of the problem was wrong.

I suspect that the 'efficiency hack' is not the cause of the problem, and that disabling it doesn't fix the problem, but just masks it somehow. (I.e., it still exists, but just doesn't become obvious.)


As additional info, here's the traceback of the crash:

*** glibc detected *** ./rtspServer: munmap_chunk(): invalid pointer: 0x406e5008 ***
======= Backtrace: =========
/lib/libc.so.6[0x40231f3c]
./rtspServer(_ZN15OutPacketBufferD1Ev+0x18)[0x5db3c]
./rtspServer(_ZN18MultiFramedRTPSinkD2Ev+0x3c)[0x6a10c]
./rtspServer(_ZN12VideoRTPSinkD2Ev+0x14)[0x6a410]
./rtspServer(_ZN16JPEGVideoRTPSinkD2Ev+0x14)[0x61c0c]
./rtspServer(_ZN20LiveJPEGVideoRTPSinkD0Ev+0x2c)[0x45e80]

What is "LiveJPEGVideoRTPSink"? I told you that you no longer needed to subclass "JPEGVideoRTPSink". I meant it.

Because the problem seems to occur only when you add your own custom code, I'm not going to be able to help you fix it.
Dear Ross,

LiveJPEGVideoRTPSink adds only a parameters struct to the class members; it does nothing else. Anyway, I'm gonna remove it and investigate further.

Regards,
Cristiano.

--
Belloni Cristiano
Imavis Srl.
www.imavis.com <http://www.imavis.com>
bell...@imavis.com <mailto://bell...@imavis.com>
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to