Bug 110444 - History Size set to Unlimited causes Konsole to crash when you try to save the history.
Summary: History Size set to Unlimited causes Konsole to crash when you try to save th...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.5.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 10:19 UTC by Peter Baumann
Modified: 2006-08-04 20:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Baumann 2005-08-09 10:19:50 UTC
Version:           1.5.2 (using KDE KDE 3.4.2)
Installed from:    Fedora RPMs

I have read bug #85779 but I still have exactly the same problem.
I'm using this function "Save History as..." very often and get a lot of crashes (9 times out of 10).
I just login to another system with ssh and display a lot of lines tech-informations which I want to save with the "Save History as..." Function.
This still doesn't work.
I have a standard FC4 installation with a NVIDIA Graphic Card.
Here's the Backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208965440 (LWP 6654)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4  0x0037c056 in TESession::getEmulation ()
   from /usr/lib/libkdeinit_konsole.so
#5  0x00362306 in Konsole::slotSaveHistory ()
   from /usr/lib/libkdeinit_konsole.so
#6  0x00375ac5 in Konsole::qt_invoke () from /usr/lib/libkdeinit_konsole.so
#7  0x053d7df4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#8  0x053d82b4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#9  0x05abd35f in KAction::activated () from /usr/lib/libkdeui.so.4
#10 0x05abd484 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#11 0x05abfa20 in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#12 0x05abfcaa in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#13 0x053d7df4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x05750206 in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x053f5673 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x054ec5c2 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x05aae1cb in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#18 0x05416167 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x053730cd in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0537402f in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x043f6851 in KApplication::notify () from /usr/lib/libkdecore.so.4
#22 0x0530ab4d in QETWidget::translateMouseEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x05308f01 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x0531d008 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x0538b78b in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x0538b696 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x05372a99 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x00356746 in kdemain () from /usr/lib/libkdeinit_konsole.so
#29 0x00e156c4 in kdeinitmain () from /usr/lib/kde3/konsole.so
#30 0x0804decd in ?? ()
#31 0x0804e545 in ?? ()
#32 0x0804eb2d in ?? ()
#33 0x0804fba9 in ?? ()
#34 0x008dede6 in __libc_start_main () from /lib/libc.so.6
#35 0x0804b951 in ?? ()


Any Idea what the problem could be?
Comment 1 Kurt Hindenburg 2005-09-18 07:28:41 UTC
This is likely the same as 84403.  Too much data, not enough RAM.

With KDE 3.5, I saved a 350,000 line History, it froze Konsole for about 1:45 mins and used 100% of the CPU but it didn't crash (750MB RAM).

I cat this file 5 times...
% wc -l /mnt/part5/usr/share/dict/extra.words

-rw-r--r--  1 kvh users 6141558 Sep 18 00:29 history350000.txt


It would be helpful to know the size of the data you were trying to save.

It may just be that people are going to have to stop using unlimited history.
Comment 2 Robert Knight 2006-08-04 20:04:08 UTC
Rewrote lots of the code related to this recently, so it is quite likely that the problem will have disappeared.  

Please reopen if the problem still occurs with the Konsole for KDE 4.0 betas (when they eventually arrive).