process consumes all ram, reading X keyboard settings over and over again
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VLC media player |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If I attempt to run OpenOffice, VLC, or K9copy (there may be others too, these are just the ones I've identified) the process rapidly consumes (>500mb in 1 minute) all available ram and renders the system unusable. If I turn swapoff the computer will recover after a time, having killed the offending process, and I can use the computer again. If swap is not turned off, even after 15 hours the computer is almost completely unresponsive even after 15 hours of disk thrashing.
Based on advice of johanbr on #ubuntu-ca I ran 'strace -p $k9copy_process_id 2>strace-
System > Preferences > Keyboard > Keyboard preferences says keyboard "Dell" with USA layout. It is actually an IBM model SK-8820, however that model is not available in the IBM section. There are two dell models with similar model numbers: SK-8125, SK-8135.
From System > Preferences > Keyboard I changed the keyboard to Generic 101 key and applied system wide.
K9copy still consumes all available ram, or I presume it would if I let it. I killed it from System Monitor after it used >900mb and still hadn't shown a splash screen or window.
Also see https:/
My system vital statistics:
Ubuntu 8.10 amd64
Kernel 2.6.27-11-generic
Gnome 2.24.1
AMD Athlon 64 x2 Dual Core Processor 4200+
115gb available disk space (of 290gb)
3GB of ram.
I believe the first ubuntu release installed on this computer was 5.10 but it may have been 6.04. It's been upgraded in-situ ever since. I regularly check and apply updates (weekly or better). I did not experience any problems of this sort until upgrading to 8.10 (yes this has been going on for several months now).
$ head -100 k9copy-strace.txt
Process 13422 attached - interrupt to quit
read(12, "mega> \t: \"\341\275\242\" U1F62 # GREEK S"..., 4096) = 4096
read(12, "AND OXIA\n<Multi_key> <apostrophe"..., 4096) = 4096
read(12, "omega> \t: \"\341\275\247\" U1F67 # GREEK "..., 4096) = 4096
read(12, " \"\341\275\254\" U1F6C # GREEK CAPITAL L"..., 4096) = 4096
read(12, "OMEGA WITH DASIA AND PERISPOMENI"..., 4096) = 4096
read(12, "iota> <U1F01> \t: \"\341\276\201\" U1F81 #"..., 4096) = 4096
read(12, "li> <Greek_alpha> \t: \"\341\276\202\" U1F"..., 4096) = 4096
read(12, " ALPHA WITH PSILI AND OXIA AND Y"..., 4096) = 4096
read(12, "ad_psili> <Greek_alpha> \t: \"\341\
read(12, "# GREEK SMALL LETTER ALPHA WITH "..., 4096) = 4096
read(12, "EEK SMALL LETTER ALPHA WITH PSIL"..., 4096) = 4096
read(12, "TAL LETTER ALPHA WITH PSILI AND "..., 4096) = 4096
read(12, "ITAL LETTER ALPHA WITH PSILI AND"..., 4096) = 4096
read(12, "_iota> <combining_grave> <U0314>"..., 4096) = 4096
read(12, "eek_ALPHA> \t: \"\341\276\214\" U1F8C # GR"..., 4096) = 4096
read(12, "OXIA AND PROSGEGRAMMENI\
read(12, "<dead_iota> <Multi_key> <asciiti"..., 4096) = 4096
read(12, "ft> <Greek_ALPHA> \t: \"\341\276\217\" U1F"..., 4096) = 4096
read(12, "OGEGRAMMENI\
read(12, "REEK SMALL LETTER ETA WITH DASIA"..., 4096) = 4096
read(12, "eta> \t: \"\341\276\224\" U1F94 # GREEK SM"..., 4096) = 4096
read(12, "enleft> <Greek_eta> \t: \"\341\276\225\" U"..., 4096) = 4096
read(12, "D PERISPOMENI AND YPOGEGRAMMENI\
read(12, "U1F97 # GREEK SMALL LETTER ETA W"..., 4096) = 4096
read(12, " WITH PSILI AND VARIA AND PROSGE"..., 4096) = 4096
read(12, "MENI\n<dead_iota> <dead_grave> <M"..., 4096) = 4096
read(12, "cute> <dead_psili> <Greek_ETA> \t"..., 4096) = 4096
read(12, "0314> <Greek_ETA> \t: \"\341\276\235\" U1F"..., 4096) = 4096
read(12, "GEGRAMMENI\
read(12, "<asciitilde> <U1F29> \t: \"\341\276\237\" "..., 4096) = 4096
read(12, "iota> <Multi_key> <parenleft> <G"..., 4096) = 4096
read(12, "L LETTER OMEGA WITH DASIA AND VA"..., 4096) = 4096
read(12, "_iota> <dead_acute> <U1F60> \t: \""..., 4096) = 4096
read(12, "SMALL LETTER OMEGA WITH DASIA AN"..., 4096) = 4096
read(12, "EGA WITH DASIA AND OXIA AND YPOG"..., 4096) = 4096
read(12, "SMALL LETTER OMEGA WITH PSILI AN"..., 4096) = 4096
read(12, "\" U1FA8 # GREEK CAPITAL LETTER"..., 4096) = 4096
read(12, " PROSGEGRAMMENI\
read(12, "_key> <parenleft> <Greek_OMEGA> "..., 4096) = 4096
read(12, ": \"\341\276\254\" U1FAC # GREEK CAPITAL "..., 4096) = 4096
read(12, "\n<Multi_key> <Greek_iota> <acute"..., 4096) = 4096
read(12, "_iota> <Multi_key> <asciitilde> "..., 4096) = 4096
read(12, "EGA> \t: \"\341\276\257\" U1FAF # GREEK CA"..., 4096) = 4096
read(12, "ETTER ALPHA WITH PERISPOMENI\
read(12, "ER ETA WITH OXIA AND YPOGEGRAMME"..., 4096) = 4096
read(12, "dead_diaeresis> <Greek_iota> \t: "..., 4096) = 4096
read(12, " U1FE1 # GREEK SMALL LETTER UPS"..., 4096) = 4096
read(12, " \t: \"\341\277\254\" U1FEC # GREEK CAP"..., 4096) = 4096
read(12, "\"\341\277\270\" U1FF8 # GREEK CAPITAL LE"..., 4096) = 4096
read(12, "SCRIPT LATIN SMALL LETTER N\n<Mul"..., 4096) = 4096
read(12, "ESIS\n<Multi_key> <underbar> <par"..., 4096) = 4096
read(12, "ti_key> <U227C> <U0338> \t: \"\342\
read(12, " \"\342\221\255\" U246D # CIRCLED NUMBER "..., 4096) = 4096
read(12, "8 # CIRCLED LATIN CAPITAL LETTER"..., 4096) = 4096
read(12, "\201\222\" U3052 # HIRAGANA LETTER GE"..., 4096) = 4096
read(12, " U3193 # IDEOGRAPHIC ANNOTATION "..., 4096) = 4096
read(12, "key> <parenleft> <2> <4> <parenr"..., 4096) = 4096
read(12, "renleft> <KP_3> <KP_1> <parenrig"..., 4096) = 4096
read(12, "3279 # CIRCLED HANGUL THIEUTH A\n"..., 4096) = 4096
read(12, "OGRAPH STUDY\n<Multi_key> <parenl"..., 4096) = 4096
read(12, "\n<Multi_key> <parenleft> <4> <KP"..., 4096) = 4096
read(12, "U\n<Multi_key> <parenleft> <kana_"..., 4096) = 4096
read(12, "B39 # HEBREW LETTER YOD WITH DAG"..., 4096) = 3348
read(12, "", 4096) = 0
close(12) = 0
munmap(
select(8, [7], [7], NULL, NULL) = 1 (out [7])
writev(7, [{"\2\24\
select(8, [7], [], NULL, NULL) = 1 (in [7])
read(7, "\1\0\0105\
read(7, 0x2597594, 4096) = -1 EAGAIN (Resource temporarily unavailable)
open("/
fstat(12, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(12, "# $Xorg: compose.dir,v 1.3 2000/"..., 4096) = 4096
read(12, "9-1/Compose\
read(12, "9-15\niso8859-
read(12, "TF-8/Compose\
read(12, "p_AN.UTF-
read(12, "se:\t\
read(12, "9-10/Compose:
read(12, "g5HKSCS\
close(12) = 0
munmap(
access(
open("/
close(12) = 0
geteuid() = 1000
getegid() = 1000
open("/
open("/
fstat(12, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(12, "# $Xorg: compose.dir,v 1.3 2000/"..., 4096) = 4096
read(12, "9-1/Compose\
read(12, "9-15\niso8859-
read(12, "TF-8/Compose\
read(12, "p_AN.UTF-
read(12, "se:\t\
read(12, "9-10/Compose:
read(12, "g5HKSCS\
close(12) = 0
$ tail -100 k9copy-strace.txt
read(12, "ulti_key> <parenleft> <Greek_alp"..., 4096) = 4096
read(12, "K SMALL LETTER ALPHA WITH DASIA "..., 4096) = 4096
read(12, "D VARIA\n<Multi_key> <grave> <par"..., 4096) = 4096
read(12, "Multi_key> <parenleft> <Greek_AL"..., 4096) = 4096
read(12, "I\n<Multi_key> <parenright> <Gree"..., 4096) = 4096
read(12, "e> <dead_psili> <Greek_epsilon> "..., 4096) = 4096
read(12, " <Greek_EPSILON> \t: \"\341\274\232\" U1F1"..., 4096) = 4096
read(12, "te> <dead_dasia> <Greek_
read(12, "_key> <acute> <U1F20> \t: \"\341\274\244\" "..., 4096) = 4096
read(12, "ITH PSILI AND PERISPOMENI\
read(12, "> \t: \"\341\274\253\" U1F2B # GREEK CAPIT"..., 4096) = 4096
read(12, "K CAPITAL LETTER ETA WITH PSILI "..., 4096) = 4096
read(12, "TTER IOTA WITH PSILI AND VARIA\n<"..., 4096) = 4096
read(12, "lti_key> <apostrophe> <dead_dasi"..., 4096) = 4096
read(12, "<dead_psili> <Greek_IOTA> \t: \"\341\274"..., 4096) = 4096
read(12, "CAPITAL LETTER IOTA WITH DASIA A"..., 4096) = 4096
read(12, "i_key> <asciitilde> <parenleft> "..., 4096) = 4096
read(12, "MALL LETTER OMICRON WITH PSILI A"..., 4096) = 4096
read(12, " # GREEK CAPITAL LETTER OMICRON "..., 4096) = 4096
read(12, "CAPITAL LETTER OMICRON WITH DASI"..., 4096) = 4096
read(12, "REEK SMALL LETTER UPSILON WITH D"..., 4096) = 4096
read(12, "POMENI\
read(12, "\341\275\233\" U1F5B # GREEK CAPITAL LET"..., 4096) = 4096
read(12, "mega> \t: \"\341\275\242\" U1F62 # GREEK S"..., 4096) = 4096
read(12, "AND OXIA\n<Multi_key> <apostrophe"..., 4096) = 4096
read(12, "omega> \t: \"\341\275\247\" U1F67 # GREEK "..., 4096) = 4096
read(12, " \"\341\275\254\" U1F6C # GREEK CAPITAL L"..., 4096) = 4096
read(12, "OMEGA WITH DASIA AND PERISPOMENI"..., 4096) = 4096
read(12, "iota> <U1F01> \t: \"\341\276\201\" U1F81 #"..., 4096) = 4096
read(12, "li> <Greek_alpha> \t: \"\341\276\202\" U1F"..., 4096) = 4096
read(12, " ALPHA WITH PSILI AND OXIA AND Y"..., 4096) = 4096
read(12, "ad_psili> <Greek_alpha> \t: \"\341\
read(12, "# GREEK SMALL LETTER ALPHA WITH "..., 4096) = 4096
read(12, "EEK SMALL LETTER ALPHA WITH PSIL"..., 4096) = 4096
read(12, "TAL LETTER ALPHA WITH PSILI AND "..., 4096) = 4096
read(12, "ITAL LETTER ALPHA WITH PSILI AND"..., 4096) = 4096
read(12, "_iota> <combining_grave> <U0314>"..., 4096) = 4096
read(12, "eek_ALPHA> \t: \"\341\276\214\" U1F8C # GR"..., 4096) = 4096
read(12, "OXIA AND PROSGEGRAMMENI\
read(12, "<dead_iota> <Multi_key> <asciiti"..., 4096) = 4096
read(12, "ft> <Greek_ALPHA> \t: \"\341\276\217\" U1F"..., 4096) = 4096
read(12, "OGEGRAMMENI\
read(12, "REEK SMALL LETTER ETA WITH DASIA"..., 4096) = 4096
read(12, "eta> \t: \"\341\276\224\" U1F94 # GREEK SM"..., 4096) = 4096
read(12, "enleft> <Greek_eta> \t: \"\341\276\225\" U"..., 4096) = 4096
read(12, "D PERISPOMENI AND YPOGEGRAMMENI\
read(12, "U1F97 # GREEK SMALL LETTER ETA W"..., 4096) = 4096
read(12, " WITH PSILI AND VARIA AND PROSGE"..., 4096) = 4096
read(12, "MENI\n<dead_iota> <dead_grave> <M"..., 4096) = 4096
read(12, "cute> <dead_psili> <Greek_ETA> \t"..., 4096) = 4096
read(12, "0314> <Greek_ETA> \t: \"\341\276\235\" U1F"..., 4096) = 4096
read(12, "GEGRAMMENI\
read(12, "<asciitilde> <U1F29> \t: \"\341\276\237\" "..., 4096) = 4096
read(12, "iota> <Multi_key> <parenleft> <G"..., 4096) = 4096
read(12, "L LETTER OMEGA WITH DASIA AND VA"..., 4096) = 4096
read(12, "_iota> <dead_acute> <U1F60> \t: \""..., 4096) = 4096
read(12, "SMALL LETTER OMEGA WITH DASIA AN"..., 4096) = 4096
read(12, "EGA WITH DASIA AND OXIA AND YPOG"..., 4096) = 4096
read(12, "SMALL LETTER OMEGA WITH PSILI AN"..., 4096) = 4096
read(12, "\" U1FA8 # GREEK CAPITAL LETTER"..., 4096) = 4096
read(12, " PROSGEGRAMMENI\
read(12, "_key> <parenleft> <Greek_OMEGA> "..., 4096) = 4096
read(12, ": \"\341\276\254\" U1FAC # GREEK CAPITAL "..., 4096) = 4096
read(12, "\n<Multi_key> <Greek_iota> <acute"..., 4096) = 4096
read(12, "_iota> <Multi_key> <asciitilde> "..., 4096) = 4096
read(12, "EGA> \t: \"\341\276\257\" U1FAF # GREEK CA"..., 4096) = 4096
read(12, "ETTER ALPHA WITH PERISPOMENI\
read(12, "ER ETA WITH OXIA AND YPOGEGRAMME"..., 4096) = 4096
read(12, "dead_diaeresis> <Greek_iota> \t: "..., 4096) = 4096
read(12, " U1FE1 # GREEK SMALL LETTER UPS"..., 4096) = 4096
read(12, " \t: \"\341\277\254\" U1FEC # GREEK CAP"..., 4096) = 4096
read(12, "\"\341\277\270\" U1FF8 # GREEK CAPITAL LE"..., 4096) = 4096
read(12, "SCRIPT LATIN SMALL LETTER N\n<Mul"..., 4096) = 4096
read(12, "ESIS\n<Multi_key> <underbar> <par"..., 4096) = 4096
read(12, "ti_key> <U227C> <U0338> \t: \"\342\
read(12, " \"\342\221\255\" U246D # CIRCLED NUMBER "..., 4096) = 4096
read(12, "8 # CIRCLED LATIN CAPITAL LETTER"..., 4096) = 4096
read(12, "\201\222\" U3052 # HIRAGANA LETTER GE"..., 4096) = 4096
read(12, " U3193 # IDEOGRAPHIC ANNOTATION "..., 4096) = 4096
read(12, "key> <parenleft> <2> <4> <parenr"..., 4096) = 4096
read(12, "renleft> <KP_3> <KP_1> <parenrig"..., 4096) = 4096
read(12, "3279 # CIRCLED HANGUL THIEUTH A\n"..., 4096) = 4096
read(12, "OGRAPH STUDY\n<Multi_key> <parenl"..., 4096) = 4096
read(12, "\n<Multi_key> <parenleft> <4> <KP"..., 4096) = 4096
read(12, "U\n<Multi_key> <parenleft> <kana_"..., 4096) = 4096
read(12, "B39 # HEBREW LETTER YOD WITH DAG"..., 4096) = 3348
read(12, "", 4096) = 0
close(12) = 0
munmap(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
+++ killed by SIGKILL +++
Process 13422 detached
The trace references files from the X locales, so I've assigned to xorg.