Bug 191521 - Konqueror crashed when having a Kate-KPart embedded in a page and using the search bar on it I clicked outside the part, in the web page itself
Summary: Konqueror crashed when having a Kate-KPart embedded in a page and using the s...
Status: RESOLVED DUPLICATE of bug 190257
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 22:18 UTC by Dario Andres
Modified: 2009-05-03 22:23 UTC (History)
0 users

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 Dario Andres 2009-05-03 22:18:05 UTC
Title: Konqueror crashed when having a Kate-KPart embedded in a page and using the search bar on it I clicked outside the part, in the web page itself

What I was doing when the application crashed:
Qt: 4.5.1 (qt-copy  958974)
kdelibs svn rev. 960693 / kdebase svn rev. 960693
on ArchLinux i686 - Kernel 2.6.29.1

I was trying to reproduce bug https://bugs.kde.org/show_bug.cgi?id=191517.
So I loaded the "www.Linux-usb.org" page on Konqueror and then I clicked in the "ID List" link. It prompted to open a text/plain file and I Opened it.
The main frame loaded the Kate kpart showing that file
(Focus was on the main page, not in the KatePart), I used "Search in this frame" but the searchbar didn't found anything inside the file. (I guess that is bug 191517).
Then I clicked inside the KatePart, and I noticed a longer Edit menu (of course, as it now has the KatePart Edit menu items), I clicked Find..., the searchbar now appeared inside the KatePart and I could do some searches.
Later I clicked outside the KatePart (the left frame) and Konqueror crashed.


 -- Application and System information:
Application that crashed: konqueror
Version of the application: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
KDE Version: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH i686
Distribution: "(none)"

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[KCrash Handler]
#6  0xb6a6a676 in QAction::d_func (this=0x221c573) at ../../include/QtGui/../../src/gui/kernel/qaction.h:67
#7  0xb6a67993 in QAction::setEnabled (this=0x221c573, b=false) at kernel/qaction.cpp:1009
#8  0xb3f8113f in KHTMLFindBar::setHasSelection (this=0x9be0178, hasSelection=false) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/find/khtmlfindbar.cpp:145
#9  0xb3f7d4ee in KHTMLFind::slotSelectionChanged (this=0x924b428) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/find/khtmlfind.cpp:628
#10 0xb3ef3f3b in KHTMLFind::qt_metacall (this=0x924b428, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfa795c8) at /home/kde-devel/kde/build/KDE/kdelibs/khtml/moc_khtmlfind_p.cpp:86
#11 0xb73feb3b in QMetaObject::activate (sender=0x94ca6e0, from_signal_index=16, to_signal_index=16, argv=0x0) at kernel/qobject.cpp:3117
#12 0xb73fff07 in QMetaObject::activate (sender=0x94ca6e0, m=0xb441a9e8, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3194
#13 0xb3f11f87 in KHTMLPart::selectionChanged (this=0x94ca6e0) at /home/kde-devel/kde/build/KDE/kdelibs/khtml/khtml_part.moc:413
#14 0xb3f16a7b in KHTMLPart::emitSelectionChanged (this=0x94ca6e0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:5513
#15 0xb3f16dcf in KHTMLPart::notifySelectionChanged (this=0x94ca6e0, closeTyping=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:3402
#16 0xb3f16ee9 in KHTMLPart::setCaret (this=0x94ca6e0, s=@0xbfa7975c, closeTyping=115) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:3268
#17 0xb3f22c2a in KHTMLPart::handleMousePressEventSingleClick (this=0x94ca6e0, event=0xbfa79dcc) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:6088
#18 0xb3f2955b in KHTMLPart::khtmlMousePressEvent (this=0x94ca6e0, event=0xbfa79dcc) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:6127
#19 0xb3f12c1f in KHTMLPart::customEvent (this=0x94ca6e0, event=0xbfa79dcc) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:5890
#20 0xb73fccc8 in QObject::event (this=0x94ca6e0, e=0xbfa79dcc) at kernel/qobject.cpp:1149
#21 0xb6a6e1d5 in QApplicationPrivate::notify_helper (this=0x8f50680, receiver=0x94ca6e0, e=0xbfa79dcc) at kernel/qapplication.cpp:4057
#22 0xb6a6e589 in QApplication::notify (this=0xbfa7c2e8, receiver=0x94ca6e0, e=0xbfa79dcc) at kernel/qapplication.cpp:3604
#23 0xb795394d in KApplication::notify (this=0xbfa7c2e8, receiver=0x94ca6e0, event=0xbfa79dcc) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#24 0xb73e86cb in QCoreApplication::notifyInternal (this=0xbfa7c2e8, receiver=0x94ca6e0, event=0xbfa79dcc) at kernel/qcoreapplication.cpp:606
#25 0xb3f06317 in KHTMLView::mousePressEvent (this=0x9308668, _mouse=0xbfa7a884) at /home/kde-devel/kde/src/qt-copy/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 0xb6acf166 in QWidget::event (this=0x9308668, event=0xbfa7a884) at kernel/qwidget.cpp:7517
#27 0xb6ee1d14 in QFrame::event (this=0x9308668, e=0xbfa7a884) at widgets/qframe.cpp:559
#28 0xb3f00d2f in KHTMLView::widgetEvent (this=0x9308668, e=0xbfa7a884) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:2319
#29 0xb3f00f6d in KHTMLView::eventFilter (this=0x9308668, o=0x92f6050, e=0xbfa7a884) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:2183
#30 0xb73e6a90 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f50680, receiver=0x92f6050, event=0xbfa7a884) at kernel/qcoreapplication.cpp:726
#31 0xb6a6e1b2 in QApplicationPrivate::notify_helper (this=0x8f50680, receiver=0x92f6050, e=0xbfa7a884) at kernel/qapplication.cpp:4053
#32 0xb6a6ef58 in QApplication::notify (this=0xbfa7c2e8, receiver=0x92f6050, e=0xbfa7a884) at kernel/qapplication.cpp:3759
#33 0xb795394d in KApplication::notify (this=0xbfa7c2e8, receiver=0x92f6050, event=0xbfa7a884) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#34 0xb73e86cb in QCoreApplication::notifyInternal (this=0xbfa7c2e8, receiver=0x92f6050, event=0xbfa7a884) at kernel/qcoreapplication.cpp:606
#35 0xb6a79e97 in QCoreApplication::sendSpontaneousEvent (receiver=0x92f6050, event=0xbfa7a884) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#36 0xb6a72f42 in QApplicationPrivate::sendMouseEvent (receiver=0x92f6050, event=0xbfa7a884, alienWidget=0x92f6050, nativeWidget=0x9001db8, buttonDown=0xb725b2a0, lastMouseReceiver=@0xb725b2a4)
    at kernel/qapplication.cpp:2925
