[Gambas-user] Crash Gambas3.12.2

T Lee Davidson t.lee.davidson at gmail.com
Fri Mar 1 20:33:32 CET 2019


On 3/1/19 10:11 AM, Benoît Minisini wrote:
> Le 26/02/2019 à 18:24, Pino Zollo a écrit :
>> Here it is....only 12 KB...
>>
>> Run it and Just click on the button.
>>
>> ...the IDE closes.
>>
>> Thanks
>>
>> Pino Zollo
>>
>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
> 
> Can you try with the development version? I ask that, because I have no crash at all here...
> 

My Gambas version has been updated to 3.12.90, Commit #6eedf188

I just tried running the program via the IDE, and it still crashes at "Debug PacketH".

Note that creating an executable and running that in a 'real' terminal does not crash.

I created a test project with a TerminalView (for which documentation is lacking, by the way). Executing the "CrashG3.gambas" 
executable through that terminal view with "TerminalView1.Exec([User.Home &/ "CrashG3.gambas"])" crashes:
KCrash: Application 'gbx3' crashing...
*** Error in `TestGraphical': malloc(): memory corruption (fast): 0x0000000002398110 ***

I have to assume that there's a difference between the implementation of the IDE Console and a TerminalView between Qt and GTK, 
verses an actual terminal.


___
Lee


P.S. For what it's worth, System Information shows "GB_GUI=gb.qt5" , but from Konsole, `echo $GB_GUI` shows that variable is not 
set.

[System]
Gambas=3.12.90 6eedf1881 (master)
OperatingSystem=Linux
Kernel=4.4.172-86-default
Architecture=x86_64
Distribution=openSUSE Leap 42.3
Desktop=KDE5
Theme=QtCurve
Language=en_US.UTF-8
Memory=3951M

[Libraries]
Cairo=/usr/lib64/libcairo.so.2.11502.0
Curl=/usr/lib64/libcurl.so.4.3.0
DBus=/lib64/libdbus-1.so.3.8.14
GStreamer=/usr/lib64/libgstreamer-0.10.so.0.30.0
GStreamer=/usr/lib64/libgstreamer-1.0.so.0.803.0
GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.31
GTK+3=/usr/lib64/libgtk-3.so.0.2000.10
OpenGL=/usr/lib64/libGL.so.1.2.0
Poppler=/usr/lib64/libpoppler.so.60.0.0
QT4=/usr/lib64/libQtCore.so.4.8.7
QT5=/usr/lib64/libQt5Core.so.5.6.2
SDL=/usr/lib64/libSDL-1.2.so.0.11.4
SQLite=/usr/lib64/libsqlite3.so.0.8.6

[Environment]
/snip/
GB_GUI=gb.qt5
/snip/


More information about the User mailing list