GNOME Bugzilla – Bug 607973
PATCH: g_mem_set_vtable in multithreaded applications
Last modified: 2010-03-12 14:52:29 UTC
Created attachment 152181 [details] PATCH This patch fixes the codeposition of the recently added glib memory statistic support in vala. "g_mem_set_vtable" and "g_thread_init" codepositions have to be swapped because "g_mem_set_vtable" has to be called even before "g_thread_init". Without this patch multithreaded applications that are using glib's memory statistic will fail. Regards, Jörn Magens
Created attachment 155565 [details] [review] New Patch, same content, but updated for the vala version of 08.March2010
This is really a trivial fix. Please apply it as I already missed the last vala release.
commit 67e44ed8b41fd9e95d17d2c6f4e54a95101f828c Author: Jörn Magens <interflug1@gmx.net> Date: Fri Mar 12 15:50:13 2010 +0100 Fix use of memory profiler in multithreaded applications Fixes bug 607973.