[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 5 Oct 2002 18:59:10 +0530 (IST)
The function g_slist_alloc (singly linked list) allocates the
memory well for sometime. But after a few allocations it gives
segmentation fault. If I allocate the memory myself by using
g_new(GSList, 1), it works fine.
I also tried the Allocators, I changed the allocator to allocate
12, 24, 256 elements instead of the default 128, but segmentation fault
still occurs at the same point.
Is there any limit on the allocation or is it a bug? I am using
the glib 2.0 version.
International Institute of Information Technology
|[Prev in Thread]
||[Next in Thread]|