Bug 273710

Summary: Kontact Crash
Product: [Plasma] Oxygen Reporter: Georg Wittenburg <georg.wittenburg>
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Georg Wittenburg 2011-05-20 11:31:15 UTC
Application: kontact (4.4.10)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Kontact (KMail view) was running as a inactive window without any activity, i.e., no mail was being fetched in the background. The active window of Firefox was partly overlapping the Kontact window. Kontact crashed when I clicked on the inactive Kontakt window to transfer the focus from Firefox to Kontact. It's hard to reproduce but happened more than once.

Since this happens only on a new laptop, desktops effects were disabled due to minimize problems related to driver instability. Related output from lspci:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 040a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 43
        Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 70b0 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0a00c  Data: 4181
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a4] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: i915
        Kernel modules: i915

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77e5730 (LWP 4592))]

Thread 3 (Thread 0xb27ffb70 (LWP 4594)):
#0  0x00a57416 in __kernel_vsyscall ()
#1  0x008c8f76 in __poll (fds=0x861ab58, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x026ab84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0269b1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0269b92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03b71304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x026c42df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x04b7de99 in start_thread (arg=0xb27ffb70) at pthread_create.c:304
#8  0x008d773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb112eb70 (LWP 4595)):
#0  0x02699f51 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0269ae63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0269b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x06182577 in QEventDispatcherGlib::processEvents (this=0xb2801760, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x06154289 in QEventLoop::processEvents (this=0xb112e270, flags=...) at kernel/qeventloop.cpp:149
#5  0x06154522 in QEventLoop::exec (this=0xb112e270, flags=...) at kernel/qeventloop.cpp:201
#6  0x0605e2a0 in QThread::exec (this=0x8cb2078) at thread/qthread.cpp:492
#7  0x06135fdb in QInotifyFileSystemWatcherEngine::run (this=0x8cb2078) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x06060da2 in QThreadPrivate::start (arg=0x8cb2078) at thread/qthread_unix.cpp:320
#9  0x04b7de99 in start_thread (arg=0xb112eb70) at pthread_create.c:304
#10 0x008d773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77e5730 (LWP 4592)):
[KCrash Handler]
#7  pt2 (rect=..., startAngle=180, sweepLength=1, curves=0xbf9edf48, point_count=0xbf9ee07c) at ../../include/QtGui/private/../../../src/gui/painting/qbezier_p.h:95
#8  qt_curves_for_arc (rect=..., startAngle=180, sweepLength=1, curves=0xbf9edf48, point_count=0xbf9ee07c) at painting/qstroker.cpp:987
#9  0x010ba2c2 in QPainterPath::arcTo (this=0xbf9ee25c, rect=..., startAngle=180, sweepLength=-90) at painting/qpainterpath.cpp:865
#10 0x010ba9e2 in arcTo (this=0xbf9ee25c, rect=..., xRadius=<value optimized out>, yRadius=<value optimized out>, mode=Qt::AbsoluteSize) at ../../include/QtGui/../../src/gui/painting/qpainterpath.h:310
#11 QPainterPath::addRoundedRect (this=0xbf9ee25c, rect=..., xRadius=<value optimized out>, yRadius=<value optimized out>, mode=Qt::AbsoluteSize) at painting/qpainterpath.cpp:3044
#12 0x010a898d in QPainter::drawRoundedRect (this=0xbf9ef13c, rect=..., xRadius=2, yRadius=2, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4162
#13 0x0345da25 in Oxygen::Style::renderScrollBarHandle (this=0x81a2170, painter=0xbf9ef13c, r=..., palette=..., orientation=@0xbf9ee76c, hover=@0xbf9ee77f, opacity=@0xbf9ee748) at ../../../kstyles/oxygen/oxygenstyle.cpp:9258
#14 0x0345e66a in renderScrollBarHandle (this=0x81a2170, option=0xbf9ee8a4, painter=0xbf9ef13c, widget=0x8a8d9f8) at ../../../kstyles/oxygen/oxygenstyle.h:693
#15 Oxygen::Style::drawScrollBarSliderControl (this=0x81a2170, option=0xbf9ee8a4, painter=0xbf9ef13c, widget=0x8a8d9f8) at ../../../kstyles/oxygen/oxygenstyle.cpp:5089
#16 0x0343c842 in Oxygen::Style::drawControl (this=0x81a2170, element=QStyle::CE_ScrollBarSlider, option=0xbf9ee8a4, painter=0xbf9ef13c, widget=0x8a8d9f8) at ../../../kstyles/oxygen/oxygenstyle.cpp:1080
#17 0x0128acaf in QCommonStyle::drawComplexControl (this=0x81a2170, cc=QStyle::CC_ScrollBar, opt=0xbf9ef0d4, p=0xbf9ef13c, widget=0x8a8d9f8) at styles/qcommonstyle.cpp:3238
#18 0x0343c5fe in Oxygen::Style::drawComplexControl (this=0x81a2170, element=QStyle::CC_ScrollBar, option=0xbf9ef0d4, painter=0xbf9ef13c, widget=0x8a8d9f8) at ../../../kstyles/oxygen/oxygenstyle.cpp:1110
#19 0x013eabef in QScrollBar::paintEvent (this=0x8a8d9f8) at widgets/qscrollbar.cpp:566
#20 0x00fa118e in QWidget::event (this=0x8a8d9f8, event=0xbf9ef734) at kernel/qwidget.cpp:8405
#21 0x0134dcc4 in QAbstractSlider::event (this=0x8a8d9f8, e=0xbf9ef734) at widgets/qabstractslider.cpp:942
#22 0x013eaac7 in QScrollBar::event (this=0x8a8d9f8, event=0xbf9ef734) at widgets/qscrollbar.cpp:546
#23 0x00f48d24 in QApplicationPrivate::notify_helper (this=0x81718b8, receiver=0x8a8d9f8, e=0xbf9ef734) at kernel/qapplication.cpp:4462
#24 0x00f4d97b in QApplication::notify (this=0xbf9f2984, receiver=0x8a8d9f8, e=0xbf9ef734) at kernel/qapplication.cpp:4427
#25 0x0063edba in KApplication::notify (this=0xbf9f2984, receiver=0x8a8d9f8, event=0xbf9ef734) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x061550bb in QCoreApplication::notifyInternal (this=0xbf9f2984, receiver=0x8a8d9f8, event=0xbf9ef734) at kernel/qcoreapplication.cpp:731
#27 0x00f9df0c in sendSpontaneousEvent (this=0x8a8da10, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (this=0x8a8da10, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5492
#29 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8a8d8c8, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#30 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8a8d8c8, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#31 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8ae0490, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#32 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8ae0490, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#33 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8b02640, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#34 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8b02640, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#35 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8ae2d20, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#36 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8ae2d20, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#37 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8a880c8, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#38 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8a880c8, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#39 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x87075b0, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#40 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x87075b0, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#41 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8bf84d0, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#42 0x00f9ea42 in QWidgetPrivate::paintSiblingsRecursive (this=0x8bf84d0, pdev=0x8363ce4, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5686
#43 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8bf84d0, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#44 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8addea8, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#45 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8addea8, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#46 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8bdff80, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#47 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8bdff80, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#48 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x81741c8, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#49 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x81741c8, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#50 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8170d80, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#51 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8170d80, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#52 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x821efc0, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#53 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x821efc0, pdev=0x8363ce4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#54 0x00f9eb7c in QWidgetPrivate::paintSiblingsRecursive (this=0x8171c70, pdev=0x8363ce4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5699
#55 0x00f9dc80 in QWidgetPrivate::drawWidget (this=0x8171c70, pdev=0x8363ce4, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8337608) at kernel/qwidget.cpp:5545
#56 0x01179908 in QWidgetBackingStore::sync (this=0x8337608) at painting/qbackingstore.cpp:1333
#57 0x00f93843 in QWidgetPrivate::syncBackingStore (this=0x8171c70) at kernel/qwidget.cpp:1842
#58 0x00fa17e5 in QWidget::event (this=0x8225788, event=0x94ce168) at kernel/qwidget.cpp:8552
#59 0x013afa97 in QMainWindow::event (this=0x8225788, event=0x94ce168) at widgets/qmainwindow.cpp:1480
#60 0x00719d3c in KMainWindow::event (this=0x8225788, ev=0x94ce168) at ../../kdeui/widgets/kmainwindow.cpp:1100
#61 0x0075a5df in KXmlGuiWindow::event (this=0x8225788, ev=0x94ce168) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#62 0x00f48d24 in QApplicationPrivate::notify_helper (this=0x81718b8, receiver=0x8225788, e=0x94ce168) at kernel/qapplication.cpp:4462
#63 0x00f4d97b in QApplication::notify (this=0xbf9f2984, receiver=0x8225788, e=0x94ce168) at kernel/qapplication.cpp:4427
#64 0x0063edba in KApplication::notify (this=0xbf9f2984, receiver=0x8225788, event=0x94ce168) at ../../kdeui/kernel/kapplication.cpp:311
#65 0x061550bb in QCoreApplication::notifyInternal (this=0xbf9f2984, receiver=0x8225788, event=0x94ce168) at kernel/qcoreapplication.cpp:731
#66 0x06158c79 in sendEvent (receiver=0x0, event_type=0, data=0x8130f70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8130f70) at kernel/qcoreapplication.cpp:1372
#68 0x06158e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#69 0x061823c4 in sendPostedEvents (s=0x8176980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#70 postEventSourceDispatch (s=0x8176980) at kernel/qeventdispatcher_glib.cpp:277
#71 0x0269aaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0x0269b270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x0269b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x0618253c in QEventDispatcherGlib::processEvents (this=0x8130ac8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#75 0x00ffc775 in QGuiEventDispatcherGlib::processEvents (this=0x8130ac8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x06154289 in QEventLoop::processEvents (this=0xbf9f28e4, flags=...) at kernel/qeventloop.cpp:149
#77 0x06154522 in QEventLoop::exec (this=0xbf9f28e4, flags=...) at kernel/qeventloop.cpp:201
#78 0x06158ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#79 0x00f468e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#80 0x0804b4cf in main (argc=) at ../../../kontact/src/main.cpp:226

Reported using DrKonqi
Comment 1 Georg Wittenburg 2011-05-23 15:57:32 UTC
Starting with a fresh ~/.kde/ might have solved this issue. Closing for now; will re-open if the bug persists. Thanks.