[Gambas-user] Release of gambas 3.13

Curtis Hamilton clhamilto at gmail.com
Mon Apr 15 01:27:12 CEST 2019


New JIT compilation in Gambas 3.13 release causes segfaults on
FreeBSD/Powerpc64.

See below is gdb output.

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


More information about the User mailing list