[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
Mon May 22 23:47:05 UTC 2017


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

--- Comment #7 from minfrin at sharp.fm ---
Further progress:

- By removing /etc/ld.so.preload (and thus disabling the RPi's memcpy
optimisation that ultimately breaks valgrind) I can get valgrind to run.

- With valgrind in place, I cannot reproduce the crash. Without valgrind in
place, I can reliably reproduce the crash.

I do see many entries like the following, however I am assuming they're caused
the a non-valgrind malloc being used:

==1370== Conditional jump or move depends on uninitialised value(s)
==1370==    at 0x6AC7A4C: gst_omx_component_add_port (gstomx.c:959)
==1370==    by 0x6ADCDAF: gst_omx_video_enc_open (gstomxvideoenc.c:258)
==1370==    by 0x5D52EF3: gst_video_encoder_change_state
(gstvideoencoder.c:1468)
==1370==    by 0x6ADDE2F: gst_omx_video_enc_change_state (gstomxvideoenc.c:522)
==1370==    by 0x48CF7EF: gst_element_change_state (gstelement.c:2749)
==1370==    by 0x48CF4C7: gst_element_set_state_func (gstelement.c:2703)
==1370==    by 0x48CF00B: gst_element_set_state (gstelement.c:2604)
==1370==    by 0x48CDBC7: gst_element_sync_state_with_parent
(gstelement.c:2131)
==1370==    by 0x68D8D2F: _create_stream_group (gstencodebin.c:1583)
==1370==    by 0x68D5C03: request_pad_for_stream (gstencodebin.c:738)
==1370==    by 0x68D5FE3: gst_encode_bin_request_pad_signal
(gstencodebin.c:816)
==1370==    by 0x4DCBC77: ffi_call_VFP (in
/usr/lib/arm-linux-gnueabihf/libffi.so.6.0.2)
==1370==  Uninitialised value was created by a heap allocation
==1370==    at 0x484550C: malloc (vg_replace_malloc.c:299)
==1370==    by 0x6C0FE93: vcos_generic_mem_alloc_aligned
(vcos_mem_from_malloc.c:56)
==1370==    by 0x6C281FB: completion_thread (in /opt/vc/lib/libvchiq_arm.so)
==1370==

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