[Gambas-bugtracker] Bug #2756: Segmentation Fault regarding &= and many controls on the form

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Jun 13 10:48:37 CEST 2023


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

Andreas FRÖHLKE reported a new bug.

Summary
-------

Segmentation Fault regarding &= and many controls on the form

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


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

We get a SegFault if we use &= operator with a global defined variable and have many controls on the form.
I can provide an example source-code to reconstruct the error, if needed.

We found some workarounds:

 * reduce the count of controls on the form
 * use a variable dimensioned in the current function
 * use "var = var &" except of "&="


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

System:    Kernel: 6.1.0-0.deb11.7-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.20.5 
           Distro: Debian GNU/Linux 11 (bullseye) 
CPU:       Info: Dual Core Intel Core i5-6200U [MT MCP] speed: 725 MHz min/max: 400/2800 MHz 
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel 
           Device-2: Chicony Integrated Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1: 1920x1080~60Hz 
           2: 1920x1080~60Hz 3: 1920x1080 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.3.5 
Drives:    Local Storage: total: 238.47
Memory:    RAM: total: 7.65 GiB
Gambas:    3.15.2

We also get the error with XFCE 4.16 on x2go-terminal-server:

System:    Kernel: 5.10.0-21-amd64 : XFCE 4.16
           Distro: Debian GNU/Linux 11 (bullseye) 
CPU:       Info: AMD Epyc 7413 24-core processor x 6
Graphics:  Display: x11 server: X.Org 1.20.11 1: 1920x1080~60Hz 
Drives:    Local Storage: total: 28 GiB
Memory:    RAM: total: 31.4 GiB
Gambas:    3.15.2




More information about the Bugtracker mailing list