GNOME Bugzilla – Bug 587223
mpegtsdemux seg.fault due to invalid PMT_pid
Last modified: 2010-11-01 17:31:17 UTC
Please describe the problem: as title, stack strace Core was generated by `python iphoneproxy3.py rtsp://127.0.0.1:8554/1/82 12003'. Program terminated with signal 11, Segmentation fault.
+ Trace 216234
(gdb) list 1702 1702 /* check if this is correct pcr for pmt */ 1703 if (demux->streams[demux->streams[j]->PMT_pid] && 1704 stream->PID == 1705 demux->streams[demux->streams[j]->PMT_pid]->PMT.PCR_PID) { (gdb) p demux->streams[0]->PMT_pid $1 = 8192 (gdb) p demux->streams[demux->streams[0]->PMT_pid]->PMT.PCR_PID The input is a digital tv source which is served with rtsp stream (from gnome-dvb-daemon) Attached the application which cause the crash for reference Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 137512 [details] Application which cause the crash
Seems that this portion of the code has already been modified for more invalid memory access "protection". Can you test again with git head version and check if it still segfaults? Thanks.
H.W. Wan, could you test please?
I pushed a patch a couple of days ago that fixes a memory corruption, can you please try with git master of gst-plugins-bad and see if you can reproduce it now.
Closing this bug report as no further information has been provided. Please feel free to reopen the bug if the problem still occurs with a newer version of GStreamer, thanks.