[Gambas-bugtracker] Bug #2661: Segmentation Fault - Last DEV commit of Gambas

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Dec 11 05:21:16 CET 2022


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

Olivier CRUILLES reported a new bug.

Summary
-------

Segmentation Fault - Last DEV commit of Gambas

Type             : Bug
Priority         : High
Gambas version   : Master
Product          : Development Environment


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

Hello,

I just report a bug for one of my project that crash with the last commit of Gambas DEV:

Here the trace of the project with GDB:

[linus at linusky PhpWeathermapEditorQt5]$ gdb gbx3
GNU gdb (GDB) Fedora 12.1-1.fc35
Copyright (C) 2022 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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...
(gdb) run
Starting program: /usr/bin/gbx3 

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.fedoraproject.org/ 
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[Detaching after vfork from child process 2752986]
[Detaching after vfork from child process 2752987]
[New Thread 0x7fffd4a5b640 (LWP 2752990)]
[New Thread 0x7fffcca0f640 (LWP 2752994)]
[New Thread 0x7fffc7fff640 (LWP 2752995)]
[New Thread 0x7fffc77fe640 (LWP 2752996)]
[New Thread 0x7fffc6ffd640 (LWP 2752997)]
[Detaching after vfork from child process 2752999]
[New Thread 0x7fffc5804640 (LWP 2753004)]
[New Thread 0x7fffc5003640 (LWP 2753005)]
[New Thread 0x7fffc4802640 (LWP 2753006)]
[New Thread 0x7fffaffff640 (LWP 2753007)]
[Detaching after fork from child process 2753019]
[Detaching after fork from child process 2753021]
[Detaching after fork from child process 2753023]
[Detaching after fork from child process 2753025]
[New Thread 0x7fffae732640 (LWP 2753036)]
libpng warning: iCCP: known incorrect sRGB profile
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
[New Thread 0x7fffad9e6640 (LWP 2753037)]
[Detaching after fork from child process 2753038]
[Detaching after fork from child process 2753039]
[Detaching after fork from child process 2753040]
[New Thread 0x7fffad1e5640 (LWP 2753043)]
[New Thread 0x7fffac9e4640 (LWP 2753044)]
[New Thread 0x7fff93fff640 (LWP 2753045)]
[New Thread 0x7fff937fe640 (LWP 2753046)]
[New Thread 0x7fff92ffd640 (LWP 2753047)]
[New Thread 0x7fff927fc640 (LWP 2753048)]
[New Thread 0x7fff91ffb640 (LWP 2753049)]
[New Thread 0x7fff917fa640 (LWP 2753050)]
[New Thread 0x7fff90ff9640 (LWP 2753051)]
[New Thread 0x7fff73fff640 (LWP 2753052)]
[New Thread 0x7fff737fe640 (LWP 2753053)]
[New Thread 0x7fff72ffd640 (LWP 2753054)]
[New Thread 0x7fff716a9640 (LWP 2753055)]
[New Thread 0x7fff70ea8640 (LWP 2753056)]
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 

Thread 1 "gbx3" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo at entry=6, no_tid=no_tid at entry=0) at pthread_kill.c:44
Downloading 0.00 MB source file /usr/src/debug/glibc-2.34-49.fc35.x86_64/nptl/pthread_kill.c
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
Missing separate debuginfos, use: dnf debuginfo-install ffmpeg-libs-4.4.3-1.fc35.x86_64 librtmp-2.4-20.20190330.gitc5f04a5.fc35.x86_64 opencore-amr-0.1.5-13.fc35.x86_64 qt5-qtwebengine-freeworld-5.15.10-1.fc35.x86_64 vo-amrwbenc-0.1.3-15.fc35.x86_64 x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 x265-libs-3.5-2.fc35.x86_64 xvidcore-1.3.7-6.fc35.x86_64


Hope is enough.
Olivier Cruilles


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

[System]
Gambas=3.17.90 7480a9b14 (master)
OperatingSystem=Linux
Kernel=5.8.15-301.fc33.x86_64
Architecture=x86_64
Distribution=redhat Fedora release 35 (Thirty Five)
Desktop=MATE
Font=Liberation Sans,10
Scale=7
Theme=mint-x
Language=fr_FR.utf8
Memory=32054M

[Libraries]
Cairo=libcairo.so.2.11704.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.15
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.30
GStreamer=libgstreamer-1.0.so.0.2000.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.30
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.112.0.0
QT5=libQt5Core.so.5.15.2
SQLite=libsqlite3.so.0.8.6

[Environment]
BASH_ENV=/usr/share/lmod/lmod/init/bash
BASH_FUNC_ml%%=() {  eval $($LMOD_DIR/ml_cmd "$@")
}
BASH_FUNC_module%%=() {  eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}
BASH_FUNC_which%%=() {  ( alias;
 eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}
CAPP_BUILD=<home>/Packages/Starter/Build
CONDA_SHLVL=0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ 
DESKTOP_SESSION=mate
DISPLAY=:0
EDITOR=/usr/bin/vim
GB_GUI=gb.gtk3
GDMSESSION=mate
GDM_LANG=fr_FR.utf8
GIO_LAUNCHED_DESKTOP_FILE_PID=2751719
GTK3_MODULES=xapp-gtk3-module
GTK_OVERLAY_SCROLLING=0
GUESTFISH_INIT=\e[1;34m
GUESTFISH_OUTPUT=\e[0m
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\] 
GUESTFISH_RESTORE=\e[0m
HISTCONTROL=ignoredups
HISTSIZE=1000
HISTTIMEFORMAT=%F %T 
HOME=<home>
HOSTNAME=<hostname>
IMSETTINGS_INTEGRATE_DESKTOP=yes
IMSETTINGS_MODULE=none
KDEDIRS=/usr
LANG=fr_FR.utf8
LC_ALL=fr_FR.utf8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
LMOD_DIR=/usr/share/lmod/lmod/libexec
LMOD_PKG=/usr/share/lmod/lmod
LMOD_ROOT=/usr/share/lmod
LMOD_SETTARG_FULL_SUPPORT=no
LMOD_VERSION=8.4.30
LMOD_sys=Linux
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MANPATH=/usr/share/lmod/lmod/share/man:
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core
MODULEPATH_ROOT=/usr/share/modulefiles
MODULESHOME=/usr/share/lmod/lmod
MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed
PAGER=most
PATH=<home>/.local/bin:<home>/.cargo/bin:<home>/narwhal/bin:<home>/perl5/bin:/usr/condabin:/usr/lib64/ccache:<home>/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/var/lib/snapd/snap/bin:<home>/bin:/usr/local/xaralx/bin
PERL5LIB=<home>/perl5/lib/perl5
PERL_LOCAL_LIB_ROOT=<home>/perl5
PERL_MB_OPT=--install_base "<home>/perl5"
PERL_MM_OPT=INSTALL_BASE=<home>/perl5
PWD=<home>
QT_FONT_DPI=88
QT_IM_MODULE=xim
QT_LOGGING_RULES=*.debug=false
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2929,unix/unix:/tmp/.ICE-unix/2929
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=3064
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=dumb
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=/run/lightdm/<user>/xauthority
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=1
XMODIFIERS=@im=none
which_declare=declare -f




More information about the Bugtracker mailing list