Re: Crash in g_slice_alloc

It's almost certainly a memory corruption problem. Run your program
under valgrind with G_SLICE=always-malloc and it should tell you where
the problem is.


G_SLICE=always-malloc valgrind --tool=memcheck ./my_program


On Wed, 2012-01-11 at 14:54 +0700, Hieu Trung Le wrote:
> Hi,
> I'm currently using GLib for my application and sometime I get crash at
> g_slice_alloc or g_slice_free_chain_with_offset. Do you know what might
> cause of this crash?
> Thanks,
> -Hieu
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org

Attachment: signature.asc
Description: This is a digitally signed message part

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