惱人的 memory warning 終於消失了 [LP: #116870]
glib2.0 (2.13.7-1ubuntu1) gutsy; urgency=low
* Sync with Debian and new upstream version:
- The memory corruption warning from the slice allocator that
occurred when threads were initialized after the slice allocator
has been removed, as the slice allocator now works fine
in this scenario (LP: #116870)
- New functions g_once_init_enter() and g_once_init_leave() make
it easier to write threadsafe one-time initialization functions
再看一次這個 warning , 以後就不會再見到他了!!
***MEMORY-WARNING***: gcalctool[13470]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon…





