[gstreamer-bugs] [Bug 165398] [ffdec_mpeg2video] invalid memory access / crash

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Jan 27 10:23:10 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=165398
 GStreamer | gst-ffmpeg | Ver: HEAD CVS





------- Additional Comments From Tim-Philipp Müller  2005-01-27 13:23 -------
Apparently my gst-ffmpeg tree was out of data. The gst_data_unref() is fixed in
current CVS, but I still get the other problem in valgrind.



==14110== Invalid free() / delete / delete[]
==14110==    at 0x1B9059FF: realloc (vg_replace_malloc.c:197)
==14110==    by 0x1C37FAE5: av_realloc (mem.c:103)
==14110==    by 0x1C37DC32: av_realloc_static (utils.c:104)
==14110==    by 0x1C37D5E8: alloc_table (common.c:137)
==14110==    by 0x1C37D65A: build_table (common.c:159)
==14110==    by 0x1C37D7EA: build_table (common.c:228)
==14110==    by 0x1C37D98B: init_vlc (common.c:289)
==14110==    by 0x1C47FD1C: init_vlcs (mpeg12.c:998)
==14110==    by 0x1C482362: mpeg_decode_init (mpeg12.c:1943)
==14110==    by 0x1C37E67B: avcodec_open (utils.c:488)
==14110==    by 0x1C332F6B: gst_ffmpegdec_open (gstffmpegdec.c:334)
==14110==    by 0x1C3331CC: gst_ffmpegdec_connect (gstffmpegdec.c:414)
==14110==    by 0x1B957014: gst_pad_link_call_link_functions (gstpad.c:1343)
==14110==    by 0x1B9574CA: gst_pad_link_try (gstpad.c:1410)
==14110==    by 0x1B95B311: gst_pad_set_explicit_caps (gstpad.c:2557)
==14110==  Address 0x804EB80 is not stack'd, malloc'd or (recently) free'd
==14110==
==14110== Invalid read of size 2
==14110==    at 0x1C47AE43: init_2d_vlc_rl (mpeg12.c:122)
==14110==    by 0x1C47FF22: init_vlcs (mpeg12.c:1020)
==14110==    by 0x1C482362: mpeg_decode_init (mpeg12.c:1943)
==14110==    by 0x1C37E67B: avcodec_open (utils.c:488)
==14110==    by 0x1C332F6B: gst_ffmpegdec_open (gstffmpegdec.c:334)
==14110==    by 0x1C3331CC: gst_ffmpegdec_connect (gstffmpegdec.c:414)
==14110==    by 0x1B957014: gst_pad_link_call_link_functions (gstpad.c:1343)
==14110==    by 0x1B9574CA: gst_pad_link_try (gstpad.c:1410)
==14110==    by 0x1B95B311: gst_pad_set_explicit_caps (gstpad.c:2557)
==14110==    by 0x1C2F18FE: gst_dvd_demux_get_video_stream (gstdvddemux.c:529)
==14110==    by 0x1C2EEDE5: gst_mpeg_demux_parse_pes (gstmpegdemux.c:917)
==14110==    by 0x1C2EAE55: gst_mpeg_parse_loop (gstmpegparse.c:535)
==14110==    by 0x1C73E255: loop_group_schedule_function
(gstoptimalscheduler.c:1342)
==14110==    by 0x1C73DAA2: schedule_group (gstoptimalscheduler.c:1163)
==14110==    by 0x1C73DD6E: gst_opt_scheduler_schedule_run_queue
(gstoptimalscheduler.c:1215)
==14110==  Address 0x2 is not stack'd, malloc'd or (recently) free'd
==14110==
==14110== Process terminating with default action of signal 11 (SIGSEGV)
==14110==  Access not within mapped region at address 0x2
==14110==    at 0x1C47AE43: init_2d_vlc_rl (mpeg12.c:122)
==14110==    by 0x1C47FF22: init_vlcs (mpeg12.c:1020)
==14110==    by 0x1C482362: mpeg_decode_init (mpeg12.c:1943)
==14110==    by 0x1C37E67B: avcodec_open (utils.c:488)
==14110==    by 0x1C332F6B: gst_ffmpegdec_open (gstffmpegdec.c:334)
==14110==    by 0x1C3331CC: gst_ffmpegdec_connect (gstffmpegdec.c:414)
==14110==    by 0x1B957014: gst_pad_link_call_link_functions (gstpad.c:1343)
==14110==    by 0x1B9574CA: gst_pad_link_try (gstpad.c:1410)
==14110==    by 0x1B95B311: gst_pad_set_explicit_caps (gstpad.c:2557)
==14110==    by 0x1C2F18FE: gst_dvd_demux_get_video_stream (gstdvddemux.c:529)
==14110==    by 0x1C2EEDE5: gst_mpeg_demux_parse_pes (gstmpegdemux.c:917)
==14110==    by 0x1C2EAE55: gst_mpeg_parse_loop (gstmpegparse.c:535)
==14110==    by 0x1C73E255: loop_group_schedule_function
(gstoptimalscheduler.c:1342)
==14110==    by 0x1C73DAA2: schedule_group (gstoptimalscheduler.c:1163)
==14110==    by 0x1C73DD6E: gst_opt_scheduler_schedule_run_queue
(gstoptimalscheduler.c:1215)
==14110==

Cheers
 -Tim




------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list