"invalid next size (fast)" ohn opensuse 11.2

BlitzMax Forums/BlitzMax Beginners Area/"invalid next size (fast)" ohn opensuse 11.2

explosive(Posted 2009) [#1]
Hello altogether,

now that I have a new hard drive I installed opensuse on my mac. Last time I had the problem that BlitzMAx doesn't support the 64Bit-Linux but now as I reinstalled opensuse in 32Bit-mode I get the following error when I try to compile:

*** glibc detected *** /usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: free(): invalid next size (normal): 0x083ec370 ***
======= Backtrace: =========
/lib/libc.so.6[0xb739950b]
/lib/libc.so.6[0xb739ade4]
/lib/libc.so.6(cfree+0x6d)[0xb739dfdd]
/usr/lib/libbfd-2.19.51.20090527-10.26.4.so(bfd_elf_get_elf_syms+0xd8)[0xb74fa878]
/usr/lib/libbfd-2.19.51.20090527-10.26.4.so(bfd_elf_link_add_symbols+0x1f4c)[0xb751d82c]
/usr/lib/libbfd-2.19.51.20090527-10.26.4.so(bfd_elf_link_add_symbols+0x63b)[0xb751bf1b]
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld[0x80557de]
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld[0x80567ae]
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld[0x8059b79]
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld[0x805f526]
/lib/libc.so.6(__libc_start_main+0xfe)[0xb7342ace]
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld[0x804b0f1]
======= Memory map: ========
08048000-080b2000 r-xp 00000000 08:04 108268     /usr/bin/ld
080b2000-080b3000 r-xp 00069000 08:04 108268     /usr/bin/ld
080b3000-080b4000 rwxp 0006a000 08:04 108268     /usr/bin/ld
080b4000-08446000 rwxp 00000000 00:00 0          [heap]
b71e0000-b71fe000 r-xp 00000000 08:04 87073      /lib/libgcc_s.so.1
b71fe000-b71ff000 r-xp 0001d000 08:04 87073      /lib/libgcc_s.so.1
b71ff000-b7200000 rwxp 0001e000 08:04 87073      /lib/libgcc_s.so.1
b7200000-b7221000 rwxp 00000000 00:00 0 
b7221000-b7300000 ---p 00000000 00:00 0 
b7317000-b7318000 rwxp 00000000 00:00 0 
b7318000-b732a000 r-xp 00000000 08:04 86258      /lib/libz.so.1.2.3
b732a000-b732b000 r-xp 00011000 08:04 86258      /lib/libz.so.1.2.3
b732b000-b732c000 rwxp 00012000 08:04 86258      /lib/libz.so.1.2.3
b732c000-b7485000 r-xp 00000000 08:04 86264      /lib/libc-2.10.1.so
b7485000-b7486000 ---p 00159000 08:04 86264      /lib/libc-2.10.1.so
b7486000-b7488000 r-xp 00159000 08:04 86264      /lib/libc-2.10.1.so
b7488000-b7489000 rwxp 0015b000 08:04 86264      /lib/libc-2.10.1.so
b7489000-b748c000 rwxp 00000000 00:00 0 
b748c000-b76ba000 r-xp 00000000 08:04 108315     /usr/lib/libbfd-2.19.51.20090527-10.26.4.so
b76ba000-b76ed000 r-xp 0022d000 08:04 108315     /usr/lib/libbfd-2.19.51.20090527-10.26.4.so
b76ed000-b76f3000 rwxp 00260000 08:04 108315     /usr/lib/libbfd-2.19.51.20090527-10.26.4.so
b76f3000-b76f8000 rwxp 00000000 00:00 0 
b7702000-b770e000 rwxp 00000000 00:00 0 
b770e000-b772c000 r-xp 00000000 08:04 87061      /lib/ld-2.10.1.so
b772c000-b772d000 r-xp 0001d000 08:04 87061      /lib/ld-2.10.1.so
b772d000-b772e000 rwxp 0001e000 08:04 87061      /lib/ld-2.10.1.so
bfe40000-bfe56000 rw-p 00000000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]


In the forum an on ubuntuusers I just could figure out that reisntalling over and over again might solve the problem, but that cannot be all. So what's wrong. Do I have to reinstall gcc or a different version?

Many thanks in advance. Like to see my programmes running on linux as well... ^^
Simon


Otus(Posted 2009) [#2]
There is an opensuse how-to in the Linux discussion forum. Have you gone through the instructions there?


explosive(Posted 2009) [#3]
Hi Otus, hello reader!

I just found the problem. I don't know why, but as soon as I set "Framework BRL.Basic" the code is running. Maybe importing all modules let's linker crash - I don't know. Now I'm trying to use MaxGUI module. Let's see what magically might happen.

Many thanks, anyway.
Simon


skidracer(Posted 2009) [#4]
Does rebuild all modules fail or succeed?


explosive(Posted 2009) [#5]
it succeeded.

Curious enough, when trying the samples of the documentation, compilation does work, when "Strict" or "Framework" is set.

I have to explore it more in depth in the next couple of days.

Greetings
Simon