[Gambas-user] Segfault with certain array sizes

Benoît Minisini gambas at ...1...
Fri Aug 21 20:49:57 CEST 2015


Le 21/08/2015 10:04, Tobias Boege a écrit :
> Hi Benoit (or Adrien, as I've seen you are a good substitute :-)),
>
> while testing a project for a thread by martin p cristia yesterday, I saw
> that segfaults could occur when allocating an array of certain size. Use the
> attached project to create a Float[] of different numbers of elements. Over
> here, I have these numbers which yield consistent results:
>
>    - 200: OK,
>    - 210: Segfault,
>    - 300: Out of memory.
>
> gdb and valgrind logs are attached.
>
> Regards,
> Tobi
>

It should be fixed in revision #7232.

Regards,

-- 
Benoît Minisini




More information about the User mailing list