[Gambas-bugtracker] Bug #1635: July 30 commit breaks gb.dbus

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Aug 23 23:11:24 CEST 2019


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

Tony MOREHEN reported a new bug.

Summary
-------

July 30 commit breaks gb.dbus

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


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

July 30 commit b11d422c1408327cfa209f24889f668b105ac905 (Array.ReadOnly) cause programs using gb.dbus to seg fault

The attached program uses gb.dbus to create a DBusObject and register it on the session bus.  When run you can use QDbusViewer to see the registered dbus object org.ajmconsulting.dbusTest on the session bus.  If you use a Gambas version dating before commit b11d422c1408327cfa209f24889f668b105ac905, you can click on the object and use its method to hide and show the form and to quit the program.  On commits including commit b11d422c1408327cfa209f24889f668b105ac905 and later, the program seg faults as soon as you click on it.


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

[System]
Gambas=3.12.90
OperatingSystem=Linux
Kernel=5.0.5-1-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE
Theme=Qt5CTProxy
Language=en_CA.utf8
Memory=5907M

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.9
GStreamer=libgstreamer-1.0.so.0.1404.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.3
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.86.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.12.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=xfce-default
DISPLAY=:0
EDITOR=/usr/bin/nano
GB_GUI=gb.qt5
GDMSESSION=xfce-default
GTK2_RC_FILES=<home>/.gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_OVERLAY_SCROLLING=0
HOME=<home>
LANG=en_CA.utf8
LC_ADDRESS=en_CA.UTF-8
LC_IDENTIFICATION=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
LC_MONETARY=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_NUMERIC=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_TIME=en_CA.UTF-8
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/820,unix/<hostname>:/tmp/.ICE-unix/820
SHELL=/bin/bash
SHLVL=1
SSH_AGENT_PID=882
SSH_AUTH_SOCK=/tmp/ssh-hHW8iRV2yvEY/agent.881
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/local/share:/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-default
XDG_SESSION_ID=1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/bin/xfce4-session




More information about the Bugtracker mailing list