[Gambas-bugtracker] Bug #2793: HTTPClient Memory Leak
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Sep 30 19:52:11 CEST 2023
http://gambaswiki.org/bugtracker/edit?object=BUG.2793&from=L21haW4-
Christof THALHOFER reported a new bug.
Summary
-------
HTTPClient Memory Leak
Type : Bug
Priority : High
Gambas version : Master
Product : Web components
Description
-----------
As written in the mailinglist, HttpClient leaks file descriptor. To reproduce open the project HttpclientCrashServer and let it run. Then open the project httpclient-leak-bug and let it run. As soon as you check 'Leak Memory' in the main form the aplication starts leaking file descriptors.
System information
------------------
[System]
Gambas=3.18.90 1a73eb998 (master)
OperatingSystem=Linux
Distribution=Ubuntu 20.04.6 LTS
Kernel=5.4.0-144-generic
Architecture=x86_64
Cores=1
Memory=977M
Language=de_DE.UTF-8
Desktop=XFCE
DesktopResolution=96
DesktopScale=7
WidgetTheme=industrial
Font=Sans,10
[Programs]
gcc=gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
git=git version 2.25.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
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/1771,unix/<hostname>:/tmp/.ICE-unix/1771
SHELL=/usr/bin/zsh
SHLVL=0
SSH_AGENT_PID=1980
SSH_AUTH_SOCK=/tmp/ssh-rhCBmRAyLPvn/agent.1771
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
More information about the Bugtracker
mailing list