Application that crashed: konsole Version of the application: 2.3 KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1)) Qt Version: 4.5.0 Operating System: Linux 2.6.28-13-generic i686 Distribution: Ubuntu 9.04 What I was doing when the application crashed: I was modifying the resolution in control center - display when the konsole crashed.. The resolution was 1280x1024 (and the konsole was opened when i had this resolution), and when i've modified it to 1280x800 it crashed. -- Backtrace: Application: Konsole (kdeinit4), signal: Segmentation fault [KCrash Handler] #6 0xb3a211f4 in Konsole::TerminalDisplay::paintFilters () from /usr/lib/libkonsoleprivate.so #7 0xb3a22a54 in Konsole::TerminalDisplay::paintEvent () from /usr/lib/libkonsoleprivate.so #8 0xb68e991e in QWidget::event () from /usr/lib/libQtGui.so.4 #9 0xb3a19590 in Konsole::TerminalDisplay::event () from /usr/lib/libkonsoleprivate.so #10 0xb6892e9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #11 0xb689b282 in QApplication::notify () from /usr/lib/libQtGui.so.4 #12 0xb73cd3dd in KApplication::notify () from /usr/lib/libkdeui.so.5 #13 0xb7e02a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #14 0xb689dfee in QCoreApplication::sendSpontaneousEvent () from /usr/lib/libQtGui.so.4 #15 0xb68f1719 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #16 0xb68f1ebe in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #17 0xb68f130a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #18 0xb68f1ebe in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #19 0xb68f130a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #20 0xb68f1ebe in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #21 0xb68f130a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #22 0xb68f1ebe in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #23 0xb68f130a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #24 0xb68f1ebe in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 #25 0xb68f130a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 #26 0xb6aae08a in ?? () from /usr/lib/libQtGui.so.4 #27 0xb68e1bb6 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4 #28 0xb68fb15e in ?? () from /usr/lib/libQtGui.so.4 #29 0xb6909218 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #30 0xb6934c6a in ?? () from /usr/lib/libQtGui.so.4 #31 0xb6425b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0xb64290eb in ?? () from /usr/lib/libglib-2.0.so.0 #33 0xb6429268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0xb7e2e438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #35 0xb6934365 in ?? () from /usr/lib/libQtGui.so.4 #36 0xb7e0106a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #37 0xb7e014aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #38 0xb7e03959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #39 0xb6892d17 in QApplication::exec () from /usr/lib/libQtGui.so.4 #40 0xb3b225d2 in kdemain () from /usr/lib/libkdeinit4_konsole.so #41 0x0804e1c0 in _start () Reported using DrKonqi
*** Bug 204173 has been marked as a duplicate of this bug. ***
*** Bug 204171 has been marked as a duplicate of this bug. ***
If anyone can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? You may need to install the debug symbols packages for "kdebase" ("kdebase-apps-dbg" in Ubuntu, "kdebase4-apps-debuginfo" in openSuse). Thanks
*** Bug 204255 has been marked as a duplicate of this bug. ***
*** Bug 204986 has been marked as a duplicate of this bug. ***
Complete backtrace from bug 204986: #5 0x0000003ec50b4424 in QChar (this=<value optimized out>, painter=<value optimized out>) at /usr/include/qt4/QtCore/qchar.h:81 #6 Konsole::TerminalDisplay::paintFilters (this=<value optimized out>, painter=<value optimized out>) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1321 #7 0x0000003ec50b5a8c in Konsole::TerminalDisplay::paintEvent (this=<value optimized out>, pe=<value optimized out>) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1212 #8 0x0000003ec3227966 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7687
*** Bug 205122 has been marked as a duplicate of this bug. ***
*** Bug 206068 has been marked as a duplicate of this bug. ***
*** Bug 152493 has been marked as a duplicate of this bug. ***
*** Bug 205499 has been marked as a duplicate of this bug. ***
*** Bug 207145 has been marked as a duplicate of this bug. ***
*** Bug 207318 has been marked as a duplicate of this bug. ***
Downstream: https://bugzilla.novell.com/show_bug.cgi?id=527734
*** Bug 208172 has been marked as a duplicate of this bug. ***
*** Bug 208551 has been marked as a duplicate of this bug. ***
*** Bug 208522 has been marked as a duplicate of this bug. ***
Were all these from changing screen resolution? Can anyone reproduce it all the time? and if so could you please let us know what you did.
In reply to #17, I entered Bug #208551: I did no resizing, while my konsole crashed, a least no resizing that I would be aware of. Actually I was waiting for a command line command to finish.
I wasn't changing my screen's resolution. I was just un-maximizing the konsole window. I provided a complete backtrace in bug #208522. I had all the debugging packages installed.
*** Bug 208754 has been marked as a duplicate of this bug. ***
Bug 208754 should contain backtraces too, *-debuginfo packages were installed.
Created attachment 37593 [details] Konsole crashlog via yakuake It seems I got this same crash through yakuake. I was not changing my desktop resolution though. I did change the resolution of the console by doing the following in yakuake (which I guess counts as a resolution change) This is what I remember doing: 1. Pressed accesskey to show the console 2. Pressed shorcut for fullscreen (effectively a resize?) 3. Did some work 4. Pressed accesskey again to hide the console 5. Pressed accesskey again to show and there it crashed.
From bug 211457: What I was doing when the application crashed: Konsole crashed while I was using irssi and tried to split the window horizontally. I had 5 other tabbed windows open at the same time in Konsole.
*** Bug 211457 has been marked as a duplicate of this bug. ***
*** Bug 213789 has been marked as a duplicate of this bug. ***
From bug 213465: --- What I was doing when the application crashed: Crashed while trying to move maximized konsole to second monitor, konsole is transparent, vlc was in background playing back a .avi.
*** Bug 213465 has been marked as a duplicate of this bug. ***
*** Bug 214133 has been marked as a duplicate of this bug. ***
From bug 214486: --- What I was doing when the application crashed: - Running aptitude in konsole - Unmaximize konsole horizontally via hot-key - Crash of konsole
*** Bug 214486 has been marked as a duplicate of this bug. ***
*** Bug 215888 has been marked as a duplicate of this bug. ***
*** Bug 217075 has been marked as a duplicate of this bug. ***
*** Bug 218025 has been marked as a duplicate of this bug. ***
From bug 216235: --- What I was doing when the application crashed: I had three tabs open - two of them running ssh to a remote server. One of them running a tail -f command on a log file. The other one just connected. In the locale tab i just ran "cat" on a rather large xml file ~72 mb. The "cat" command did not run smoothly From bug 218174: --- What I was doing when the application crashed: Had a few tabs open, was in a tab running a pretty colored emerge, then clicked another tab and Konsole crashed. This backtrace may have more data than those posted by others I saw on the original bug page. Backtrace: --- #5 0x00007f2f4e1a60d7 in QChar (this=0x1321320, painter=...) at /usr/include/qt4/QtCore/qchar.h:81 #6 Konsole::TerminalDisplay::paintFilters (this=0x1321320, painter=...) at /var/tmp/portage/kde-base/konsole-4.3.4/work/konsole-4.3.4/konsole/src/TerminalDisplay.cpp:1321 #7 0x00007f2f4e1a78d1 in Konsole::TerminalDisplay::paintEvent (this=0x1321320, pe=<value optimized out>) at /var/tmp/portage/kde-base/konsole-4.3.4/work/konsole-4.3.4/konsole/src/TerminalDisplay.cpp:1212
*** Bug 216235 has been marked as a duplicate of this bug. ***
*** Bug 218174 has been marked as a duplicate of this bug. ***
*** Bug 218374 has been marked as a duplicate of this bug. ***
*** Bug 224412 has been marked as a duplicate of this bug. ***
From bug 224940: -- What I was doing when the application crashed: I use a tiling window manager (xmonad) and had three konsole windows with a number of tabs on the screen. I pressed a window manager key to rearrange the windows, and konsole crashed.
*** Bug 224940 has been marked as a duplicate of this bug. ***
I see that Comment #23 mentions irssi in konsole. I also had irssi in one of my konsoles when it crashed (the rest of my info is in Comment #39). I also had mutt in another konsole window. Both irssi and mutt were running in screen. My terminals are set up to support 256 colors. My konsole font was Deja Vu Sans Mono.
I see no code in Konsole that readjusts/clears the hotSpots on resize, causing access to invalid character positions in _image on line 1321. From how I understand the code, we need to add a call to processFilters() when we got a resizeEvent.
*** Bug 225614 has been marked as a duplicate of this bug. ***
From bug 225737: - What I was doing when the application crashed: Using KDE 4.3.2 on Gnu/Linux Debian Squeeze (Testing) with 2.6.32 Kernel I had a konsole crash during apt-get update action
*** Bug 225737 has been marked as a duplicate of this bug. ***
*** Bug 226214 has been marked as a duplicate of this bug. ***
Created attachment 40713 [details] New crash information added by DrKonqi I was running kdevelop 4 (PHP) with an "terminal (konsole)" as Debug Window, where I can see what kdevelop says when I do some things.. First I have resized the Window to very small size and after a ~ 4Mins I tried (then crash..) to resize the window to an bigger read able size, this resizing was very fast so I think.. and then the konsole crashed. I have compiz on and using KDE4.4 (PPA:KUBUNTU).
From bug 226645: -- What I was doing when the application crashed: I splitted konsole and had 3 tabs open, then I wanted to change tab in the lower buffer and konsole crashed
*** Bug 226645 has been marked as a duplicate of this bug. ***
#42, yes I think you are correct. The line that crashes is the 'while (QChar(_image[loc' around 1320 in TerminalDisplay.cpp. It took me a while to get it to crash somewhat reliably. You need a hotspot (link) with spaces on the end and then resize. I'll see what patch I can put together.
*** Bug 228156 has been marked as a duplicate of this bug. ***
Bug 228156 has a constraint as to in what circumstances this happens.
SVN commit 1095077 by hindenburg: Recreate hotspots on resize. CCBUG: 199161 M +1 -0 TerminalDisplay.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1095077
SVN commit 1095087 by hindenburg: Recreate hotspots on resize. BUG: 199161 M +1 -0 TerminalDisplay.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1095087
*** Bug 241411 has been marked as a duplicate of this bug. ***
*** Bug 235213 has been marked as a duplicate of this bug. ***
*** Bug 236478 has been marked as a duplicate of this bug. ***
*** Bug 231070 has been marked as a duplicate of this bug. ***