Bug 119211 - [test case] crash when selecting line with <q>tag
Summary: [test case] crash when selecting line with <q>tag
Status: RESOLVED DUPLICATE of bug 95319
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-30 01:47 UTC by Reiner Herrmann
Modified: 2006-10-24 16:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (66 bytes, text/html)
2006-10-24 14:11 UTC, Allan Sandfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reiner Herrmann 2005-12-30 01:47:14 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

If you click on a line which contains a <q></q> tag three times quickly (mark the whole line), konqueror crashes.

Example:
<html>
<head>
</head>
<body>

<q>TEST</q>

</body>
</html>


Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[...]
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231616320 (LWP 8581)]
(no debugging symbols found)
[...]
(no debugging symbols found)
[KCrash handler]
#4  0xb62467ec in KHTMLWalletQueue::~KHTMLWalletQueue ()
   from /usr/lib/libkhtml.so.4
#5  0xb62076d9 in KHTMLPart::khtmlMouseDoubleClickEvent ()
   from /usr/lib/libkhtml.so.4
#6  0xb61e622d in KHTMLPart::customEvent () from /usr/lib/libkhtml.so.4
#7  0xb72eacbb in QObject::event () from /usr/lib/libqt-mt.so.3
#8  0xb7283698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#9  0xb72838b6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#10 0xb794babc in KApplication::notify () from /usr/lib/libkdecore.so.4
#11 0xb61f6522 in KHTMLView::viewportMouseDoubleClickEvent ()
   from /usr/lib/libkhtml.so.4
#12 0xb61faced in KHTMLView::viewportMousePressEvent ()
   from /usr/lib/libkhtml.so.4
#13 0xb7427187 in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#14 0xb61ef822 in KHTMLView::eventFilter () from /usr/lib/libkhtml.so.4
#15 0xb72eab52 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#16 0xb72eabdb in QObject::event () from /usr/lib/libqt-mt.so.3
#17 0xb7328dcd in QWidget::event () from /usr/lib/libqt-mt.so.3
#18 0xb7283698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#19 0xb7283c6b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#20 0xb794babc in KApplication::notify () from /usr/lib/libkdecore.so.4
#21 0xb7213653 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#22 0xb720eae4 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#23 0xb720cdbe in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#24 0xb72268c0 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#25 0xb729bda2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#26 0xb729bccb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#27 0xb7282225 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#28 0xb685746c in kdemain () from /usr/lib/libkdeinit_konqueror.so
#29 0xb7fb1530 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#30 0x0804df98 in ?? ()
Comment 1 Maksim Orlovich 2005-12-30 02:30:10 UTC
#0  0xb61b4407 in DOM::NodeImpl::renderer (this=0x0) at /home/maksim/kde3/kdelibs/khtml/xml/dom_nodeimpl.h:315
#1  0xb61c3cff in KHTMLPart::khtmlMouseDoubleClickEvent (this=0x8363368, event=0xbfea6458)
    at /home/maksim/kde3/kdelibs/khtml/khtml_part.cpp:6151
#2  0xb61c0aad in KHTMLPart::customEvent (this=0x8363368, event=0xbfea6458)
    at /home/maksim/kde3/kdelibs/khtml/khtml_part.cpp:5923
#3  0xb70d228d in QObject::event () at tools/qstring.h:270
#4  0xb7091198 in QApplication::internalNotify () at tools/qshared.h:50
#5  0xb70916e0 in QApplication::notify () at tools/qshared.h:50
#6  0xb75bb4bb in KApplication::notify (this=0xbfea71dc, receiver=0x8363368, event=0xbfea6458)
    at /home/maksim/kde3/kdelibs/kdecore/kapplication.cpp:550
#7  0xb70485e4 in QApplication::sendEvent (receiver=0x8363368, event=0xbfea6458) at kernel/qapplication.h:491
#8  0xb61a303e in KHTMLView::viewportMouseDoubleClickEvent (this=0x8369720, _mouse=0xbfea6d88)
    at /home/maksim/kde3/kdelibs/khtml/khtmlview.cpp:1026
#9  0xb61a32d5 in KHTMLView::viewportMousePressEvent (this=0x8369720, _mouse=0xbfea6d88)
    at /home/maksim/kde3/kdelibs/khtml/khtmlview.cpp:878
Comment 2 Frank Osterfeld 2006-03-19 11:48:33 UTC
Most of the time I get Maksim's bt, but here's an additional one I got once:

#6  0xb6041026 in QMetaObject::slotOffset (this=0x0) at qmetaobject.h:257
#7  0xb6095393 in DOM::DocumentImpl::createHTMLElement (this=0x83d8880, 
    name=@0x0) at dom_docimpl.cpp:799
#8  0xb60509fa in KHTMLPart::findTextNext (this=0x83cafa0, str=@0xbfadf56c, 
    forward=false, caseSensitive=false, isRegExp=false) at khtml_part.cpp:2834
#9  0xb604d68d in KHTMLPart::referrer (this=0x0) at khtml_part.cpp:5779
#10 0xb716dbc7 in QObject::event () from /usr/share/qt3/lib/libqt-mt.so.3
#11 0xb7107f80 in QApplication::internalNotify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#12 0xb7108172 in QApplication::notify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#13 0xb77e7292 in KApplication::notify (this=0xbfae0548, receiver=0x83cafa0, 
    event=0xbfadf56c) at kapplication.cpp:550
#14 0xb7fb0b9c in QApplication::sendEvent (receiver=0x83cafa0, 
    event=0xbfadf56c) at qapplication.h:491
#15 0xb602f90d in KHTMLView::viewportMouseMoveEvent (this=0x8269fc8, 
    _mouse=0xbfadff54) at khtmlview.cpp:1234
#16 0xb602faa5 in KHTMLView::viewportMouseMoveEvent (this=0x8269fc8, 
    _mouse=0xbfadff54) at khtmlview.cpp:1256
#17 0xb72a577e in QScrollView::eventFilter ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#18 0xb6034c12 in KHTMLView::eventFilter (this=0x8269fc8, o=0x86138a8, 
    e=0xbfadff54) at khtmlview.cpp:1899
#19 0xb716da72 in QObject::activate_filters ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#20 0xb716daf0 in QObject::event () from /usr/share/qt3/lib/libqt-mt.so.3
#21 0xb71ab268 in QWidget::event () from /usr/share/qt3/lib/libqt-mt.so.3
#22 0xb7107f80 in QApplication::internalNotify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#23 0xb7108500 in QApplication::notify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#24 0xb77e7292 in KApplication::notify (this=0xbfae0548, receiver=0x86138a8, 
    event=0xbfadff54) at kapplication.cpp:550
#25 0xb7098e25 in QApplication::sendSpontaneousEvent ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#26 0xb7094325 in QETWidget::translateMouseEvent ()
   from /usr/share/qt3/lib/libqt-mt.so.3
Comment 3 Allan Sandfeld 2006-10-24 14:11:26 UTC
Created attachment 18246 [details]
test case
Comment 4 Allan Sandfeld 2006-10-24 14:11:58 UTC
It doesn't crash here anymore.. Can anyone confirm?
Comment 5 Tommi Tervo 2006-10-24 15:01:08 UTC
dupe of this?
http://bugs.kde.org/show_bug.cgi?id=95319
Comment 6 Allan Sandfeld 2006-10-24 16:16:27 UTC
Yes

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