[Gambas-user] double free or corruption

Ron Klinkien ron at ...1740...
Tue May 20 14:47:02 CEST 2008


Benoit Minisini wrote:
> 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.
>
>   
Hmm only this... not much info...
...
Core was generated by `/usr/local/bin/gbx2 -g -f 
/home/ron/Development/Gambas Projects/homey --'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7219d93 in ?? ()
(gdb) bt
#0  0xb7219d93 in ?? ()
#1  0xb737a240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76f349e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)

Regards,
Ron.




More information about the User mailing list