[Gambas-user] [Gambas Bug Tracker] Bug #1238: IDE crashes when attempting to open existing, or create new, project if gb.jit component is installed

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Feb 9 21:39:41 CET 2018


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

T. Lee DAVIDSON reported a new bug.

Summary
-------

IDE crashes when attempting to open existing, or create new, project if gb.jit component is installed

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


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

The IDE launches okay and displays the 'start' screen. Any further attempt to actually work with a project causes a crash and core dump.

I don't know if this is a bad build, or an actual bug in gb.jit or the IDE. But, here is the backtrace from the core dump:

#0  0x00007f38063db8c7 in raise () at /lib64/libc.so.6
#1  0x00007f37e2449b1e in KCrash::defaultCrashHandler(int) () at /usr/lib64/libKF5Crash.so.5
#2  0x00007f38063db940 in <signal handler called> () at /lib64/libc.so.6
#3  0x00007f378a3c0c28 in llvm::ConstantPointerNull::get(llvm::PointerType*) () at /usr/lib64/libLLVMCore.so.3.8
#4  0x00007f37f2232dc9 in read_value(llvm::Value*, unsigned long) () at /usr/lib64/gambas3/gb.jit.so
#5  0x00007f37f2232e7f in ret_top_stack(unsigned long, bool) () at /usr/lib64/gambas3/gb.jit.so
#6  0x00007f37f2238cea in PopDynamicExpression::codegen() () at /usr/lib64/gambas3/gb.jit.so
#7  0x00007f37f2258429 in JIT_codegen() () at /usr/lib64/gambas3/gb.jit.so
#8  0x00007f37f225df92 in JIT_compile_and_execute () at /usr/lib64/gambas3/gb.jit.so
#9  0x0000000000430dd0 in EXEC_jit_function_loop ()
#10 0x00000000004318c5 in EXEC_function_real ()
#11 0x0000000000433993 in EXEC_special_inheritance ()
#12 0x0000000000434089 in EXEC_new ()
#13 0x000000000043da35 in EXEC_loop ()
#14 0x000000000043131b in EXEC_function_loop ()
#15 0x000000000043308f in EXEC_public_desc ()
#16 0x0000000000421e69 in raise_event ()
#17 0x00000000004056c2 in GB_Raise ()
#18 0x000000000043cc71 in EXEC_loop ()
#19 0x000000000043131b in EXEC_function_loop ()
#20 0x000000000043308f in EXEC_public_desc ()
#21 0x0000000000421e69 in raise_event ()
#22 0x00000000004056c2 in GB_Raise ()
#23 0x00007f3804592d72 in CWidget::eventFilter(QObject*, QEvent*) () at /usr/lib64/gambas3/gb.qt5.so
#24 0x00007f3802a7098d in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f38039752c8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f380397a164 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f3802a70be5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f3803978e60 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f38039d0601 in  () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f38039d2ba3 in  () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f380397528c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#32 0x00007f38039798ea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007f3802a70be5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f3802fbb86b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#35 0x00007f3802fbd005 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
    at /usr/lib64/libQt5Gui.so.5
#36 0x00007f3802f9eeab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#37 0x00007f37ee8fce46 in  () at /usr/lib64/libQt5XcbQpa.so.5
#38 0x00007f3802a6ebfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#39 0x00007f3802a76ae6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#40 0x00007f380458a0cb in hook_loop() () at /usr/lib64/gambas3/gb.qt5.so
#41 0x0000000000405263 in main ()


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

