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

[Gambas-bugtracker] Bug #2951: gb.report2 generates endless pages crashing gambas IDE


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

Willy RAETS reported a new bug.

Summary
-------

gb.report2 generates endless pages crashing gambas IDE

Type             : Bug
Priority         : High
Gambas version   : 3.19
Product          : Reporting component


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

I'm currently in the process of moving a lot of gb.report made reports over to gb.report2.
Up until now, all was just a matter of changing the component from report to report2.
I now run into situations where pages are endlessly made until gambas crahes, or it makes me 2 examples instead of 1.

Since I use result sets from databases, I expected something wrong there.
I managed to isolate the problem in a very simplified example, no databases used and same happens.
So, the problem seems to be in the gb.report2 component.

Button 1 shows ReportAll
Button 2 shows ReportTest with argument true -> this is a copy of ReportAll, but with added code (no other difference)
Button 3 shows ReportTest with argument false -> this is a copy of ReportAll, but with added code (no other difference)

Button 2 shows me what I want on page 1 and keeps adding pages and ends up in an endless loop
Button 3 shows me what I want but twice!!!

This was possible in gb.report. What changed? Is this intentional as it will fuck up a lot of my reports.

I'm running 3.18.4, but the test project I made was on 3.19.4 (Debian 12 VM). I think the problem is probably from even earlier.
I had a shitload of reports in the old component and just kept using the old report component (never change a winning team)
I never really got around to to migrate them to report2.

gbWilly


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

[System]
Gambas=3.18.4
OperatingSystem=Linux
Distribution=debian 12.7
Kernel=6.1.0-21-amd64
Architecture=x86_64
Cores=16
Memory=15696M
Language=en_US.UTF-8
Desktop=MATE
DesktopResolution=96
DesktopScale=8
WidgetTheme=blackmate
Font=Cantarell,11

[Programs]
gcc=gcc (Debian 12.2.0-14) 12.2.0
git=git version 2.39.5

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.8.0
DBus=libdbus-1.so.3.32.4
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2406.32
GStreamer=libgstreamer-1.0.so.0.2200.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2406.32
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.126.0.0
QT5=libQt5Core.so.5.15.8
RSvg=librsvg-2.so.2.48.0
SDL=libSDL2-2.0.so.0.2600.5
SQLite 3=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
DESKTOP_SESSION=lightdm-xsession
DISPLAY=:0
EDITOR=pluma
GB_GUI=gb.gtk3
GDMSESSION=lightdm-xsession
GIO_LAUNCHED_DESKTOP_FILE_PID=1975
GPG_AGENT_INFO=/run/user/1001/gnupg/S.gpg-agent:0:1
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=0
HOME=<home>
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_MONETARY=nl_NL.UTF-8
LC_NUMERIC=nl_NL.UTF-8
LC_PAPER=nl_NL.UTF-8
LC_TIME=nl_NL.UTF-8
LOGNAME=<user>
MATE_DESKTOP_SESSION_ID=this-is-deprecated
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD=<home>
QT_ACCESSIBILITY=1
QT_FONT_DPI=96
QT_LOGGING_RULES=*.debug=false
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1420,unix/<hostname>:/tmp/.ICE-unix/1420
SHELL=/bin/bash
SSH_AGENT_PID=1465
SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/<user>
XDG_RUNTIME_DIR=/run/user/1001
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=lightdm-xsession
XDG_SESSION_ID=3
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7


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