Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261240 - gnome-extra/gnome-do-0.8.0 consumes all the RAM when typing certains words
Summary: gnome-extra/gnome-do-0.8.0 consumes all the RAM when typing certains words
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hans de Graaff
URL: https://bugs.launchpad.net/do/+bug/27...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 00:24 UTC by Sebastián Magrí
Modified: 2011-05-31 17:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Trace (gnome-do-trace.gz,271.37 KB, application/x-gzip)
2009-03-05 00:25 UTC, Sebastián Magrí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastián Magrí 2009-03-05 00:24:29 UTC
When typing a word and then including any punctuation sign, it starts consuming all the RAM freezing the system until I kill the process. It's probably related with the upstream bug on the referenced URL.

Attached you will find a trace of Do when the issue occurs...
Comment 1 Sebastián Magrí 2009-03-05 00:25:31 UTC
Created attachment 183952 [details]
Trace
Comment 2 Sebastián Magrí 2009-03-05 00:44:26 UTC
Forgot to mention some relevant information:

----
emerge --info:

Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Tue, 03 Mar 2009 03:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r7
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es es_ES en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage/layman/gnome /usr/local/portage/layman/haskell /usr/local/portage/layman/enlightenment /usr/local/portage/layman/java-overlay /usr/local/portage/layman/lxde /usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 applet automount bash-completion beagle berkdb branding bzip2 cairo cdr cli cracklib crypt crypto cups cvs dbus dri dri2 dvd dvdr eds emerald evo exif ffmpeg flac fortran fuse galago gd gdbm geoip gif gimp git glitz gmp gnome gnutls gpgme gpm gstreamer gtk gtkhtml hal iconv imagemagick imap imlib inotify ipv6 isdnlog jabber java java6 jingle jpeg jpeg2k lcms libffi libnotify lm_sensors lua lzma midi mmx mmxext mono mp3 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pdf perl php png postgres ppds pppd python readline reflection rss scanner sdl session smp smtp spell spl sqlite sqlite3 sse sse2 sse3 sse4.1 ssl ssse3 subversion svg sysfs t1lib tcpd theora tiff truetype unicode usb vim-pager vim-syntax vim-with-x vorbis xcb xcomposite xft xorg xpm xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
----

Using dev-lang/mono-2.2-r3

The test string was "identi.ca", it starts eating memory when I type the dot...
Comment 3 Hans de Graaff gentoo-dev Security 2009-03-18 06:39:49 UTC
Could you test if this is fixed in gnome-do 0.8.1.3?
Comment 4 Sebastián Magrí 2009-03-19 00:40:47 UTC
It seems to be solved in the latest release...
Comment 5 Sebastián Magrí 2009-03-21 02:53:32 UTC
Fake Alarm... the leaks are back... under similar conditions, but now while typing http URLs...
Comment 6 Hans de Graaff gentoo-dev Security 2009-04-12 19:12:26 UTC
I've just noticed that behaviour that triggers this for me on amd64 is working just fine on x86. Sebastian, I don't suppose it would be easy for you to test on x86?
Comment 7 Sebastián Magrí 2009-04-12 19:38:57 UTC
I would try it, but I'll have to wait until I get a new HD for an old coppermine... As soon as I get it I'll test and report here... (if the machine survives)
Comment 8 Gonçalo Silva 2009-04-28 01:06:41 UTC
Confirming this on a x86 box.

Whenever I mistype a command it freezes my system using up all my RAM and disk.

The example that just happened:
I wanted to type gnome-terminal but instead wrote gnome-termnal

As soon as I typed the "n" after the "m", instead of an "i", my system froze and I took 15 minutes to able to go to tty1 and kill the process.
Comment 9 Hans de Graaff gentoo-dev Security 2009-06-28 07:23:12 UTC
I haven't been able to trigger this anymore recently. Are you still seeing this with gnome-do 0.8.2?

Also, which version of mono are you using? I have a suspicion that the problem may actually be there.
Comment 10 Sebastián Magrí 2011-05-31 09:06:57 UTC
Sorry about resurrecting such an old bug. I moved to Synapse some time ago but I as far as I can remember the leaks dissapeared with a mono update.

From qlop -g I can see I was using mono-2.4. Nowadays mono-2.10 is stable so I think it's very hard to reproduce that. For me, it have no sense to keep this bug open.

Thanks.
Comment 11 Hans de Graaff gentoo-dev Security 2011-05-31 17:45:53 UTC
Agreed. I'm closing it. Feel free to reopen/comment if it can be reproduced with current stable mono.