[Konsole-devel] Bug#45855: konsole leaks memory on a simple keypress
claviola at debian.org
claviola at debian.org
Sun Jul 28 07:47:12 UTC 2002
Package: konsole
Version: 1.1.2 (using KDE 3.0.2 )
Severity: crash
Installed from: (3.0)
Compiler: gcc version 2.95.4 20011002 (Debian prerelease)
OS: Linux (i686) release 2.4.18
OS/Compiler notes:
Hello,
I've found out that konsole will practically bring my system down by sucking all the RAM it can until the kernel goes out of memory and kills the bash instances. It happens when you press RET while holding down the Shift key. It seems to me that when I do that, it runs across my entire bash history and tries to execute everything at once (!). I'm posting the relevant parts of an strace below:
7601 stat64("/home/claviola/.bash_history", {st_mode=S_IFREG|0600, st_size=7697, ...}) = 0
7601 open("/home/claviola/.bash_history", O_WRONLY|O_APPEND|O_LARGEFILE) = 3
7601 write(3, "test\n", 5) = 5
7601 close(3) = 0
7601 open("/home/claviola/.bash_history", O_RDONLY|O_LARGEFILE) = 3
7601 fstat64(3, {st_mode=S_IFREG|0600, st_size=7702, ...}) = 0
7601 read(3, "mv .mozilla/ .netscape\nscr-bx\nps"..., 7702) = 7702
7601 close(3) = 0
7601 open("/home/claviola/.bash_history", O_WRONLY|O_TRUNC|O_LARGEFILE) = 3
7601 write(3, "scr-bx\nps xa\nps xa|grep kon\nps x"..., 7679) = 7679
7601 close(3) = 0
7601 rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS RTMIN], 8) = 0
7601 ioctl(255, 0x5410, [7601]) = 0
7601 rt_sigprocmask(SIG_SETMASK, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS RTMIN], NULL, 8) = 0
7601 setpgid(0, 7601) = -1 EPERM (Operation not permitted)
7601 rt_sigaction(SIGHUP, {SIG_DFL}, {0x80807c0, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0x4000000}, 8) = 0
7601 getpid() = 7601
7601 kill(7601, SIGHUP) = 0
7601 sigreturn() = ? (mask now [RTMIN])
7601 --- SIGHUP (Hangup) ---
7601 +++ killed by SIGHUP +++
Hope this helps.
Carlos
(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
(Complete bug history is available at http://bugs.kde.org/db/45/45855.html)
More information about the konsole-devel
mailing list