[Gambas-user] segfault in gambas

T Lee Davidson t.lee.davidson at gmail.com
Sat Jul 7 15:28:28 CEST 2018


On 07/06/2018 03:41 PM, Cristiano Guadagnino wrote:
> 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 :-(
> 
[snip]
> 
> 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?

It is difficult to tell especially since two different machines with the same OS behave differently. Perhaps check the relative
versions of libQt5Gui? On openSUSE Leap 42.3, `locate libQt5Gui.so` gives:
/usr/lib64/libQt5Gui.so
/usr/lib64/libQt5Gui.so.5
/usr/lib64/libQt5Gui.so.5.6
/usr/lib64/libQt5Gui.so.5.6.2

I have no problem with Gambas3 v3.11.90 from the home:munix9:unstable repo.

> 
> 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?
> 

I cannot give you a definitive answer on this. According to what's available in the repos (Main Repository, Education, &
munix9[:unstable]), it appears that:

1. gambas3-gb-geom & gambas3-gb-maps were dropped after v3.10, and they are not listed at http://gambaswiki.org/wiki/comp;
2. gambas3-scripter apparently replaced gambas3-script; and
3. even though gambas3-gb-gui is not specifically available in the repos, it is listed as a component on the wiki and is
available in the IDE Project Properties dialog.

Interestingly, all five of the components marked as "Deprecated" on the wiki are still available even in v3.11.


-- 
Lee


More information about the User mailing list