[Gambas-bugtracker] Bug #2135: 100% CPU when remove Characters in the Editor
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Mon Mar 15 19:15:17 CET 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2135&from=L21haW4-
Olivier CRUILLES reported a new bug.
Summary
-------
100% CPU when remove Characters in the Editor
Type : Bug
Priority : High
Gambas version : Master
Product : Development Environment
Description
-----------
Hi Benoit,
Since last few commits on the DEV branch of Gambas, in one of my project, when I try to remove/add just 1 character in the code of the Editor (where there is more than 33000 lines), the CPU goes to 100% and the Editor hand for long time and return available after it proceed the operation.
I have tried to added some lines at the end of the Editor and all is good, but change lines at the beginning of the code jam the Editor for few minutes.
I have tried to rebuild Gambas DEV from old commits (20 or 30 commits older than the last commit) but nothing change.
Screenshot attached showing the CPU value when deleting just 1 char.
Olivier
System information
------------------
[System]
Gambas=3.15.90 001050aea (heads/remotes/origin/HEAD)
OperatingSystem=Linux
Kernel=5.10.22-200.fc33.x86_64
Architecture=x86_64
Distribution=redhat Fedora release 33 (Thirty Three)
Desktop=MATE
Font=Sans,9
Scale=6
Theme=greybird
Language=fr_FR.utf8
Memory=32051M
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.22
GStreamer=libgstreamer-1.0.so.0.1802.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.22
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.101.0.0
QT5=libQt5Core.so.5.15.2
SQLite=libsqlite3.so.0.8.6
[Environment]
BASH_ENV=/usr/share/lmod/lmod/init/bash
BASH_FUNC_ml%%=() { eval $($LMOD_DIR/ml_cmd "$@")
}
BASH_FUNC_module%%=() { eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}
CAPP_BUILD=<home>/Packages/Starter/Build
CONDA_SHLVL=0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=mate
DISPLAY=:0
EDITOR=/usr/bin/nano
GB_GUI=gb.gtk3
GDMSESSION=mate
GDM_LANG=fr_FR.utf8
GIO_LAUNCHED_DESKTOP_FILE_PID=991917
GTK3_MODULES=xapp-gtk3-module
GTK_OVERLAY_SCROLLING=0
GUESTFISH_INIT=\e[1;34m
GUESTFISH_OUTPUT=\e[0m
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\]
GUESTFISH_RESTORE=\e[0m
HISTCONTROL=ignoredups
HISTSIZE=1000
HISTTIMEFORMAT=%F %T
HOME=<home>
HOSTNAME=<hostname>
IMSETTINGS_INTEGRATE_DESKTOP=yes
IMSETTINGS_MODULE=none
KDEDIRS=/usr
LANG=fr_FR.utf8
LC_ALL=fr_FR.utf8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
LMOD_DIR=/usr/share/lmod/lmod/libexec
LMOD_PKG=/usr/share/lmod/lmod
LMOD_ROOT=/usr/share/lmod
LMOD_SETTARG_FULL_SUPPORT=no
LMOD_VERSION=8.4.1
LMOD_sys=Linux
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MANPATH=/usr/share/lmod/lmod/share/man:
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core
MODULEPATH_ROOT=/usr/share/modulefiles
MODULESHOME=/usr/share/lmod/lmod
MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed
PAGER=most
PATH=<home>/.cargo/bin:<home>/narwhal/bin:/usr/condabin:/usr/lib64/ccache:<home>/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/var/lib/snapd/snap/bin:<home>/bin:/usr/local/xaralx/bin
PWD=<home>
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=xim
QT_LOGGING_RULES=*.debug=false
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3024,unix/unix:/tmp/.ICE-unix/3024
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=3154
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=dumb
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=/run/lightdm/<user>/xauthority
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=1
XMODIFIERS=@im=none
More information about the Bugtracker
mailing list