[Bug 782812] gst_element_factory_make: Program received signal SIGSEGV, Segmentation fault. g_slice_alloc (mem_size=mem_size at entry=368)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 25 10:13:36 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=782812

--- Comment #12 from minfrin at sharp.fm ---
gst_transcoder_request_new_pad is our code, it wires up some ghost pads in a
bin and calls gst_ghost_pad_new_no_target_from_template() a number of times for
each src and sink attached to the bin.

We crash on the 6th attempt to create a ghostpad, which is the second attempt
to create a sink pad.

Breakpoint 3, gst_transcoder_request_new_pad (element=0x18e6c8, templ=0x18ccc8,
name_templ=0x0, caps=0x0) at gsttranscoder.c:1120
1120          pad = gst_ghost_pad_new_no_target_from_template (name, templ);
(gdb) cont
Continuing.

Breakpoint 2, gst_transcoder_request_new_pad (element=0x18e6c8, templ=0x18cc68,
name_templ=0x0, caps=0x0) at gsttranscoder.c:1090
1090          pad = gst_ghost_pad_new_no_target_from_template (name, templ);
(gdb) 
Continuing.

Breakpoint 2, gst_transcoder_request_new_pad (element=0x18e6c8, templ=0x18cc68,
name_templ=0x0, caps=0x0) at gsttranscoder.c:1090
1090          pad = gst_ghost_pad_new_no_target_from_template (name, templ);
(gdb) 
Continuing.

Breakpoint 2, gst_transcoder_request_new_pad (element=0x18e6c8, templ=0x18cc68,
name_templ=0x0, caps=0x0) at gsttranscoder.c:1090
1090          pad = gst_ghost_pad_new_no_target_from_template (name, templ);
(gdb) 
Continuing.

Breakpoint 2, gst_transcoder_request_new_pad (element=0x18e6c8, templ=0x18cc68,
name_templ=0x0, caps=0x0) at gsttranscoder.c:1090
1090          pad = gst_ghost_pad_new_no_target_from_template (name, templ);
(gdb) 
Continuing.

Breakpoint 3, gst_transcoder_request_new_pad (element=0x18e6c8, templ=0x18ccc8,
name_templ=0x0, caps=0x0) at gsttranscoder.c:1120
1120          pad = gst_ghost_pad_new_no_target_from_template (name, templ);
(gdb) 
Continuing.

Program received signal SIGSEGV, Segmentation fault.
g_slice_alloc (mem_size=mem_size at entry=368) at
/build/glib2.0-tTvduh/glib2.0-2.42.1/./glib/gslice.c:998
998          mem = thread_memory_magazine1_alloc (tmem, ix);

-- 
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