[Gambas-user] double free or corruption

Benoit Minisini gambas at ...1...
Tue May 20 14:41:43 CEST 2008


On mardi 20 mai 2008, Ron Klinkien wrote:
> Benoit Minisini wrote:
> > On dimanche 18 mai 2008, Ron wrote:
> >> This line:
> >>
> >> DIM axbData[2] AS Byte
> >>
> >> Results in Signal #6
> >>
> >> and *** glibc detected *** double free or corruption (fasttop):
> >> 0x0808fb20 ***
> >> in console
> >>
> >> Gambas 2.6
> >>
> >> Regards,
> >> Ron.
> >
> > Not there. Can you send your project? Or, better, a little project that
> > crashes the same way?
>
> Hi,
>
> Hmm the program I had that problem in, has grown much bigger in the mean
> time, (it's a Misterhouse clone/light version written in Gambas) if I
> change the line to read like above of course it doesn't crash anymore. ;-(
> I have taken out the class and put it in a new project, but alas it
> keeps working.
>
> I have found some core dumps, but I don't know if they help you?
>
> Regards,
> Ron.
>

That could help: open them with gdb (gdb gbx2 core.XXXX) and send me the 
result of the stack backtrace with the 'bt' command.

-- 
Benoit Minisini




More information about the User mailing list