GNOME Bugzilla – Bug 563837
gst_tag_list_new () segfaults
Last modified: 2008-12-10 09:47:30 UTC
Steps to reproduce: 1. create new GstTagList with gst_tag_list_new () 2. 3. Stack trace: [Thread debugging using libthread_db enabled] (process:16823): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.16.6/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function [New Thread 0xb7a606b0 (LWP 16823)] Program received signal SIGSEGV, Segmentation fault.
+ Trace 210633
Thread 3081111216 (LWP 16823)
Other information:
Created attachment 124259 [details] crashing code
You have to call g_type_init() and g_thread_init() before using any GStreamer functions (well, the latter can be dropped in some cases).
Above all, you have to call gst_init() before you use any other GStreamer function.