<div dir="ltr"><div dir="ltr"><div dir="ltr">New JIT compilation in Gambas 3.13 release causes segfaults on FreeBSD/Powerpc64.  <br><br></div><div>See below is gdb output.<br><br>root@lenoil8:/usr/local/bin # gdb gbx3 gbx3.core<br>GNU gdb (GDB) 8.0.1 [GDB v8.0.1 for FreeBSD]<br>Copyright (C) 2017 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "powerpc64-portbld-freebsd11.0".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>.<br>Find the GDB manual and other documentation resources online at:<br><<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>>.<br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>Reading symbols from gbx3...(no debugging symbols found)...done.<br>[New LWP 100775]<br>[New LWP 100261]<br>Core was generated by `gbr3 /usr/local/bin/gambas3'.<br>Program terminated with signal SIGSEGV, Segmentation fault.<br>#0  JIT_ctype_to_type (class=0x5082e568, ctype=...) at jit.c:113<br>113            CLASS_ARRAY *desc = class->load->array[ctype.value];<br>[Current thread is 1 (LWP 100775)]<br>(gdb) backtrace<br>#0  JIT_ctype_to_type (class=0x5082e568, ctype=...) at jit.c:113<br>#1  0x000000005ce903d4 in push_unknown (index=<optimized out>) at jit_body.c:906<br>#2  JIT_translate_body (func=0x508963e4, ind=<optimized out>) at jit_body.c:2945<br>#3  0x000000005ce8bd8c in JIT_translate_func (index=19, func=0x508963e4) at jit.c:354<br>#4  JIT_translate (name=<optimized out>, from=<optimized out>) at jit.c:490<br>#5  0x000000005ce719bc in Jit_Translate (_object=<optimized out>, _param=0x510171c0) at main.c:35<br>#6  0x0000000010065314 in ?? ()<br>#7  0x000000001005dee8 in ?? ()<br>#8  0x0000000010063f74 in ?? ()<br>#9  0x0000000010064804 in ?? ()<br>#10 0x0000000010031904 in ?? ()<br>#11 0x0000000010008660 in ?? ()<br>#12 0x00000000100124a4 in ?? ()<br>#13 0x0000000010013064 in ?? ()<br>#14 0x0000000010036084 in ?? ()<br>#15 0x0000000010052c4c in ?? ()<br>#16 0x000000001001ce30 in ?? ()<br>#17 0x000000001003be44 in ?? ()<br>#18 0x0000000010005aec in ?? ()<br>#19 0x00000000100065f8 in ?? ()<br>#20 0x0000000050092db0 in ._rtld_start () at /usr/src/libexec/rtld-elf/powerpc64/rtld_start.S:104<br>Backtrace stopped: frame did not save the PC<br>(gdb) quit<br><br></div></div></div>