[Konsole-devel] [Bug 138521] New: SIGSEGV crash after saving history twice

Grant W Quinlan Quinlan at ACM.org
Fri Dec 8 01:16:23 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138521         
           Summary: SIGSEGV crash after saving history  twice
           Product: konsole
           Version: 1.6.4
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: Quinlan ACM org


Version:           1.6.4 (using KDE KDE 3.5.4)
Installed from:    Slackware Packages
Compiler:          gcc (GCC) 3.4.6 
OS:                Linux

Konsole crashes on alternate save attempts when I set history to >2000 lines and then I try save history to a file. 

I am using Konsole 1.6.4 with KDE 3.5.4 on Slackware 11.0.

When I scan the bug history I see that this behaviour is similar to Bug 85779: History Size set to Unlimited with > 50.000 lines causes Konsole to crash when you try to save the history. That bug was fixed 2.5 years ago in Konsole 1.3.2. It is also similar to Bug 111604 which was apparently fixed in Konsole 1.4.2 so I believe that this may be something new.

Here is how I can reliably reproduce this failure:
> I am trying to capture the output of a failing "make" for a project I am working on, that produces about 2800 lines of text. 
> The failure occurs when I am using just one session or when I am using multiple sessions in my Konsole window.
> Set the session to record >2000 lines (I am trying to capture 3000 lines) (Konsole Menu->Settings->History, Enable checked, Number of lines: 3000)
> Clear the session histories before starting (Konsole Menu->Edit->Clear All Histories)
> Generate a little more than 2000 lines of output (my "make" works, but so does "cat"ing a big text file) 
> Save the session history to a file (Konsole Menu->Edit->Save History As ...->{Enter a name}->Save->Overwrite)
> Clear the session histories again
> Generate a lot of output again
> Save the session history to a file (Konsole Menu->Edit->Save History As ...->{Enter a name}->Save->Overwrite)
> The Konsole application then crashes

If I do not clear the session history then the crash does not occur reliably.

After the crash the Konsole windows disappear and the KDE crash handler takes over reporting a signal 11 SIGSEGV error. 
Here is the KDE backtrace report:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
...(repeated 18 times)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1232058688 (LWP 9244)]
[KCrash handler]
#5  0xb67f76b7 in TESession::getEmulation ()
   from /opt/kde/lib/libkdeinit_konsole.so
#6  0xb67ef6b1 in Konsole::qt_invoke ()
   from /opt/kde/lib/libkdeinit_konsole.so
#7  0xb7137d44 in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#8  0xb71384dc in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#9  0xb7a2a429 in KAction::activated () from /opt/kde/lib/libkdeui.so.4
#10 0xb7a2ae8a in KAction::slotActivated () from /opt/kde/lib/libkdeui.so.4
#11 0xb7a2f719 in KAction::slotPopupActivated ()
   from /opt/kde/lib/libkdeui.so.4
#12 0xb7a2f925 in KAction::qt_invoke () from /opt/kde/lib/libkdeui.so.4
#13 0xb7137d44 in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#14 0xb74778ed in QSignal::signal () from /usr/lib/qt/lib/libqt-mt.so.3
#15 0xb71527a1 in QSignal::activate () from /usr/lib/qt/lib/libqt-mt.so.3
#16 0xb724aa27 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#17 0xb7a1a1a1 in KPopupMenu::mouseReleaseEvent ()
   from /opt/kde/lib/libkdeui.so.4
#18 0xb7171aa4 in QWidget::event () from /usr/lib/qt/lib/libqt-mt.so.3
#19 0xb70d323f in QApplication::internalNotify ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#20 0xb70d3496 in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#21 0xb773aac5 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#22 0xb706d60a in QETWidget::translateMouseEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#23 0xb706b821 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#24 0xb707ef25 in QEventLoop::processEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#25 0xb70e9961 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#26 0xb70e98b6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#27 0xb70d239f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#28 0xb67cb87f in kdemain () from /opt/kde/lib/libkdeinit_konsole.so
#29 0xb763c7d4 in kdeinitmain () from /opt/kde/lib/kde3/konsole.so
#30 0x0804e4b4 in ?? ()
#31 0x00000002 in ?? ()
#32 0x08083f60 in ?? ()
#33 0x00000001 in ?? ()
#34 0x00000000 in ?? ()



More information about the konsole-devel mailing list