[Konsole-devel] Bug#45855: marked as done (konsole leaks memory on a simple keypress) by Stephan Binner <binner at kde.org>

Stephan Kulow owner at bugs.kde.org
Fri Aug 2 21:18:03 UTC 2002


Your message with subj: konsole leaks memory on a simple keypress

Thank you for your bug report/feature request.
Unfortunately, this bug cannot be fixed in KDE.
The bug report/feature request will be closed.


has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

(Complete bug history is available at http://bugs.kde.org/db/45/45855.html)

Received: (at submit) by bugs.kde.org; 28 Jul 2002 07:47:13 +0000
Received: (qmail 25727 invoked by uid 33); 28 Jul 2002 07:47:12 -0000
Date: 28 Jul 2002 07:47:12 -0000
Message-ID: <20020728074712.25726.qmail at mail.kde.org>
To: submit at bugs.kde.org
Subject: konsole leaks memory on a simple keypress
From: claviola at debian.org
X-KDE-Received: -200.162.245.6

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)




More information about the konsole-devel mailing list