[Gambas-user] signal 11

Jean-Yves F. Barbier 12ukwn at ...626...
Tue Jul 21 02:28:51 CEST 2009


Benoît Minisini a écrit :
>> Jean-Yves F. Barbier a écrit :
>>> Debian sid
>>> Gambas V.2.13.1-1
>>> ==================
>>>
>>> Hi,
>>>
>>> I try to start my app, but I can't even trace into it as it returns:
>>> (from fr) Program crashed triggering signal# 11 - Please send a bug
>>> report to <ML>
>>>
>>> I already had that, but at least I was able to trace until faulty line.
>> Ok found: it was this line (in a "global" class):
>> STATIC arrayAllRights AS NEW String[3000, 3000, 3000, 3000, 3000, 3000]
>> but I don't know why.
> 
> 8-) !!!
> 
> You are asking 2 916 000 000 000 000 000 000 bytes of memory to the system by 
> doing that... I think there is less atoms in the universe than that.
> 
> You should have a memory or overflow error anyway instead of a crash.

I may have a tiny bit misunderstood the array's internal functioning :-)
(and your assertion about the univers' atoms number is directly drawn
from the big bang theory, which is still... a theory, such as deciding
that if calculation gives infinite energy from vacuum it must be reduced
to a constant :P )

I've got to find out how to put Results from queries into variable arrays.

Thanks

JY
-- 
Wonderful day.  Your hangover just makes it seem terrible.




More information about the User mailing list