#37 0xb6af0472 in QETWidget::translateMouseEvent (this=0x9001db8, event=0xbfa7be40) at kernel/qapplication_x11.cpp:4448
#38 0xb6af1593 in QApplication::x11ProcessEvent (this=0xbfa7c2e8, event=0xbfa7be40) at kernel/qapplication_x11.cpp:3444
#39 0xb6b1c5bd in x11EventSourceDispatch (s=0x8f533b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0xb6343718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb6346c7b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#42 0xb6346df8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb741741e in QEventDispatcherGlib::processEvents (this=0x8f50660, flags={i = -1079525368}) at kernel/qeventdispatcher_glib.cpp:324
#44 0xb6b1bdd8 in QGuiEventDispatcherGlib::processEvents (this=0x8f50660, flags={i = -1079525320}) at kernel/qguieventdispatcher_glib.cpp:202
#45 0xb73e56b0 in QEventLoop::processEvents (this=0xbfa7c0c0, flags={i = -1079525248}) at kernel/qeventloop.cpp:149
#46 0xb73e590a in QEventLoop::exec (this=0xbfa7c0c0, flags={i = -1079525176}) at kernel/qeventloop.cpp:196
#47 0xb73e8ea3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#48 0xb6a6deee in QApplication::exec () at kernel/qapplication.cpp:3526
#49 0xb80477bf in kdemain (argc=2, argv=0xbfa7c664) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257
#50 0x08048752 in main (argc=) at /home/kde-devel/kde/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3
Comment 1 Dario Andres 2009-05-03 22:23:51 UTC
I can reproduce at will. And I guess this is the same as bug 190257

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