[Gambas-user] [Gambas Bug Tracker] Bug #988: gb.form.terminal compilation cores when running on Raspberry Pi (3)

bugtracker at ...3416... bugtracker at ...3416...
Tue Aug 30 15:49:39 CEST 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.988&from=L21haW4-

Alexander KUIPER reported a new bug.

Summary
-------

gb.form.terminal compilation cores when running on Raspberry Pi (3)

Type             : Bug
Priority         : Medium
Gambas version   : 3.8.90 (TRUNK)
Product          : Unknown


Description
-----------

I tried to compile Gambas 3.9.0 on the Raspberry Pi, with image '2016-05-27-raspbian-jessie-lite' and the gb.form.terminal compilation cores the gbc3 binary.

root at ...2889...:/home/pi/gambas3-3.9.0/comp/src/gb.form.terminal# /usr/bin/gbc3 -ag -r /usr
Segmentation fault (core dumped)

The backtrace when i had a core file:

root at ...2889...:/home/pi/gambas3-3.9.0/comp/src/gb.form.terminal# gdb /usr/bin/gbc3 core
GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 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 "arm-linux-gnueabihf".
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 /usr/bin/gbc3...done.
[New LWP 26209]
Core was generated by `/usr/bin/gbc3 -ag -r /usr'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000213b8 in push_type (type=...) at gbc_trans_expr.c:70
70              _type[_type_level++] = type;
(gdb) bt
#0  0x000213b8 in push_type (type=...) at gbc_trans_expr.c:70
#1  push_number (index=84) at gbc_trans_expr.c:161
#2  trans_expr_from_tree (tree=0x17185a4, count=308) at gbc_trans_expr.c:521
#3  0x000222ac in TRANS_expression (check_statement=<optimized out>) at gbc_trans_expr.c:784
#4  0x000419ac in TRANS_init_var (decl=decl at ...2861...=0x7eb1e078) at gbc_trans_code.c:638
#5  0x00015b94 in CLASS_add_declaration (class=0x16ffddc, decl=0x7eb1e078, decl at ...2861...=0x7eb1e070) at gbc_class.c:722
#6  0x0001c14c in HEADER_do () at gbc_header.c:1102
#7  0x000119d4 in compile_file (file=<optimized out>) at gbc.c:351
#8  main (argc=8, argv=0x7eb1e4d8) at gbc.c:488
(gdb) quit


System information
------------------

Not sure how to get this information from the CLI only. I am running on:

Debian Jessie on a Pi
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux






More information about the User mailing list