Bug 272356

Summary: Crash when issuing Quick Tile Window.
Product: [Applications] konsole Reporter: Martin Nilsson <ibbles>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Nilsson 2011-05-03 20:06:05 UTC
Application: konsole (2.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-31-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Was placing a Konsole window using keyboard shortcuts for Quick Tile Window when it crashed.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Konsole (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77d1aa0 (LWP 2267))]

Thread 2 (Thread 0x7a86b70 (LWP 2286)):
#0  0x005e6422 in __kernel_vsyscall ()
#1  0x008eeb86 in *__GI___poll (fds=0x984ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x064d74eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x064ca0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x064ca4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x02c2e60f in QEventDispatcherGlib::processEvents (this=0x8d7a640, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x02c01059 in QEventLoop::processEvents (this=0x7a86290, flags=) at kernel/qeventloop.cpp:149
#7  0x02c014aa in QEventLoop::exec (this=0x7a86290, flags=...) at kernel/qeventloop.cpp:201
#8  0x02afd5a8 in QThread::exec (this=0x8e480e0) at thread/qthread.cpp:487
#9  0x02be0c1b in QInotifyFileSystemWatcherEngine::run (this=0x8e480e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x02b0032e in QThreadPrivate::start (arg=0x8e480e0) at thread/qthread_unix.cpp:248
#11 0x004b496e in start_thread (arg=0x7a86b70) at pthread_create.c:300
#12 0x008fca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77d1aa0 (LWP 2267)):
[KCrash Handler]
#6  0x014c2987 in QX11PaintEngine::drawPixmap (this=0x9454d88, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1919
#7  0x013fb105 in QPaintEngine::drawImage (this=0x9454d88, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:624
#8  0x014c0b19 in QX11PaintEngine::drawImage (this=0x9454d88, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#9  0x01412688 in QPainterPrivate::draw_helper (this=0x9418598, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:484
#10 0x01417fe9 in QPainter::drawPath (this=0xbfbe27cc, path=...) at painting/qpainter.cpp:3356
#11 0x0141a15c in QPainter::drawRoundedRect (this=0xbfbe27cc, rect=..., xRadius=2, yRadius=2, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4136
#12 0x0206c9f5 in OxygenStyle::renderScrollBarHandle (this=0x8d7d1e8, p=0xbfbe27cc, r=..., pal=..., orientation=Qt::Vertical, hover=false, opacity=-1) at ../../../kstyles/oxygen/oxygen.cpp:4364
#13 0x0206da41 in OxygenStyle::renderScrollBarHandle (this=0x8d7d1e8, primitive=8, opt=0xbfbe1d54, r=..., pal=..., flags=..., p=0xbfbe27cc, widget=0x93d2d18, kOpt=0x0)
    at ../../../kstyles/oxygen/oxygen.h:293
#14 OxygenStyle::drawScrollBarPrimitive (this=0x8d7d1e8, primitive=8, opt=0xbfbe1d54, r=..., pal=..., flags=..., p=0xbfbe27cc, widget=0x93d2d18, kOpt=0x0) at ../../../kstyles/oxygen/oxygen.cpp:1597
#15 0x0205b7aa in OxygenStyle::drawKStylePrimitive (this=0x8d7d1e8, widgetType=KStyle::WT_ScrollBar, primitive=8, opt=0xbfbe1d54, r=..., palette=..., flags=..., p=0xbfbe27cc, widget=0x93d2d18, 
    kOpt=0x0) at ../../../kstyles/oxygen/oxygen.cpp:762
