[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3


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

Christof THALHOFER reported a new bug.

Summary
-------

Different behavior of project compiled by Ide and gbc3

Type             : Bug
Priority         : High
Gambas version   : Master
Product          : Unknown


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

This is a ugly bug because it took me a long time to investigate what happened and I had to dive deep into Apt to revert the installation of 3.19.1 on a couple of machines in our firm.

I attach two compiled versions of the same project, which is a library. 

'deg-betrieb.gambas' is the one that is compiled by the IDE when hit Ctr-Alt-X. If it runs, it does it's job as intended.

'deg-betrieb:1.1.gambas' is the same project compiled and packed with

gbc3 deg-betrieb
gba3 deg-betrieb

It behaves different as you can see in the attached two videos which show what happens.

Maybe it has something to do with this fix:
"* BUG: Correctly compiles LONG constants inside code."

I am not able to send the project because it contains things which are not for the public and depend on other libs and databases of our firm. But I will try to extract the portion of the code that causes the bug, if needed.


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

[System]
Gambas=3.18.90 5ba8496fb (master)
OperatingSystem=Linux
Distribution=Ubuntu 20.04.6 LTS (Focal Fossa)
Kernel=5.4.0-163-generic
Architecture=x86_64
Cores=1
Memory=965M
Language=de_DE.UTF-8
Platform=x11
Desktop=XFCE
DesktopResolution=96
DesktopScale=7
WidgetTheme=industrial
Font=Sans,10
[Programs]
dpkg=Debian »dpkg« Paketmanagement-Programm Version 1.19.7 (amd64).
gcc=gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
git=git version 2.25.1
msgmerge=msgmerge (GNU gettext-tools) 0.19.8.1
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.16
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1603.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.16
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.44.0.0
Poppler=libpoppler.so.97.0.0
QT5=libQt5Core.so.5.12.8
RSvg=librsvg-2.so.2.47.0
SDL=libSDL2-2.0.so.0.10.0
SQLite 3=libsqlite3.so.0.8.6
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/xfce.default.path
DESKTOP_SESSION=xfce
DISPLAY=:0.0
EDITOR=mousepad
GB_GUI=gb.gtk3
GDMSESSION=xfce
GDM_LANG=de_DE
GTK2_MODULES=overlay-scrollbar
GTK_CSD=0
GTK_MODULES=gail:atk-bridge
HOME=<home>
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LD_PRELOAD=libgtk3-nocsd.so.0
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/xfce.mandatory.path
PANEL_GDK_CORE_DEVICE_EVENTS=0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1609,unix/<hostname>:/tmp/.ICE-unix/1609
SHELL=/usr/bin/zsh
SHLVL=0
SSH_AGENT_PID=1817
SSH_AUTH_SOCK=/tmp/ssh-yEny9hzjKmSl/agent.1609
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/share/xfce4:/usr/share/xfce:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----

Follow-Ups:
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>
[Gambas-bugtracker] Bug #2884: Different behavior of project compiled by Ide and gbc3<bugtracker@xxxxxxxxxxxxxx>