Bug#360513: libgtk2.0-0: gtk application crashes eventually after upgrade on testing

Alexandre Pereira Nunes alexandre.nunes at gmail.com
Wed Apr 5 23:22:13 UTC 2006


Sjoerd Simons wrote:

> [cut]
>
>>I'll later on, on the meanwhile can you please point me to a change 
>>description so that I can fix my program if it's eventually outdated?
>>    
>>
>
>Glib uses a new memory allocate (slice allocator), you don't have to change
>your  program for it. But as a consequence of this change, crashes as a result
>of allocation bugs are triggered a lot easier. Some bugs we've have seen is
>using g_free instead of g_object_unref and referencing a Glist  data pointer
>after the element has been removed.
>
>  Sjoerd
>  
>

Just to see if I got it (sorry), am I supposed to run it with 
G_SLICE=always-malloc in order to prevent my program from crashing, or 
will it (I would prefer it) somehow help me spotting some possible bug 
on it?

Thanks again,

Alexandre





More information about the Pkg-gnome-maintainers mailing list