[Gambas-user] Segmentation Fault with latest update

Benoît Minisini g4mba5 at gmail.com
Tue May 26 16:52:21 CEST 2020


Le 26/05/2020 à 16:44, Safiur Rahman a écrit :
> Hi
> 
> bt output is:
> 
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff6df2315 in ?? () from /usr/lib/gambas3/gb.qt4.so
> (gdb) bt
> #0  0x00007ffff6df2315 in ?? () from /usr/lib/gambas3/gb.qt4.so
> #1  0x00007ffff6dc58b7 in GB_INIT () from /usr/lib/gambas3/gb.qt4.so
> #2  0x00005555555855bd in ?? ()
> #3  0x00005555555ab91b in ?? ()
> #4  0x00005555555abf9e in ?? ()
> #5  0x0000555555584f17 in ?? ()
> #6  0x000055555559c32b in ?? ()
> #7  0x0000555555573c9e in ?? ()
> #8  0x00007ffff7dea1e3 in __libc_start_main (main=0x555555573a60, argc=1,
>      argv=0x7fffffffdf28, init=<optimized out>, fini=<optimized out>,
>      rtld_fini=<optimized out>, stack_end=0x7fffffffdf18)
>      at ../csu/libc-start.c:308
> #9  0x000055555557453e in ?? ()
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 

Can you recompile Gambas with debugging information enabled? Or at least 
the QT4 component.

To do that:

$ cd </path/to/gambas/sources>/gb.qt4
$ make clean
$ make "CFLAGS=-O0 -g -fvar-tracking" "CXXFLAGS=-O0 -g -fvar-tracking" -j2
...
$ sudo make install
...

Then you can get the backtrace again, and we should have the function 
names and know exactly where it crashes.

Regards,

-- 
Benoît Minisini


More information about the User mailing list