[System]
Gambas=3.10.90 b520218ce (master)
OperatingSystem=Linux
Kernel=4.4.104-39-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.6
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]
ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
AUDIODRIVER=pulseaudio
COLORFGBG=15;0
COLORTERM=truecolor
CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
CPU=x86_64
CSHEDIT=emacs
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ggBMAXqGmR,guid=cd973ee6f9195073f2e643195a7dc9c4
DESKTOP_SESSION=/usr/share/xsessions/plasma5
DISPLAY=:0
FROM_HEADER=
GB_GUI=gb.qt5
GOARCH=amd64
GOOS=linux
GOPATH=<home>/go:/usr/share/go/1.9/contrib
GOROOT=/usr/lib64/go/1.9
GPG_AGENT_INFO=/tmp/gpg-84BO9L/S.gpg-agent:2346:1
GPG_TTY=/dev/pts/2
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_IM_MODULE=cedilla
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
HISTSIZE=1000
HOME=<home>
HOST=<hostname>
HOSTNAME=<hostname>
HOSTTYPE=x86_64
INPUTRC=<home>/.inputrc
JAVA_BINDIR=/usr/lib64/jvm/java/bin
JAVA_HOME=/usr/lib64/jvm/java
JAVA_ROOT=/usr/lib64/jvm/java
JDK_HOME=/usr/lib64/jvm/java
JRE_HOME=/usr/lib64/jvm/java/jre
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
KONSOLE_DBUS_SERVICE=:1.59
KONSOLE_DBUS_SESSION=/Sessions/2
KONSOLE_DBUS_WINDOW=/Windows/1
KONSOLE_PROFILE_NAME=Profile 1
KOTLIN_HOME=<home>/.sdkman/candidates/kotlin/current
LANG=en_US.UTF-8
LANGUAGE=
LESS=-M -I -R
LESSCLOSE=lessclose.sh %s %s
LESSKEY=/etc/lesskey.bin
LESSOPEN=lessopen.sh %s
LESS_ADVANCED_PREPROCESSOR=no
LOGNAME=<user>
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:
LS_OPTIONS=-N --color=tty -T 0
MACHTYPE=x86_64-suse-linux
MAIL=/var/spool/mail/<user>
MANPATH=/usr/local/man:/usr/share/man
MINICOM=-c on
MORE=-sl
NNTPSERVER=news
OLDPWD=<home>
OSTYPE=linux
PAGER=less
PATH=<home>/.sdkman/candidates/kotlin/current/bin:<home>/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
PROFILEHOME=
PROFILEREAD=true
PWD=<home>/tmp
PYTHONSTARTUP=/etc/pythonstart
QEMU_AUDIO_DRV=pa
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=xim
QT_IM_SWITCHER=imsw-multi
QT_NO_GLIB=1
QT_SYSTEM_DIR=/usr/share/desktop-data
SDKMAN_CANDIDATES_DIR=<home>/.sdkman/candidates
SDKMAN_CURRENT_API=https://api.sdkman.io/2
SDKMAN_DIR=<home>/.sdkman
SDKMAN_LEGACY_API=https://api.sdkman.io/1
SDKMAN_PLATFORM=Linux64
SDKMAN_VERSION=5.5.13+272
SDK_HOME=/usr/lib64/jvm/java
SDL_AUDIODRIVER=pulse
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2409,unix/<hostname>:/tmp/.ICE-unix/2409
SHELL=/bin/bash
SHELL_SESSION_ID=db753f3f44bb44a4b1c25ecee7b96e82
SHLVL=2
SSH_AGENT_PID=2345
SSH_ASKPASS=/usr/lib/ssh/ksshaskpass
SSH_AUTH_SOCK=/tmp/ssh-1cCIXRVboRsu/agent.2240
TERM=xterm-256color
TZ=:/etc/localtime
USER=<user>
VDPAU_DRIVER=va_gl
WINDOWID=79691797
WINDOWMANAGER=/usr/bin/startkde
XAUTHLOCALHOSTNAME=<hostname>
XAUTHORITY=/tmp/xauth-1000-_0
XCURSOR_SIZE=0
XCURSOR_THEME=breeze_cursors
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XMODIFIERS=@im=local
XNLSPATH=/usr/share/X11/nls
XSESSION_IS_UP=yes
_=/usr/bin/gambas3




More information about the User mailing list