Re: [Vala] Gee LinkedList Problem : Memory allocation fails when list size > 1000000



Here is the output of the debugger:


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffff8
0x000000010014e0d5 in gee_linked_list_node_free (self=0x1019c18c0) at
linkedlist.c:1183
1183            _gee_linked_list_node_free0 (self->next);
(gdb)


Serge.


On Tue, Jun 14, 2011 at 4:22 PM, Reid Thompson <Reid Thompson ateb com> wrote:
On 06/14/2011 09:17 AM, Serge Hulne wrote:

No : my Mac Mini has 2GB of RAM, 1.5 of which are currently free.

My guess is that the code of linkedlist.c (from libgee) is not (yet)
entirely portable between Linux and Mac.

Perhaps  int should be changed by uint or long in the code of
linkedlist.c or something like that.

Serge.

when you run the failing prog in a debugger, where/why does it crash?




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