[Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122

2016-01-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.882=L21haW4-

Comment #1 by Tobias BOEGE:

To add: this is about c_crypt.c in gb.crypt and c_window.c in gb.sdl2.
(*Not*, e.g., c_window.c in gb.ncurses.)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122

2016-01-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.882=L21haW4-

Gianfranco COSTAMAGNA reported a new bug.

Summary
---

pointer error c_crypt.c:122

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


Description
---

Hi,

I would like to forward you two issues in c_crypt.c
https://qa.debian.org/bls/packages/g/gambas3.html
E pointer-trouble-at-implicit c_crypt.c:122
W implicit-declaration c_window.c:563
W pointer-from-integer c_crypt.c:137

the recent gambas 3.8.4 is now on unstable and ubuntu :)

they should be easily fixable, the link (I hope) should contain all the needed 
information.

thanks a lot :D

G.





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5

2016-01-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.809=L21haW4-

Comment #10 by Moviga TECHNOLOGIES:

I am sorry, but you have to work a bit more on your sentences if I am to 
understand what you are saying... then I can perhaps fruit what you tell me ;)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #883: Can we have 'Unused variables' warning coming up with the run button?

2016-01-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.883=L21haW4-

Moviga TECHNOLOGIES reported a new bug.

Summary
---

Can we have 'Unused variables' warning coming up with the run button?

Type : Request
Priority : Medium
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

Can we have 'Unused variables' warning coming up with the run button? (The one 
that comes with 'Compile all' and 'Make executable'.


System information
--

[System]
Gambas=3.8.90 r7312
OperatingSystem=Linux
Kernel=4.1.6-1-ARCH
Architecture=x86_64
Distribution=arch 
Desktop=KDE5
Theme=Proxy
Language=nb_NO.UTF-8
Memory=9901M

[Libraries]
Cairo=libcairo.so.2.11400.2
Curl=libcurl.so.4.2.0
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.3
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.405.0
GTK+2=libgtk-x11-2.0.so.0.2400.28
GTK+3=libgtk-3.so.0.1600.6
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.52.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.0
SDL=libSDL-1.2.so.0.11.4

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8
DESKTOP_SESSION=plasma
DISPLAY=:0
GB_GUI=gb.qt5
GS_LIB=/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc
HOME=
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=nb_NO.UTF-8
LANGUAGE=nb
LOGNAME=
MAIL=/var/spool/mail/
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=
QT_IM_MODULE=compose
QT_NO_GLIB=1
SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/bin/ksshaskpass
TZ=:/etc/localtime
USER=
XAUTHORITY=/tmp/xauth-1000-_0
XCURSOR_SIZE=0
XCURSOR_THEME=Breeze_Snow
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/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=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/lib/kf5/start_kdeinit_wrapper



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Segfault with rev 7562

2016-01-06 Thread adamn...@gmail.com
I getting a segfault with gbr3.

It happens when running any executable archive including the IDE.

The gdb output is:
Program received signal SIGSEGV, Segmentation fault.
EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 
'\001') at gbx_exec.c:1649
1649if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD)
2: index = 0
1: desc = (CLASS_DESC *) 0x0

The routine in gbx_exec.c is : bool EXEC_special(int special, CLASS *class, 
void *object, int nparam, bool drop).
The introductory code is:
CLASS_DESC *desc;
short index = class->special[special];

if (index == NO_SYMBOL)
return TRUE;

desc = CLASS_get_desc(class, index);

if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD)

The problem is that index is 0, this is occurring invariably when an Object[] 
class is being initialised. The backtrace is:
(gdb) backtrace
#0  0x08078d4e in EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, 
nparam=0, drop=1 '\001')
at gbx_exec.c:1649
#1  0x08079acb in EXEC_new () at gbx_exec.c:1947
#2  0x08082ac4 in EXEC_loop () at gbx_exec_loop.c:916
#3  0x08076da5 in EXEC_function_loop () at gbx_exec.c:931
#4  0x0807763f in EXEC_function_real () at gbx_exec.c:895
#5  0x08051168 in CLASS_run_inits (class=0x813a994) at gbx_class_load.c:1287
#6  0x0805120e in CLASS_load_real (class=0x813a994) at gbx_class_load.c:1323
#7  0x08062f15 in ARCHIVE_load_exported_class (arch=0x80c8584, pass=1) at 
gbx_archive.c:192
#8  0x0807035b in COMPONENT_load_all_finish () at gbx_component.c:147
#9  0x08055da3 in PROJECT_load_finish () at gbx_project.c:486
#10 0x0806530c in init (file=file@entry=0xbfffeeeb "./gambas3.gambas", argc=1, 
argv=0xbfffecc4) at gbx.c:103
#11 0x0804b390 in main (argc=1, argv=0xbfffecc4) at gbx.c:372

A bit more info:
(gdb) disp class->special
3: class->special = {12, -1, 21, 15, -1, 22, -1, -1, -1, -1, -1, 0}
(gdb) disp special
4: special = 11

i.e.  index = class->special[special] is the last entry in the class->special 
array.
and then
desc = CLASS_get_desc(class, index);

(gdb) disp desc
5: desc = (CLASS_DESC *) 0x0

Finally, It happens the second time that routine is called. The first call 
executes properly (the value of the "special" param is 0).

N.B. this is on a clean copy of the gambas source, not our local version.

Any other info needed?

regards
bruce




-- 
B Bruen 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user