#16 0x00fa3ad6 in KStyle::drawControl (this=0x8d7d1e8, element=QStyle::CE_ScrollBarSlider, option=0xbfbe1d54, p=0xbfbe27cc, widget=0x93d2d18) at ../../kdeui/kernel/kstyle.cpp:2266
#17 0x02064ac5 in OxygenStyle::drawControl (this=0x8d7d1e8, element=QStyle::CE_PushButton, option=0xbfbe1d54, p=0xbfbe27cc, widget=0x93d2d18) at ../../../kstyles/oxygen/oxygen.cpp:641
#18 0x015f46cc in QCommonStyle::drawComplexControl (this=0x8d7d1e8, cc=QStyle::CC_ScrollBar, opt=0xbfbe2764, p=0xbfbe27cc, widget=0x93d2d18) at styles/qcommonstyle.cpp:3236
#19 0x00f9fdec in KStyle::drawComplexControl (this=0x8d7d1e8, cc=QStyle::CC_ScrollBar, opt=0xbfbe2764, p=0xbfbe27cc, w=0x93d2d18) at ../../kdeui/kernel/kstyle.cpp:3591
#20 0x0205c1e8 in OxygenStyle::drawComplexControl (this=0x8d7d1e8, control=QStyle::CC_ScrollBar, option=0xbfbe2764, painter=0xbfbe27cc, widget=0x93d2d18) at ../../../kstyles/oxygen/oxygen.cpp:303
#21 0x017550c8 in QScrollBar::paintEvent (this=0x93d2d18) at widgets/qscrollbar.cpp:547
#22 0x012fb6b6 in QWidget::event (this=0x93d2d18, event=0xbfbe2db4) at kernel/qwidget.cpp:8144
#23 0x016aaf54 in QAbstractSlider::event (this=0x93d2d18, e=0xbfbe2db4) at widgets/qabstractslider.cpp:956
#24 0x01755aea in QScrollBar::event (this=0x93d2d18, event=0xbfbe2db4) at widgets/qscrollbar.cpp:527
#25 0x0129d4dc in QApplicationPrivate::notify_helper (this=0x8d4f898, receiver=0x93d2d18, e=0xbfbe2db4) at kernel/qapplication.cpp:4300
#26 0x012a40f9 in QApplication::notify (this=0xbfbe4e54, receiver=0x93d2d18, e=0xbfbe2db4) at kernel/qapplication.cpp:4265
#27 0x00f9040a in KApplication::notify (this=0xbfbe4e54, receiver=0x93d2d18, event=0xbfbe2db4) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x02c02a3b in QCoreApplication::notifyInternal (this=0xbfbe4e54, receiver=0x93d2d18, event=0xbfbe2db4) at kernel/qcoreapplication.cpp:704
#29 0x013049d6 in QCoreApplication::sendSpontaneousEvent (this=0x93d7d08, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 QWidgetPrivate::drawWidget (this=0x93d7d08, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5339
#31 0x01305815 in QWidgetPrivate::paintSiblingsRecursive (this=0x93d7bd8, pdev=0x9357684, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5452
#32 0x0130564e in QWidgetPrivate::paintSiblingsRecursive (this=0x93d7bd8, pdev=0x9357684, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5439
#33 0x01304725 in QWidgetPrivate::drawWidget (this=0x93d7bd8, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5388
#34 0x01305815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9354c00, pdev=0x9357684, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5452
#35 0x01304725 in QWidgetPrivate::drawWidget (this=0x9354c00, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5388
#36 0x01305815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9356f70, pdev=0x9357684, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5452
#37 0x01304725 in QWidgetPrivate::drawWidget (this=0x9356f70, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5388
#38 0x01305815 in QWidgetPrivate::paintSiblingsRecursive (this=0x93668a0, pdev=0x9357684, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5452
#39 0x01304725 in QWidgetPrivate::drawWidget (this=0x93668a0, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5388
#40 0x01305815 in QWidgetPrivate::paintSiblingsRecursive (this=0x936b810, pdev=0x9357684, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5452
#41 0x01304725 in QWidgetPrivate::drawWidget (this=0x936b810, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5388
#42 0x01305815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9315e40, pdev=0x9357684, siblings=..., index=23, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x92fe1d0)
    at kernel/qwidget.cpp:5452
#43 0x01304725 in QWidgetPrivate::drawWidget (this=0x9315e40, pdev=0x9357684, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92fe1d0) at kernel/qwidget.cpp:5388
#44 0x014db890 in QWidgetBackingStore::sync (this=0x92fe1d0) at painting/qbackingstore.cpp:1291
#45 0x012f4b93 in QWidgetPrivate::syncBackingStore (this=0x9315e40) at kernel/qwidget.cpp:1672
#46 0x0132278e in QETWidget::translateConfigEvent (this=0x8dd6850, event=0xbfbe4abc) at kernel/qapplication_x11.cpp:5252
#47 0x0132dcd6 in QApplication::x11ProcessEvent (this=0xbfbe4e54, event=0xbfbe4abc) at kernel/qapplication_x11.cpp:3406
#48 0x0135d60a in x11EventSourceDispatch (s=0x8d52840, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x064c65e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x064ca2d8 in ?? () from /lib/libglib-2.0.so.0
#51 0x064ca4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x02c2e5d5 in QEventDispatcherGlib::processEvents (this=0x8d4f210, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#53 0x0135d135 in QGuiEventDispatcherGlib::processEvents (this=0x8d4f210, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x02c01059 in QEventLoop::processEvents (this=0xbfbe4db4, flags=) at kernel/qeventloop.cpp:149
#55 0x02c014aa in QEventLoop::exec (this=0xbfbe4db4, flags=...) at kernel/qeventloop.cpp:201
#56 0x02c0569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0x0129d577 in QApplication::exec () at kernel/qapplication.cpp:3579
#58 0x0813528b in kdemain () from /usr/lib/libkdeinit4_konsole.so
#59 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x8d0b859 "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x8d0b86a "meno;1304444644;473396;1710_TIME596204") at ../../kinit/kinit.cpp:717
#60 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#61 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#62 0x0804fe4f in main (argc=4, argv=0xbfbe5844, envp=0xbfbe5858) at ../../kinit/kinit.cpp:1845

This bug may be a duplicate of or related to bug 271369.

Possible duplicates by query: bug 271369, bug 247370.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-05-14 23:26:23 UTC
Fixed in Qt 4.7.0

*** This bug has been marked as a duplicate of bug 230490 ***