GNOME Bugzilla – Bug 706599
g_object_new() causes segfault with glib_mem_profiler_table
Last modified: 2013-08-25 16:17:29 UTC
The following simple program crashes with segfault: int main(void) { GObject *obj; g_mem_set_vtable(glib_mem_profiler_table); obj = g_object_new(G_TYPE_OBJECT, NULL); g_object_unref(obj); g_mem_profile(); return 0; } But if you comment out g_mem_set_vtable(...) line, everything works fine.
I think it is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=705303
*** This bug has been marked as a duplicate of bug 705303 ***