[Gambas-user] Segfault with certain array sizes

Tobias Boege taboege at ...626...
Fri Aug 21 20:51:42 CEST 2015


On Fri, 21 Aug 2015, Beno?t Minisini wrote:
> 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.
> 

Yep.

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list