help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: Gtk Blox tip


From: Paolo Bonzini
Subject: [Help-smalltalk] Re: Gtk Blox tip
Date: Wed, 25 Feb 2009 16:28:45 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Gwenael Casaccio wrote:
> Hi,
> 
> Here is a simple tip if you've tried to launch gtk-blox more than 5 min ;) 
> without a crash you can launch like this :
> 
> G_SLICE=always-malloc gst-blox

Hum, maybe G_SLICE=debug-blocks will help debugging it?  The example in
the documentation sounds like a likely case...

"An example of a memory corruption scenario that cannot be reproduced
with G_SLICE=always-malloc, but will be caught by G_SLICE=debug-blocks
is as follows:

  void *slist = g_slist_alloc(); /* void* gives up type-safety */
  g_list_free (slist);           /* sizeof (GSList) != sizeof (GList) */

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]