Thank for your answer Leffmann... I did some more tests and my real problem is that
realloc does
not always cause this problem... it can work fine for several runs and then, all the sudden, boom
So it is hard to track what is happening...
Could it be a wrong combination of GCC and IXEmul?
My GCC says:
Code:
Reading specs from /usr/local/amiga/lib/gcc/m68k-amigaos/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/usr/local/amiga --target=m68k-amigaos --enable-languages=c,c++,objc --enable-haifa --enable-sjlj-exceptions --disable-shared --disable-libstdcxx-pch
Thread model: single
gcc version 3.4.0
(I found it Zerohero's
web site.)
PS. I found a
thread about a (maybe) similar problem... unfortunately, it states that IXEmul should work find with allocating a size of zero...