[gstreamer-bugs] [Bug 154431] [mpeg] on PPC, gstreamer segfaults on any mpeg video
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Wed Feb 2 03:59:34 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=154431
GStreamer | gst-plugins | Ver: HEAD CVS
------- Additional Comments From Michele Baldessari 2005-02-02 06:59 -------
(Today's cvs. Played around a bit more with this bug adding some debug spew
around gstdata and gstbuffer)
The segfault happens here in gstmpeg2dec.c (~880):
if (info->discard_fbuf && info->discard_fbuf->id) {
GST_WARNING ("Before gst_buffer_unref");
gst_buffer_unref ((GstBuffer *) info->discard_fbuf->id);
}
Specifically it segfaults when trying to g_free(GST_BUFFER_DATA(buffer)) inside
the gst_buffer_default_free function. buffer->data gone wrong somewhere..Hope
this can give more insight
mpeg2dec(31865) gstmpeg2dec.c(882):gst_mpeg2dec_chain: Before gst_buffer_unref
GST_BUFFER(31865) gstdata.c(239):gst_data_unref: 0x1002d8e8 1->0
GST_BUFFER(31865) gstdata.c(241):gst_data_unref: (data->free 0xfed2f80)
GST_BUFFER(31865) gstdata.c(243):gst_data_unref: After return_if_fail
GST_BUFFER(31865) gstdata.c(246):gst_data_unref: After gst_atomic_int_dec_and_test
GST_BUFFER(31865) gstdata.c(250):gst_data_unref: zero = true
GST_BUFFER(31865) gstdata.c(252):gst_data_unref: about to data (0x1002d8e8)
data->free (0xfed2f80)
GST_BUFFER(31865) gstbuffer.c(95):gst_buffer_default_free:
gst_buffer_default_free 0x1002d8e8
GST_BUFFER(31865) gstbuffer.c(102):gst_buffer_default_free:
!GST_BUFFER_FLAG_IS_SET(buffer) (0x1002d8e8)
GST_BUFFER(31865) gstbuffer.c(104):gst_buffer_default_free: before g_free
(GST_BUFFER_DATA((buffer) (0x3083c008)))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 31865)]
_int_free (av=0xfdceb84, mem=0x3083c008) at malloc.c:4192
4192 malloc.c: No such file or directory.
in malloc.c
(gdb) x 0xfed2f80
0xfed2f80 <gst_buffer_default_free>: 0x9421ffe0
(gdb) x 0x3083c008
0x3083c008: 0x10101010
------- 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