[Gambas-bugtracker] Bug #2720: gambas3 3.18.1 ide crash immediatly on ubuntu trusty 32

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Mar 8 18:44:12 CET 2023


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

GAEL LE HEC'H reported a new bug.

Summary
-------

gambas3 3.18.1 ide crash immediatly on ubuntu trusty 32

Type             : Bug
Priority         : Medium
Gambas version   : 3.18
Product          : Development Environment


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

Console output :

vagrant at pluto2-baupc5185:~$ gambas3
gb.gui: warning: 'gb.gtk3.webview' component not found, using 'gb.qt4' instead
Segmentation fault (core dumped)

As asked in Wiki :

vagrant at pluto2-baupc5185:~/Sources/gambas-3.18.1/app/src/gambas3$ gbc3 -agt
OK
vagrant at pluto2-baupc5185:~/Sources/gambas-3.18.1/app/src/gambas3$ gdb gbx3
GNU gdb (Ubuntu 8.2-0ubuntu1~14.04.1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gbx3...done.
(gdb) run
Starting program: /usr/bin/gbx3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
gb.gui: warning: 'gb.gtk3.webview' component not found, using 'gb.qt4' instead
[Detaching after vfork from child process 6312]
[Detaching after vfork from child process 6313]
[Detaching after vfork from child process 6315]
[Detaching after vfork from child process 6318]
[Detaching after vfork from child process 6329]
[New Thread 0xb0c76b40 (LWP 6339)]

Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
EXEC_public_desc (class=0x82edb6c, object=0x84c6e44, desc=0x39, nparam=nparam at entry=0) at gbx_exec.c:1584
1584            if (FUNCTION_is_native(desc))
(gdb) bt
#0  EXEC_public_desc (class=0x82edb6c, object=0x84c6e44, desc=0x39, nparam=nparam at entry=0) at gbx_exec.c:1584
#1  0x0806a509 in GB_Call (func=0xbfffec88, nparam=0, release=1) at gbx_api.c:1219
#2  0xb76eacfe in MyContainer::resizeEvent (this=0x84cf2a8, e=0xbfffef54) at CContainer.cpp:921
#3  0xb6d27107 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#4  0xb6ccd7f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#5  0xb6cd42d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#6  0xb6a24e4a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6d229cb in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0xb6d24218 in QWidgetPrivate::show_helper() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#9  0xb6d262cd in QWidget::setVisible(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#10 0xb6d24198 in QWidgetPrivate::showChildren(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#11 0xb6d24240 in QWidgetPrivate::show_helper() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#12 0xb6d262cd in QWidget::setVisible(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#13 0xb76e807a in MyMainWindow::setVisible (this=0x84c7b58, visible=true) at CWindow.cpp:2843
#14 0xb76e3e60 in QWidget::show (this=0x84c7b58) at /usr/include/qt4/QtGui/qwidget.h:497
#15 MyMainWindow::present (this=this at entry=0x84c7b58, parent=parent at entry=0x0) at CWindow.cpp:1783
#16 0xb76e5d94 in MyMainWindow::showActivate (this=0x84c7b58, transient=0x0) at CWindow.cpp:1861
#17 0x08090997 in EXEC_native_quick () at gbx_exec.c:1190
#18 0x08091871 in EXEC_native_check (defined=1 '\001') at gbx_exec.c:1140
#19 0x0808ba1b in EXEC_loop () at gbx_exec_loop.c:1303
#20 0x08090628 in EXEC_function_loop () at gbx_exec.c:920
#21 0x080908c4 in EXEC_function_real () at gbx_exec.c:907
#22 0x080919d5 in EXEC_public_desc (class=0x82c4b9c, object=object at entry=0x0, desc=desc at entry=0xb0fdd0c4, nparam=0) at gbx_exec.c:1600
#23 0x0804b33d in main (argc=1, argv=0xbffff5e4) at gbx.c:488
(gdb)

Crash occurs with gambas3 build from source :
./reconf-all;./configure --prefix=/usr;make;sudo make install

Bug/problem also present in gambas3 from stable PPA.


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

Generated with gambas 3.17.3 as gambas 3.18.x crash.

[System]
Gambas=3.17.3
OperatingSystem=Linux
Kernel=3.13.0-170-generic
Architecture=x86
Distribution=Ubuntu 14.04.6 LTS
Desktop=
Font=Trebuchet MS,10
Scale=7
Theme=proxy
Language=en_US.UTF-8
Memory=2016M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GDK2=libgdk-x11-2.0.so.0.2400.23
GDK3=libgdk-3.so.0.1000.8
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CPU=dummy
DISPLAY=localhost:10.0
GB_GUI=gb.qt4
HOME=<home>
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=<user>
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAIL=/var/mail/<user>
MBKUP=/var/backups/marel-env-host/
MDEV=/usr/share/marel-env-host/
MREPOS=https://is-hdq-version.marel.net/repos
MSVN=https://is-hdq-version.marel.net/repos
OLDPWD=<home>/Sources
PATH=<home>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PST_BACKUP=/var/backups/pst
PST_PATH=/var/marel/pst
PWD=<home>/Sources/gambas-3.17.3
QT_LOGGING_RULES=*.debug=false
QT_QWS_FONTDIR=/usr/lib/fonts/
QWS_DISPLAY=VNC
QWS_MOUSE_PROTO=tslib:/dev/event0
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=10.0.2.2 52290 22
SSH_CONNECTION=10.0.2.2 52290 10.0.2.15 22
SSH_TTY=/dev/pts/1
TERM=xterm
TFTPDIR=/tftpboot/mac4
TZ=:/etc/localtime
USER=<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_ID=3
_=/usr/bin/gambas3




More information about the Bugtracker mailing list