Bug 163188 - segfault when double-clicking in page
Summary: segfault when double-clicking in page
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-04 09:39 UTC by Marcus Better
Modified: 2008-07-11 11:45 UTC (History)
1 user (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 Marcus Better 2008-06-04 09:39:32 UTC
Version:           4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1) (using 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.25-melech

Konqueror crashed after I clicked or double-clicked in an HTML page, perhaps while moving the pointer a bit and thereby selecting a small region.

I'm not sure about the exact action since I use a touchpad and may have slid a bit.

Program: Konqueror (konqueror), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f760d6d4780 (LWP 5415)]
[New Thread 0x42316950 (LWP 16204)]
[KCrash handler]
#5  DOM::Selection::needsCaretRepaint (this=0x1a274d8)
    at /tmp/buildd/kde4libs-4.0.80/khtml/misc/shared.h:96
#6  0x00007f75fe865eb4 in KHTMLPart::selectionLayoutChanged (this=0x5b12d30)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtml_part.cpp:3652
#7  0x00007f75fe86c309 in KHTMLPart::notifySelectionChanged (
    this=0x7fff158083f0, closeTyping=248)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtml_part.cpp:3666
#8  0x00007f75fe86c54b in KHTMLPart::setCaret (this=0x5b12d30, 
    s=@0x7fff15808530, closeTyping=248)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtml_part.cpp:3541
#9  0x00007f75fe86c6cb in KHTMLPart::extendSelectionTo (this=0x5b12d30, 
    x=<value optimized out>, y=<value optimized out>, 
    innerNode=<value optimized out>)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtml_part.cpp:6418
#10 0x00007f75fe86c837 in KHTMLPart::handleMouseMoveEventSelection (
    this=0x5b12d30, event=0x7fff15808c00)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtml_part.cpp:6570
#11 0x00007f760b71ea8e in QObject::event (this=0x5b12d30, e=0x1a274f8)
    at kernel/qobject.cpp:1166
#12 0x00007f760ac504df in QApplicationPrivate::notify_helper (this=0x619530, 
    receiver=0x5b12d30, e=0x7fff15808c00) at kernel/qapplication.cpp:3772
#13 0x00007f760ac550b5 in QApplication::notify (this=0x7fff1580a740, 
    receiver=0x5b12d30, e=0x7fff15808c00) at kernel/qapplication.cpp:3739
#14 0x00007f760c087d2b in KApplication::notify (this=0x7fff1580a740, 
    receiver=0x5b12d30, event=0x7fff15808c00)
    at /tmp/buildd/kde4libs-4.0.80/kdeui/kernel/kapplication.cpp:311
#15 0x00007f760b70fbd9 in QCoreApplication::notifyInternal (
    this=0x7fff1580a740, receiver=0x5b12d30, event=0x7fff15808c00)
    at kernel/qcoreapplication.cpp:587
#16 0x00007f75fe859938 in KHTMLView::mouseMoveEvent (this=0x3b4eb40, 
    _mouse=0x7fff15809a50) at /usr/include/qt4/QtCore/qcoreapplication.h:215
#17 0x00007f760ac9e442 in QWidget::event (this=0x3b4eb40, 
    event=0x7fff15809a50) at kernel/qwidget.cpp:6912
#18 0x00007f760af9c6d6 in QFrame::event (this=0x3b4eb40, e=0x7fff15809a50)
    at widgets/qframe.cpp:657
#19 0x00007f75fe84ddf5 in KHTMLView::widgetEvent (this=0x3b4eb40, e=0x1a274f8)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtmlview.cpp:2295
#20 0x00007f75fe84e072 in KHTMLView::eventFilter (this=0x3b4eb40, 
    o=0x5098ff0, e=0x7fff15809a50)
    at /tmp/buildd/kde4libs-4.0.80/khtml/khtmlview.cpp:2159
#21 0x00007f760b70fede in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x5098ff0, event=0x7fff15809a50)
    at kernel/qcoreapplication.cpp:694
#22 0x00007f760ac504b0 in QApplicationPrivate::notify_helper (this=0x619530, 
    receiver=0x5098ff0, e=0x7fff15809a50) at kernel/qapplication.cpp:3768
#23 0x00007f760ac552b9 in QApplication::notify (this=0x7fff1580a740, 
    receiver=0x5098ff0, e=0x7fff15809a50) at kernel/qapplication.cpp:3501
#24 0x00007f760c087d2b in KApplication::notify (this=0x7fff1580a740, 
    receiver=0x5098ff0, event=0x7fff15809a50)
    at /tmp/buildd/kde4libs-4.0.80/kdeui/kernel/kapplication.cpp:311
#25 0x00007f760b70fbd9 in QCoreApplication::notifyInternal (
    this=0x7fff1580a740, receiver=0x5098ff0, event=0x7fff15809a50)
    at kernel/qcoreapplication.cpp:587
#26 0x00007f760ac523e5 in QApplicationPrivate::sendMouseEvent (
    receiver=0x5098ff0, event=0x7fff15809a50, 
    alienWidget=<value optimized out>, nativeWidget=0xb37ce0, 
    buttonDown=<value optimized out>, lastMouseReceiver=@0x7f760b5c11a0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#27 0x00007f760acb458c in QETWidget::translateMouseEvent (this=0xb37ce0, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4133
#28 0x00007f760acb34f2 in QApplication::x11ProcessEvent (this=0x7fff1580a740, 
    event=0x7fff1580a1c0) at kernel/qapplication_x11.cpp:3255
#29 0x00007f760acd93c3 in x11EventSourceDispatch (s=0x61cbf0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#30 0x00007f7607a9f0f2 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#31 0x00007f7607aa2396 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f7607aa282f in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#33 0x00007f760b738dff in QEventDispatcherGlib::processEvents (this=0x614a50, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#34 0x00007f760acd920f in QGuiEventDispatcherGlib::processEvents (
    this=0x7fff158083f0, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f760b70f055 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fff1580a490)
    at kernel/qeventloop.cpp:149
#36 0x00007f760b70f1ab in QEventLoop::exec (this=0x7fff1580a4d0, 
    flags=@0x7fff1580a4e0) at kernel/qeventloop.cpp:200
#37 0x00007f760b7111f9 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#38 0x00007f760d3c256a in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /tmp/buildd/kdebase-4.0.80/apps/konqueror/src/konqmain.cpp:236
#39 0x00007f760cfc91c4 in __libc_start_main () from /lib/libc.so.6
#40 0x0000000000400629 in _start ()
#0  0x00007f760d042241 in nanosleep () from /lib/libc.so.6
Comment 1 Frank Reininghaus 2008-07-10 20:51:24 UTC
Thanks for the bug report. I tried to reproduce this with SVN trunk rev. 830161, but I got no crash. Is this reproducible for you? Do you need a special HTML page to get a crash? If yes, please attach it or provide a link.
Comment 2 Marcus Better 2008-07-11 11:45:45 UTC
Hi,

I cannot reproduce it easily, but it seems to happen on some gesture that is easiest to trigger on a touchpad. But I don't think this has happened to me with 4.0.82 or newer. I'll mark it resolved for now.