Bug 259419 - [history related] Konsole crashes, no direct user actions was involved.[CompactHistoryScroll::addCellsVector, Screen::addHistLine, Screen::scrollUp]
Summary: [history related] Konsole crashes, no direct user actions was involved.[Compa...
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.4.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 300271 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-10 10:29 UTC by Jan
Modified: 2012-05-18 19:06 UTC (History)
2 users (show)

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 Jan 2010-12-10 10:29:45 UTC
Application: konsole (2.4.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
A simple program with moderate text output was started from the konsole.
After approx. two days of operation the KDE Konsoled crashed during a long period with no user activity - the screen was locked.
The scrolling was fixed at 99999 lines.
The system is equipped with 4GB ram & 8 GB swap - OOM shouldn't be a issue.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Konsole (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f6132239e33 in Konsole::CompactHistoryScroll::addCellsVector (this=0x7a0d60, cells=<value optimized out>) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/History.cpp:723
#6  0x00007f6132256ea8 in Konsole::Screen::addHistLine (this=0x78b1c0) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/Screen.cpp:1270
#7  0x00007f6132257f5c in Konsole::Screen::scrollUp (this=0x78b1c0, n=1) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/Screen.cpp:720
#8  0x00007f61322341b5 in Konsole::Emulation::receiveData (this=0x789960, text=
    0xc48fb8 "cnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2"..., length=231) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/Emulation.cpp:228
#9  0x00007f613225c5da in Konsole::Session::onReceiveBlock (this=0x78b4b0, buf=
    0xc48fb8 "cnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2"..., len=231) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/Session.cpp:1126
#10 0x00007f613225eaea in Konsole::Session::qt_metacall (this=0x78b4b0, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fff89424d60)
    at /usr/src/debug/kdebase-4.4.4/build/apps/konsole/src/Session.moc:208
#11 0x00007f613ea73a1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x00007f613225421d in Konsole::Pty::receivedData (this=<value optimized out>, _t1=
    0xc48fb8 "cnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2Resolve \r\ncnfFormula2"..., _t2=231) at /usr/src/debug/kdebase-4.4.4/build/apps/konsole/src/Pty.moc:97
#13 0x00007f613225425b in Konsole::Pty::dataReceived (this=0x732370) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/Pty.cpp:272
#14 0x00007f61322542cc in Konsole::Pty::qt_metacall (this=0x732370, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff89424e60)
    at /usr/src/debug/kdebase-4.4.4/build/apps/konsole/src/Pty.moc:85
#15 0x00007f613ea73a1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007f6131dc20fe in KPtyDevicePrivate::_k_canRead (this=0x78cdd0) at /usr/src/debug/kdelibs-4.4.4/kpty/kptydevice.cpp:319
#17 0x00007f6131dc22a1 in KPtyDevice::qt_metacall (this=0x78a350, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff89425040) at /usr/src/debug/kdelibs-4.4.4/build/kpty/kptydevice.moc:82
#18 0x00007f613ea73a1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007f613eab9fde in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4
#20 0x00007f613ea7899b in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007f613dc344d4 in QApplicationPrivate::notify_helper (this=0x67c4f0, receiver=0x78ce50, e=0x7fff894256f0) at kernel/qapplication.cpp:4302
#22 0x00007f613dc3caca in QApplication::notify (this=<value optimized out>, receiver=0x78ce50, e=0x7fff894256f0) at kernel/qapplication.cpp:4185
#23 0x00007f613eeebc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007f613ea5fe4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#25 0x00007f613ea88089 in ?? () from /usr/lib64/libQtCore.so.4
#26 0x00007f6139cd8a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f6139cd9270 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f6139cd9510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f613ea8867f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007f613dcd514e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f613ea5f292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007f613ea5f495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007f613ea6388b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#34 0x00007f61324faf96 in kdemain (argc=1, argv=0x61a8a0) at /usr/src/debug/kdebase-4.4.4/apps/konsole/src/main.cpp:77
#35 0x0000000000407659 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-02-16 09:23:50 UTC
Can't reproduce using recent versions. Feel free to reopen if the problem still happens in versions newer than KDE SC 4.7.4
Comment 2 Jekyll Wu 2012-05-18 19:06:10 UTC
*** Bug 300271 has been marked as a duplicate of this bug. ***