[Bug 772845] SIGSEGV when running GST_TRACER examples
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Oct 13 11:13:32 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=772845
--- Comment #4 from Marianna S. Buschle <msb at qtec.com> ---
root at qt5022-fglrx:~# G_SLICE=always-malloc GST_DEBUG="GST_TRACER:7"
GST_TRACERS="stats;rusage" GST_DEBUG_FILE=trace.log valgrind
--track-origins=yes gst-launch-1.0 fakesrc num-buffers=10 sizetype=fixed !
queue ! fakesink
==1702== Memcheck, a memory error detector
==1702== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==1702== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==1702== Command: gst-launch-1.0 fakesrc num-buffers=10 sizetype=fixed ! queue
! fakesink
==1702==
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.021224892
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
==1702== Invalid free() / delete / delete[] / realloc()
==1702== at 0x4C2B06A: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1702== by 0x6DCF1FC: free_trace_values (gstrusage.c:88)
==1702== by 0x6DCF1FC: free_thread_stats (gstrusage.c:146)
==1702== by 0x53E1CC9: g_hash_table_remove_all_nodes.part.0 (ghash.c:548)
==1702== by 0x53E2B71: g_hash_table_remove_all_nodes (ghash.c:1425)
==1702== by 0x53E2B71: g_hash_table_remove_all (ghash.c:1428)
==1702== by 0x53E2BA5: g_hash_table_destroy (ghash.c:1122)
==1702== by 0x6DCFD64: gst_rusage_tracer_finalize (gstrusage.c:263)
==1702== by 0x516E321: g_object_unref (gobject.c:3179)
==1702== by 0x4ED52D3: _priv_gst_tracing_deinit (gsttracerutils.c:150)
==1702== by 0x4E61294: gst_deinit (gst.c:967)
==1702== by 0x4035D2: main (gst-launch.c:1191)
==1702== Address 0x6c09da8 is 8 bytes inside a block of size 32 alloc'd
==1702== at 0x4C29F50: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1702== by 0x53F7B80: g_malloc (gmem.c:94)
==1702== by 0x540DBB2: g_slice_alloc (gslice.c:1007)
==1702== by 0x540E225: g_slice_alloc0 (gslice.c:1032)
==1702== by 0x6DCF796: make_trace_values (gstrusage.c:79)
==1702== by 0x6DCF796: do_stats (gstrusage.c:203)
==1702== by 0x4E8B632: gst_element_post_message (gstelement.c:1765)
==1702== by 0x4E9EFFD: do_stream_status.isra.2 (gstpad.c:5915)
==1702== by 0x4ED1800: gst_task_func (gsttask.c:303)
==1702== by 0x5417DA8: g_thread_pool_thread_proxy (gthreadpool.c:307)
==1702== by 0x5417444: g_thread_proxy (gthread.c:778)
==1702== by 0x56BB345: start_thread (pthread_create.c:333)
==1702==
==1702== Invalid free() / delete / delete[] / realloc()
==1702== at 0x4C2B06A: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1702== by 0x6DCFD7B: free_trace_values (gstrusage.c:88)
==1702== by 0x6DCFD7B: gst_rusage_tracer_finalize (gstrusage.c:264)
==1702== by 0x516E321: g_object_unref (gobject.c:3179)
==1702== by 0x4ED52D3: _priv_gst_tracing_deinit (gsttracerutils.c:150)
==1702== by 0x4E61294: gst_deinit (gst.c:967)
==1702== by 0x4035D2: main (gst-launch.c:1191)
==1702== Address 0x6aedb18 is 8 bytes inside a block of size 32 alloc'd
==1702== at 0x4C29F50: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1702== by 0x53F7B80: g_malloc (gmem.c:94)
==1702== by 0x540DBB2: g_slice_alloc (gslice.c:1007)
==1702== by 0x540E225: g_slice_alloc0 (gslice.c:1032)
==1702== by 0x6DCF379: make_trace_values (gstrusage.c:79)
==1702== by 0x6DCF379: gst_rusage_tracer_init (gstrusage.c:358)
==1702== by 0x518B757: g_type_create_instance (gtype.c:1874)
==1702== by 0x516E863: g_object_new_internal (gobject.c:1779)
==1702== by 0x5170569: g_object_new_valist (gobject.c:2038)
==1702== by 0x51708BB: g_object_new (gobject.c:1622)
==1702== by 0x4ED50FB: _priv_gst_tracing_init (gsttracerutils.c:120)
==1702== by 0x4E6094D: init_post (gst.c:730)
==1702== by 0x53FCE77: g_option_context_parse (goption.c:2159)
==1702==
==1702==
==1702== HEAP SUMMARY:
==1702== in use at exit: 216,658 bytes in 2,377 blocks
==1702== total heap usage: 25,248 allocs, 22,875 frees, 3,231,518 bytes
allocated
==1702==
==1702== LEAK SUMMARY:
==1702== definitely lost: 464 bytes in 5 blocks
==1702== indirectly lost: 133 bytes in 5 blocks
==1702== possibly lost: 5,036 bytes in 64 blocks
==1702== still reachable: 198,329 bytes in 2,205 blocks
==1702== of which reachable via heuristic:
==1702== length64 : 240 bytes in 6 blocks
==1702== newarray : 1,568 bytes in 18 blocks
==1702== suppressed: 0 bytes in 0 blocks
==1702== Rerun with --leak-check=full to see details of leaked memory
==1702==
==1702== For counts of detected and suppressed errors, rerun with: -v
==1702== ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 0 from 0)
--
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