Summary: | Konsole crashed when scrolling up using the scrollbar [Konsole::Screen::fillWithDefaultChar, Konsole::ScreenWindow::fillUnusedArea, Konsole::ScreenWindow::getImage] | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Roger Dahl <rdmisc> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | abhijeet.linux, adaptee, agander, andresbajotierra, christian.kde, dplater, francesco.cecconi, illumilore, kpet, majca_j, ranju.mathew, spearhead2k3 |
Priority: | NOR | ||
Version: | 2.4.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/konsole/af20d278710c142646fa82a494a8312fdbfdac08 | Version Fixed In: | 4.9.0 |
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Roger Dahl
2010-08-02 06:31:06 UTC
[Comment from a bug triager] From bug 257300: - What I was doing when the application crashed: Konsole crashed suddenly when I started looking through the long scrollback history, using the scrollbars. Some custom settings of the application include: Transparent BG Unlimited scrollback Other instance variables: Had 2-3 tabs opened all connected to an ssh session. - Updated backtrace (KDE SC 4.5.1): Thread 1 (Thread 0xb776a710 (LWP 1759)): [KCrash Handler] #7 Konsole::Screen::fillWithDefaultChar (dest=0x10e57148, count=2137837446) at ../../../../apps/konsole/src/Screen.cpp:1359 #8 0x00470433 in Konsole::ScreenWindow::fillUnusedArea (this=0x9b74898) at ../../../../apps/konsole/src/ScreenWindow.cpp:93 #9 0x00470520 in Konsole::ScreenWindow::getImage (this=0x9b74898) at ../../../../apps/konsole/src/ScreenWindow.cpp:79 #10 0x00498a5e in Konsole::TerminalDisplay::updateImage (this=0x9b59d10) at ../../../../apps/konsole/src/TerminalDisplay.cpp:945 #11 0x0049969e in Konsole::TerminalDisplay::scrollBarPositionChanged (this=0x9b59d10) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1642 *** Bug 257300 has been marked as a duplicate of this bug. *** *** Bug 259580 has been marked as a duplicate of this bug. *** [Comment from a bug triager] From bug 260238: -- Information about the crash: I had a PHP script putting out millions of lines of data. I think it might have been at 6 billion or something when I tried to scroll up, and Konsole crashed. *** Bug 260238 has been marked as a duplicate of this bug. *** I've also got my konsoles set on unlimited scrollback so maybe this is related to an overflow. I had a couple of very large > 200M konsole temp files when I was looking for disk space. Created attachment 60184 [details]
New crash information added by DrKonqi
konsole (2.5.4) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0
- What I was doing when the application crashed:
Using the scrollbar to scroll back for a very large buffer
- Custom settings of the application:
Unlimited scrollback buffer
-- Backtrace (Reduced):
#7 Konsole::Screen::fillWithDefaultChar (dest=0xb25e7dd8, count=1910861213) at ../../../../apps/konsole/src/Screen.cpp:1359
#8 0x0081c4a3 in Konsole::ScreenWindow::fillUnusedArea (this=0x8c487c8) at ../../../../apps/konsole/src/ScreenWindow.cpp:93
#9 0x0081c590 in Konsole::ScreenWindow::getImage (this=0x8c487c8) at ../../../../apps/konsole/src/ScreenWindow.cpp:79
#10 0x00844ace in Konsole::TerminalDisplay::updateImage (this=0x8cbf940) at ../../../../apps/konsole/src/TerminalDisplay.cpp:945
#11 0x0084570e in Konsole::TerminalDisplay::scrollBarPositionChanged (this=0x8cbf940) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1642
Created attachment 62453 [details]
New crash information added by DrKonqi
konsole (2.6.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2
- What I was doing when the application crashed:
I was scrolling up using the scroll bar.
Before the crash there was a lot of lines and there were coming new lines at the bottom all the time. Then I scrolled up and then it crashed.
-- Backtrace (Reduced):
#6 Konsole::Screen::fillWithDefaultChar (dest=<value optimized out>, count=2094621236) at ../../../konsole/src/Screen.cpp:1359
#7 0x00007fab9766176e in Konsole::ScreenWindow::getImage (this=0x22c4400) at ../../../konsole/src/ScreenWindow.cpp:79
#8 0x00007fab976862c1 in Konsole::TerminalDisplay::updateImage (this=0x227fb50) at ../../../konsole/src/TerminalDisplay.cpp:951
#9 0x00007fab97686dde in Konsole::TerminalDisplay::qt_metacall (this=0x227fb50, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff19819bd0) at ./TerminalDisplay.moc:146
[...]
#11 0x00007fab95f9fe0e in QAbstractSlider::valueChanged (this=<value optimized out>, _t1=87830348) at .moc/release-shared/moc_qabstractslider.cpp:182
[Comment from a bug triager] From bug 272878 (KDE SC 4.4.5): -- Information about the crash: Unlimited history was activated (the computer wasn't OOM). I noticed a little bug a few minutes before the crash. I couln't paste text using middle-click or right-click->paste : it was always pasting "1" regardless of the selected text. *** Bug 272878 has been marked as a duplicate of this bug. *** *** Bug 278903 has been marked as a duplicate of this bug. *** *** Bug 293149 has been marked as a duplicate of this bug. *** Has anyone reproduced this using KDE 4.8 or a recent master? I couldn't get it to crash. Tested with a ruby script and one million of lines, no crash with KDE sc 4.8 and konsole 2.8. *** Bug 301442 has been marked as a duplicate of this bug. *** Git commit af20d278710c142646fa82a494a8312fdbfdac08 by Kurt Hindenburg. Committed on 09/06/2012 at 21:49. Pushed by hindenburg into branch 'master'. check to handle issue w/ fillWithDefaultChar given huge -count Previously, the count could be a huge negative number which could exceed what an int can handle. Also, there's no reason to calculate this number if it will be negative. M +6 -0 src/ScreenWindow.cpp http://commits.kde.org/konsole/af20d278710c142646fa82a494a8312fdbfdac08 |