Hi, I have tried to compile program which failed in version 2.1.4 ppcrossarm as:
Program received signal SIGSEGV, Segmentation fault. TRY_CONCAT_FREE_CHUNK_FORWARD (MC=0x40213170) at heap.inc:679 679 in heap.inc with a version 2.3.1 ppcrossarm (snap 20/06/2007) with other different error also in heap.inc: Program received signal SIGSEGV, Segmentation fault. 0x0002a948 in WAITFREE_VAR (PMCV=0xdf770, LOC_FREELISTS=0x0) at heap.inc:1054 1054 pmcv^.next_var := loc_freelists^.waitvar; As we can see in line 1054 code try to access to waitvar field in loc_freelists but this address is 0x0? backtrace: (gdb) bt #0 WAITFREE_VAR (PMCV=0xdf770, LOC_FREELISTS=0x0) at heap.inc:1054 #1 0x0002aac0 in SYSFREEMEM_VAR (LOC_FREELISTS=0xdf784, PMCV=0x1) at heap.inc:1114 #2 0x0002abac in SYSFREEMEM (P=0xdf77c) at heap.inc:1154 #3 0x000297e4 in FREEMEM (P=0x1) at heap.inc:289 #4 0x0001cca0 in fpc_ansistr_decr_ref (S=0xdf77c) at astrings.inc:107 #5 0x00079318 in LUAPUSHVARIANT (L=0xe6a08, N=void) at LuaUtils.pas:464 #6 0x0006adf4 in LUACOPYTABLE (L=0xe6a08, IDXFROM=6, IDXTO=2, MTTO=3) at lua_WrapUp.pas:51 #7 0x0006ae30 in LUACOPYTABLE (L=0xe6a08, IDXFROM=4, IDXTO=2, MTTO=3) at lua_WrapUp.pas:57 #8 0x0006b1bc in NEW_TMYTYPE (L=0xe6a08) at lua_WrapUp.pas:125 #9 0x0009dc98 in luaD_precall () #10 0x000a6b60 in luaV_execute () #11 0x00000000 in ?? () any suggestion to patch it? thank you in advanced. Jose Pascual _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal