Bug 207113

Summary: Konqueror crash with selected text on nytimes.com website (maybe lookup script)
Product: [Applications] konqueror Reporter: Vivek <vivek.ap>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: amynbe, andresbajotierra
Priority: NOR    
Version: 4.3.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vivek 2009-09-11 21:20:33 UTC
Application that crashed: konqueror
Version of the application: 4.3.1 (KDE 4.3.1)
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Selected text, scrolled downward on mousepad, accidentally clicked elsewhere on page.

The nytimes.com website has a script that suggests "looking up" highlighted sections of text or highlighted words.  This may have contributed to the crash, although I wasn't able to replicate the crash by selecting text and clicking on the lookup button.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0xb225270c in khtml::RenderText::caretPos (this=0xa4d23d8, offset=0, flags=<value optimized out>, _x=@0xcd09bb0, _y=@0xcd09bb4, width=@0xbfe12458, height=@0xcd09bb8)
    at /build/buildd/kde4libs-4.3.1/khtml/rendering/render_text.cpp:1002
#7  0xb21b4f8e in DOM::Selection::layoutCaret (this=0xcd09b88) at /build/buildd/kde4libs-4.3.1/khtml/xml/dom_selection.cpp:475
#8  0xb21b5030 in DOM::Selection::getRepaintRect (this=0xcd09b88) at /build/buildd/kde4libs-4.3.1/khtml/xml/dom_selection.cpp:484
#9  0xb21b56df in DOM::Selection::needsCaretRepaint (this=0xcd09b88) at /build/buildd/kde4libs-4.3.1/khtml/xml/dom_selection.cpp:508
#10 0xb20f539d in KHTMLPart::selectionLayoutChanged (this=0x8bb2888) at /build/buildd/kde4libs-4.3.1/khtml/khtml_part.cpp:3401
#11 0xb20f93f2 in KHTMLPart::notifySelectionChanged (this=0x8bb2888, closeTyping=true) at /build/buildd/kde4libs-4.3.1/khtml/khtml_part.cpp:3415
#12 0xb20f9529 in KHTMLPart::setCaret (this=0x8bb2888, s=@0xbfe1260c, closeTyping=false) at /build/buildd/kde4libs-4.3.1/khtml/khtml_part.cpp:3289
#13 0xb2103f6a in KHTMLPart::handleMousePressEventSingleClick (this=0x8bb2888, event=0xbfe12b5c) at /build/buildd/kde4libs-4.3.1/khtml/khtml_part.cpp:6126
#14 0xb210956b in KHTMLPart::khtmlMousePressEvent (this=0x8bb2888, event=0xbfe12b5c) at /build/buildd/kde4libs-4.3.1/khtml/khtml_part.cpp:6165
#15 0xb20f415f in KHTMLPart::customEvent (this=0x8bb2888, event=0xbfe12b5c) at /build/buildd/kde4libs-4.3.1/khtml/khtml_part.cpp:5928
#16 0xb7df540f in QObject::event (this=0x8bb2888, e=0xbfe12b5c) at kernel/qobject.cpp:1142
#17 0xb68a1d3c in QApplicationPrivate::notify_helper (this=0x86cb5a0, receiver=0x8bb2888, e=0xbfe12b5c) at kernel/qapplication.cpp:4056
#18 0xb68aa03e in QApplication::notify (this=0xbfe14f50, receiver=0x8bb2888, e=0xbfe12b5c) at kernel/qapplication.cpp:3603
#19 0xb73b285d in KApplication::notify (this=0xbfe14f50, receiver=0x8bb2888, event=0xbfe12b5c) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#20 0xb7de4bcb in QCoreApplication::notifyInternal (this=0xbfe14f50, receiver=0x8bb2888, event=0xbfe12b5c) at kernel/qcoreapplication.cpp:610
#21 0xb20e7897 in KHTMLView::mousePressEvent (this=0xd4d8938, _mouse=0xbfe13418) at /usr/include/qt4/QtCore/qcoreapplication.h:213
#22 0xb68f8a76 in QWidget::event (this=0xd4d8938, event=0xbfe13418) at kernel/qwidget.cpp:7545
#23 0xb6ca9a53 in QFrame::event (this=0xd4d8938, e=0xbfe13418) at widgets/qframe.cpp:559
#24 0xb20e223f in KHTMLView::widgetEvent (this=0xd4d8938, e=0x0) at /build/buildd/kde4libs-4.3.1/khtml/khtmlview.cpp:2325
#25 0xb20e24ed in KHTMLView::eventFilter (this=0xd4d8938, o=0xc3411c8, e=0xbfe13418) at /build/buildd/kde4libs-4.3.1/khtml/khtmlview.cpp:2189
#26 0xb7de3dea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x86cb5a0, receiver=0xc3411c8, event=0xbfe13418) at kernel/qcoreapplication.cpp:726
#27 0xb68a1d1a in QApplicationPrivate::notify_helper (this=0x86cb5a0, receiver=0xc3411c8, e=0xbfe13418) at kernel/qapplication.cpp:4052
#28 0xb68aa9b1 in QApplication::notify (this=0xbfe14f50, receiver=0xc3411c8, e=0xbfe13418) at kernel/qapplication.cpp:3758
#29 0xb73b285d in KApplication::notify (this=0xbfe14f50, receiver=0xc3411c8, event=0xbfe13418) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#30 0xb7de4bcb in QCoreApplication::notifyInternal (this=0xbfe14f50, receiver=0xc3411c8, event=0xbfe13418) at kernel/qcoreapplication.cpp:610
#31 0xb68a9a1e in QApplicationPrivate::sendMouseEvent (receiver=0xc3411c8, event=0xbfe13418, alienWidget=0x0, nativeWidget=0xc3411c8, buttonDown=0xb7123aa0, lastMouseReceiver=@0xb7123aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#32 0xb6919cce in QETWidget::translateMouseEvent (this=0xc3411c8, event=0xbfe14aac) at kernel/qapplication_x11.cpp:4409
#33 0xb6919085 in QApplication::x11ProcessEvent (this=0xbfe14f50, event=0xbfe14aac) at kernel/qapplication_x11.cpp:3428
#34 0xb694437a in x11EventSourceDispatch (s=0x86ce600, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0xb6454b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb64580eb in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb6458268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb7e102f8 in QEventDispatcherGlib::processEvents (this=0x865ad40, flags={i = -1075753880}) at kernel/qeventdispatcher_glib.cpp:327
#39 0xb6943a75 in QGuiEventDispatcherGlib::processEvents (this=0x865ad40, flags={i = -1075753832}) at kernel/qguieventdispatcher_glib.cpp:202
#40 0xb7de31fa in QEventLoop::processEvents (this=0xbfe14d10, flags={i = -1075753768}) at kernel/qeventloop.cpp:149
#41 0xb7de3642 in QEventLoop::exec (this=0xbfe14d10, flags={i = -1075753704}) at kernel/qeventloop.cpp:201
#42 0xb7de5ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#43 0xb68a1bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#44 0xb49bb8a8 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#45 0x0804e27d in launch (argc=2, _name=0x86a7624 "/usr/bin/konqueror", args=0x86a763f "", cwd=0x0, envc=0, envs=0x86a7644 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x86a7648 "vtosh;1252691758;890000;3240_TIME12614553") at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:677
#46 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1169
#47 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1362
#48 0x0804fbca in main (argc=2, argv=0xbfe15944, envp=0xbfe15950) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 203846

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-16 05:11:49 UTC
Indeed, this could be related to bug 203846. Thanks
Comment 2 Nicolas L. 2010-08-14 00:29:45 UTC
*** Bug 222964 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2012-08-20 08:07:40 UTC

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