[Gambas-user] segfault in gambas

Benoît Minisini g4mba5 at gmail.com
Sat Jul 7 00:08:39 CEST 2018


Le 06/07/2018 à 21:41, Cristiano Guadagnino a écrit :
> Hi all,
> yesterday I tried to use Gambas after a few weeks without use, only to 
> discover that it would not start due to a segmentation fault.
> I am using openSUSE Tumbleweed 64bit. The strange thing is that it 
> segfaults on my laptop (Thinkpad T440) while on my desktop, which has 
> the same OS, it does not crash.
> 
> I was already tempted to try the new 3.11 release (the official 
> Tumbòeweed repo only has 3.10), so I took the plunge and configured the 
> Gambas repository by munix9 and updated all gambas packages to 3.11.
> Unfortunately, Gambas still crashes :-(
> 
> Here is what I see when launching Gambas:
> 
> cristiano at xmper8q3 [~]$ gambas3
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> Errore di segmentazione (core dump creato)
> 
> Sorry for the messages in italian.
> 
> Here is a report of some of the crashes (the first three are with gambas 
> 3.10, the others are gambas 3.11):
> 
> cristiano at xmper8q3 [~]$ dmesg|grep segfault
> [ 3693.378157] gbr3[2659]: segfault at 563e000000a0 ip 00007f2b89d3f4d5 sp 00007ffd1c145700 error 4 in libQt5Gui.so.5.11.1[7f2b89c0b000+565000]
> [ 3737.160215] gbr3[5041]: segfault at 560a000000a0 ip 00007f887f3ee4d5 sp 00007ffe7285fb90 error 4 in libQt5Gui.so.5.11.1[7f887f2ba000+565000]
> [ 5161.148151] gbr3[19032]: segfault at 5629000000a0 ip 00007fa2958744d5 sp 00007fff4a76bf70 error 4 in libQt5Gui.so.5.11.1[7fa295740000+565000]
> [11810.611630] gbr3[20944]: segfault at 55a6000000a0 ip 00007f81cfc004d5 sp 00007ffc8b73af80 error 4 in libQt5Gui.so.5.11.1[7f81cfacc000+565000]
> [11830.979328] gbr3[21129]: segfault at 5619000000a0 ip 00007f41a371d4d5 sp 00007ffcccd10190 error 4 in libQt5Gui.so.5.11.1[7f41a35e9000+565000]
> [11839.618559] gbr3[21228]: segfault at 55e6000000a0 ip 00007f1ba3ba24d5 sp 00007ffeb39a9e00 error 4 in libQt5Gui.so.5.11.1[7f1ba3a6e000+565000]
> [11889.286212] gbr3[21636]: segfault at 5582000000a0 ip 00007f830fb684d5 sp 00007ffc4f6f00b0 error 4 in libQt5Gui.so.5.11.1[7f830fa34000+565000]
> 
> What could be causing this?
> 
> Another question: while updating to 3.11 I noticed that these packages 
> are missing in the new release:
> - gambas3-gb-geom
> - gambas3-gb-gui
> - gambas3-gb-maps
> - gambas3-script
> 
> Is it correct? Or should they be present?
> 
> Thank you in advance.
> Cris
> 

To get some useful information about the crash, you have to follow what 
is explained on the web site:

1) Compile Gambas with debugging information enabled.

2) Run the IDE from the command-line with gdb until it crashes.

3) Print the stack backtrage and send it.

Regards,

-- 
Benoît Minisini


More information about the User mailing list