Bug 84403 - saving an unlimited history crashes konsole 1.3
Summary: saving an unlimited history crashes konsole 1.3
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
: 85779 111604 (view as bug list)
Depends on:
Reported: 2004-07-03 11:59 UTC by Richard Hartmann
Modified: 2005-08-29 00:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hartmann 2004-07-03 11:59:30 UTC
Version:           Unbekannt (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:                Linux (i686) release 2.4.25-gentoo-r4

Can be easily reproduced:

- set history to "unimited in kconsole
- generate lots of data in the history, i.e. compile a new kernel
- try to save the history in a file

When doing so kconsole crashes 9 of 10 times. I 
think it has to do with the amount of data it
has to save.

There are no special plugins loaded, besides macromedia
flash which has nothing to do with kconsole.

- should not crash

My system:

ash-2.05b# emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo
System uname: 2.4.25-gentoo-r4 i686 Pentium III (Katmai)
Gentoo Base System version
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.                                            2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/shar                                            e/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Lin                                            ux/distributions/gentoo"
USE="X apm arts avi berkdb bonobo crypt cups encode esd foomaticdb gdbm gif gno                                            me gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mikmod                                             mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl                                             png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truety                                            pe x86 xml2 xmms xv zlib"
Comment 1 Waldo Bastian 2004-07-03 21:54:21 UTC
Probably runs out of memory... implementation isn't very scalable it seems.
Comment 2 Waldo Bastian 2004-07-06 10:42:05 UTC
CVS commit by waba: 

* Preserve trailing spaces when selecting
* Make "Save History As" more efficient. (BR84403)
CCMAIL: 84403-done@bugs.kde.org

  M +104 -70   TEScreen.cpp   1.83
  M +4 -3      TEScreen.h   1.22
  M +1 -1      TEmulation.cpp   1.56

Comment 3 Waldo Bastian 2004-07-23 16:58:28 UTC
*** Bug 85779 has been marked as a duplicate of this bug. ***
Comment 4 Kurt Hindenburg 2005-08-29 00:39:54 UTC
*** Bug 111604 has been marked as a duplicate of this bug. ***