Bug 204075

Summary: Crash on KHTMLPart inside kontact. Possibly related to Qt cursor handling.
Product: [Applications] kontact Reporter: Raúl <rasasi78>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raúl 2009-08-16 20:42:08 UTC
Application that crashed: kontact
Version of the application: 4.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-toi3 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
I opened an url pointing to a picture from the akregator component of kontact., I went back and forth using kontact arrows in the toolbar. I could see the picture several times, but when I asked kontact to go back, forth or move the image using key arrows (can't remember which of the 3 I did), kontact crashed as detailed below.

I've see other bugs possibly due to the same problem, which could be in Qt. Those bugs are: https://bugs.kde.org/show_bug.cgi?id=199907 and https://bugs.kde.org/show_bug.cgi?id=196512

I'm on Debian sid (Linux 2.6.30), KDE 4.3 and Qt 4.5.2.

Regards,

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  QWidget::internalWinId (this=0x29c31e0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:234
#6  QWidget::effectiveWinId (this=0x29c31e0) at kernel/qwidget.cpp:2223
#7  0x00007f9837145891 in qt_x11_enforce_cursor (w=0x8504550, force=false) at kernel/qwidget_x11.cpp:306
#8  0x00007f9837145a6d in QWidgetPrivate::setCursor_sys (this=<value optimized out>) at kernel/qwidget_x11.cpp:1241
#9  0x00007f983710c091 in QWidget::setCursor (this=0x8504550, cursor=...) at kernel/qwidget.cpp:4623
#10 0x00007f9835c71051 in KHTMLView::init (this=0x3762b40) at ../../khtml/khtmlview.cpp:607
#11 0x00007f9835c79e45 in KHTMLView (this=0x3762b40, part=0x2940f90, parent=<value optimized out>) at ../../khtml/khtmlview.cpp:565
#12 0x00007f9835ca6ff2 in KHTMLPart (this=0x2940f90, parentWidget=0x607a960, parent=<value optimized out>, prof=KHTMLPart::DefaultGUI, __in_chrg=<value optimized out>, 
    __vtt_parm=<value optimized out>) at ../../khtml/khtml_part.cpp:235
#13 0x00007f980bdfe5d3 in KHTMLFactory::createPartObject (this=<value optimized out>, parentWidget=0x607a960, parent=0x607a960, className=<value optimized out>, args=<value optimized out>)
    at ../../khtml/khtml_factory.cpp:46
#14 0x00007f983812f20c in KPluginFactory::create (this=0x29bc8b0, iface=0x7f9836679c60 "KParts::ReadOnlyPart", parentWidget=0x607a960, parent=0x607a960, args=..., keyword=...)
    at ../../kdecore/util/kpluginfactory.cpp:171
#15 0x00007f981858624b in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x28b9060, mimetype=...) at /usr/include/kpluginfactory.h:491
#16 Akregator::BrowserFrame::Private::loadPartForMimetype (this=0x28b9060, mimetype=...) at ../../../akregator/src/browserframe_p.cpp:91
#17 0x00007f9818587706 in Akregator::BrowserFrame::Private::restoreHistoryEntry (this=0x28b9060, entry=...) at ../../../akregator/src/browserframe_p.cpp:152
#18 0x00007f981858349d in Akregator::BrowserFrame::slotHistoryBack (this=0x607a960) at ../../../akregator/src/browserframe.cpp:332
#19 0x00007f981858306d in Akregator::FrameManager::qt_metacall (this=0x23a1e80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb0f4b050) at ./framemanager.moc:152
#20 0x00007f9837c59602 in QMetaObject::activate (sender=0x24786a0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x464a730) at kernel/qobject.cpp:3112
#21 0x00007f98370b68d7 in QAction::triggered (this=0x29c31e0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#22 0x00007f98370b7d50 in QAction::activate (this=0x24786a0, event=<value optimized out>) at kernel/qaction.cpp:1160
#23 0x00007f98370ba80f in QAction::event (this=0x29c31e0, e=<value optimized out>) at kernel/qaction.cpp:1079
#24 0x00007f983850d613 in KAction::event (this=0x29c31e0, event=0x7fffb0f4b5e0) at ../../kdeui/actions/kaction.cpp:88
#25 0x00007f98370bc7ad in QApplicationPrivate::notify_helper (this=0xe79590, receiver=0x24786a0, e=0x7fffb0f4b5e0) at kernel/qapplication.cpp:4056
#26 0x00007f98370c480a in QApplication::notify (this=0x7fffb0f4ddb0, receiver=0x24786a0, e=0x7fffb0f4b5e0) at kernel/qapplication.cpp:4021
#27 0x00007f98385dfb2b in KApplication::notify (this=0x7fffb0f4ddb0, receiver=0x24786a0, event=0x7fffb0f4b5e0) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00007f9837c4449c in QCoreApplication::notifyInternal (this=0x7fffb0f4ddb0, receiver=0x24786a0, event=0x7fffb0f4b5e0) at kernel/qcoreapplication.cpp:610
#29 0x00007f98370f185d in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fffb0f4bae0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#30 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffb0f4bae0) at kernel/qshortcutmap.cpp:884
#31 0x00007f98370f35dc in QShortcutMap::tryShortcutEvent (this=0xe796a8, o=<value optimized out>, e=0x7fffb0f4bae0) at kernel/qshortcutmap.cpp:369
#32 0x00007f98370c57e9 in QApplication::notify (this=0x7fffb0f4ddb0, receiver=0x119a510, e=0x7fffb0f4bae0) at kernel/qapplication.cpp:3645
#33 0x00007f98385dfb2b in KApplication::notify (this=0x7fffb0f4ddb0, receiver=0x119a510, event=0x7fffb0f4bae0) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f9837c4449c in QCoreApplication::notifyInternal (this=0x7fffb0f4ddb0, receiver=0x119a510, event=0x7fffb0f4bae0) at kernel/qcoreapplication.cpp:610
#35 0x00007f9837150184 in QKeyMapper::sendKeyEvent (keyWidget=0x119a510, grab=<value optimized out>, type=QEvent::KeyPress, code=16777234, modifiers=..., text=..., autorepeat=false, count=1, 
    nativeScanCode=113, nativeVirtualKey=65361, nativeModifiers=8) at kernel/qkeymapper_x11.cpp:1675
#36 0x00007f9837152459 in QKeyMapperPrivate::translateKeyEvent (this=0xec93f0, keyWidget=0x119a510, event=0x7fffb0f4d8e0, grab=60) at kernel/qkeymapper_x11.cpp:1645
#37 0x00007f983712b44e in QApplication::x11ProcessEvent (this=0x7fffb0f4ddb0, event=0x7fffb0f4d8e0) at kernel/qapplication_x11.cpp:3443
#38 0x00007f9837153e3c in x11EventSourceDispatch (s=0xe6f7a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f9830fe77aa in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007f9830feadf8 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007f9830feafac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007f9837c6cb7f in QEventDispatcherGlib::processEvents (this=0xe3dda0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#43 0x00007f98371535ef in QGuiEventDispatcherGlib::processEvents (this=0x29c31e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f9837c42d62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f9837c43134 in QEventLoop::exec (this=0x7fffb0f4dc10, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f9837c453a4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#47 0x0000000000404751 in main (argc=1, argv=0x7fffb0f4e388) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2009-08-16 21:05:40 UTC

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