[Bug 755782] New: compositor: Segmentation fault
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 29 03:22:02 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=755782
Bug ID: 755782
Summary: compositor: Segmentation fault
Classification: Platform
Product: GStreamer
Version: 1.6.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: santoscadenas at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Basically in compositor.c:433
GST_VIDEO_INFO_FORMAT (&cpad->conversion_info)
The problem is that this macro expands in:
((&cpad->conversion_info)->finfo)->format
and in this case:
(&cpad->conversion_info)->finfo is NULL
I don't see where this structure has to be initialized.
This is gdb backtrace:
#0 0x00007f3d5a3ed7c8 in gst_compositor_pad_prepare_frame (pad=0x7f3cf5b2f170
[GstCompositorPad], vagg=0x7f3d685afcf0 [GstCompositor]) at compositor.c:433
#1 0x00007f3d59d4ae6a in gst_aggregator_iterate_sinkpads
(self=self at entry=0x7f3d685afcf0 [GstCompositor], func=func at entry=0x7f3d5a1dbb00
<prepare_frames>, user_data=user_data at entry=0x0)
at gstaggregator.c:377
#2 0x00007f3d5a1dfcb4 in gst_videoaggregator_aggregate (outbuf=0x7f3d5bffe9d0,
output_end_time=1800000000, output_start_time=0, vagg=0x7f3d685afcf0
[GstCompositor]) at gstvideoaggregator.c:1338
#3 0x00007f3d5a1dfcb4 in gst_videoaggregator_aggregate (agg=<optimized out>,
timeout=<optimized out>) at gstvideoaggregator.c:1547
#4 0x00007f3d59d4be5c in gst_aggregator_aggregate_func (self=0x7f3d685afcf0
[GstCompositor]) at gstaggregator.c:814
#5 0x00007f3d7e6a9aae in gst_task_func (task=0x7f3d68092a70 [GstTask]) at
gsttask.c:343
#6 0x00007f3d7e11d2e8 in g_thread_pool_thread_proxy (data=<optimized out>) at
/build/buildd/glib2.0-2.44.1/./glib/gthreadpool.c:307
#7 0x00007f3d7e11c955 in g_thread_proxy (data=0x7f3cf46ed000) at
/build/buildd/glib2.0-2.44.1/./glib/gthread.c:764
#8 0x00007f3d7f76b6aa in start_thread (arg=0x7f3d5bfff700) at
pthread_create.c:333
#9 0x00007f3d7cf76eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) print (&cpad->conversion_info)->finfo
$30 = (const GstVideoFormatInfo *) 0x0
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list