Bug 197998 - crash when opening word document
Summary: crash when opening word document
Status: RESOLVED DUPLICATE of bug 185336
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 21:35 UTC by m.wege
Modified: 2009-06-30 08:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2009-06-26 21:35:22 UTC
Application that crashed: akregator
Version of the application: 1.4.50
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-020630rc6-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
The crash occured after opening the word-document in this site
http://www.mydealz.de/8979/klarmobil-agb-anderung-nichtnutzungsgebuhr-musterkundigung/

 -- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault
[KCrash Handler]
#6  KXMLGUIFactory::container (this=0x0, containerName=@0xbfbc4320, client=0x11879e90, useTagName=false) at /build/buildd/kde4libs-4.2.90/kdeui/xmlgui/kxmlguifactory.cpp:453
#7  0xa84ab20b in KWView::popupContextMenu (this=0x11879de0, globalPosition=@0xbfbc48a0, actions=@0xbfbc4384) at /build/buildd/koffice2-2.0.0/kword/part/KWView.cpp:1176
#8  0xa84a09a9 in KWCanvas::mousePressEvent (this=0x97b95c0, e=0xbfbc4888) at /build/buildd/koffice2-2.0.0/kword/part/KWCanvas.cpp:169
#9  0xb66249c6 in QWidget::event (this=0x97b95c0, event=0xbfbc4888) at kernel/qwidget.cpp:7517
#10 0xb65cdbcc in QApplicationPrivate::notify_helper (this=0x91dfa20, receiver=0x97b95c0, e=0xbfbc4888) at kernel/qapplication.cpp:4057
#11 0xb65d6851 in QApplication::notify (this=0xbfbc61d0, receiver=0x97b95c0, e=0xbfbc4888) at kernel/qapplication.cpp:3759
#12 0xb71f1e8d in KApplication::notify (this=0xbfbc61d0, receiver=0x97b95c0, event=0xbfbc4888) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#13 0xb61107ab in QCoreApplication::notifyInternal (this=0xbfbc61d0, receiver=0x97b95c0, event=0xbfbc4888) at kernel/qcoreapplication.cpp:610
#14 0xb65d58be in QApplicationPrivate::sendMouseEvent (receiver=0x97b95c0, event=0xbfbc4888, alienWidget=0x97b95c0, nativeWidget=0xd88acf0, buttonDown=0xb6e79aa0, lastMouseReceiver=@0xb6e79aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#15 0xb6645aee in QETWidget::translateMouseEvent (this=0xd88acf0, event=0xbfbc5f1c) at kernel/qapplication_x11.cpp:4448
#16 0xb6644ead in QApplication::x11ProcessEvent (this=0xbfbc61d0, event=0xbfbc5f1c) at kernel/qapplication_x11.cpp:3444
#17 0xb667006a in x11EventSourceDispatch (s=0x91e5a68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#18 0xb4e44b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb4e480eb in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb4e48268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0xb613c1d8 in QEventDispatcherGlib::processEvents (this=0x91dfa00, flags={i = -1078173480}) at kernel/qeventdispatcher_glib.cpp:324
#22 0xb666f765 in QGuiEventDispatcherGlib::processEvents (this=0x91dfa00, flags={i = -1078173432}) at kernel/qguieventdispatcher_glib.cpp:202
#23 0xb610edda in QEventLoop::processEvents (this=0xbfbc6180, flags={i = -1078173368}) at kernel/qeventloop.cpp:149
#24 0xb610f21a in QEventLoop::exec (this=0xbfbc6180, flags={i = -1078173304}) at kernel/qeventloop.cpp:200
#25 0xb61116c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#26 0xb65cda47 in QApplication::exec () at kernel/qapplication.cpp:3526
#27 0x0804f041 in main (argc=1, argv=0xb) at /build/buildd/kdepim-4.2.90/akregator/src/main.cpp:115

Reported using DrKonqi
Comment 1 Dario Andres 2009-06-26 22:12:29 UTC
This looks related to bug 185336. Thanks
Comment 2 Thomas Zander 2009-06-26 22:39:13 UTC
Good catch Dario!

We need to somehow make the kword kpart become the active part (so it gets a factory set by xmlgui) the moment it gets a right-mouse click.

I can at least change KWord to not crash when there is no factory.
Comment 3 Frank Osterfeld 2009-06-27 22:09:09 UTC

*** This bug has been marked as a duplicate of bug 185336 ***
Comment 4 Thomas Zander 2009-06-30 08:06:30 UTC
SVN commit 989360 by zander:

Don't crash in some cases when the user right clicks while we are embedded

CCBUG:197998

 M  +2 -0      KWView.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=989360