[Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2

Patrik Karlsson pata.karlsson at ...626...
Sat Oct 31 18:27:21 CET 2015


Well, I downloaded the source and:

cd gambas3-3.8.2/app/src/gambas3/
pata at ...3521...:~/Hämtningar/gambas3-3.8.2/app/src/gambas3$ gbc3 -agt
OK
pata at ...3521...:~/Hämtningar/gambas3-3.8.2/app/src/gambas3$ gdb gbx3
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 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 gbx3...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gbx3
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x6eb0b460 (LWP 11722)]
[New Thread 0x6e106460 (LWP 11723)]
[New Thread 0x6d7ff460 (LWP 11724)]

Program received signal SIGSEGV, Segmentation fault.
0x6fef07ce in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
(gdb) bt
#0  0x6fef07ce in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
#1  0x6fef0720 in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

2015-10-31 17:25 GMT+01:00 Benoît Minisini <gambas at ...1...>:

> Le 31/10/2015 15:20, Patrik Karlsson a écrit :
> > Ok, this is what I got:
> >
> > (gdb) run
> > Starting program: /usr/bin/gbx3
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library
> > "/lib/arm-linux-gnueabihf/libthread_db.so.1".
> > [New Thread 0x6eb81460 (LWP 4656)]
> > [New Thread 0x6e176460 (LWP 4657)]
> > [New Thread 0x6d976460 (LWP 4658)]
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x6ff137ce in ?? () from /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
> > (gdb) bt
> > #0  0x6ff137ce in ?? () from
> /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
> > #1  0x6ff13720 in ?? () from
> /usr/lib/arm-linux-gnueabihf/libLLVM-3.5.so.1
> > Backtrace stopped: previous frame identical to this frame (corrupt
> stack?)
> > (gdb)
> >
>
> I have no idea why the interpreter is inside he libLLVM library. He
> should be there. Are you sure you have run the gambas 3 IDE?
>
> Can you compile Gambas from sources with debugging information on the
> RPi, so that we get more information?
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list