[Live-devel] Segfault in FileSink while indexing MPEG2-TS

Ross Finlayson finlayson at live555.com
Thu Apr 19 15:38:11 PDT 2007


>I am working to integrate the MPEG2-TS file indexer in to an 
>existing application by basically using the same method as 
>MPEG2TransportStreamIndexer.cpp within a function.  However, the 
>application crashes with a segmentation fault after writing 880-924 
>bytes or so of the index file (from a transport stream of 
>approximately 180 MB).  When I compile and run 
>MPEG2TransportStreamIndexer as a stand-alone binary it works 
>correctly on the same MPEG file.  I need to use it within the 
>application in order to better catch error values and prevent 
>unneeded system calls.  Has anyone else seen this problem, or is 
>there a known issue in this release?

No, there's no known problem.  However, because the indexing code 
works OK in the supplied "MPEG2TransportStreamIndexer" application, 
but not when you modify it, you should be able to track down the 
problem without too much difficulty, I hope.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070419/d03fde50/attachment.html 


More information about the live-devel mailing list