bug in new selection code

Daniel Naber daniel.naber at t-online.de
Wed Sep 4 00:16:58 BST 2002


Hi,

I can get Konqueror to enter an endless loop when I double/triple click on 
"findme" in the HTML below. If you cannot reproduce: you probably have to 
click like crazy for more than 10 seconds... gdb output below.

Regards
 Daniel

<html>
<head>
<title>test</title>
</head>
<body>

<p>lhks<i>dfs<strong>df</strong></i><br>
ifhlhsfsfbsf sf fs</p>
<i>find</i>me

</body>
</html>

ASSERT: "offset < len-1" in khtml_part.cpp (4332)
ASSERT: "offset < len-1" in khtml_part.cpp (4332)
ASSERT: "offset < len-1" in khtml_part.cpp (4332)
ASSERT: "offset < len-1" in khtml_part.cpp (4332)
ASSERT: "offset < len-1" in khtml_part.cpp (4332)
ASSERT: "offset < len-1" in khtml_part.cpp (4332)
(endless)

#0  0x41051a04 in write () from /lib/libc.so.6
#1  0x40ee157c in __DTOR_END__ () from /lib/libpthread.so.0
#2  0x40ffaf29 in _IO_new_file_write () from /lib/libc.so.6
#3  0x40f3a7f7 in filebuf::sys_write () from 
/usr/lib/libstdc++-libc6.2-2.so.3
#4  0x40ffa938 in _IO_new_file_xsputn () from /lib/libc.so.6
#5  0x40f3a887 in filebuf::xsputn () from /usr/lib/libstdc++-libc6.2-2.so.3
#6  0x40fdef88 in buffered_vfprintf () from /lib/libc.so.6
#7  0x40fda5af in vfprintf () from /lib/libc.so.6
#8  0x40bc0a03 in qWarning () from /home/dnaber/prg/qt3/lib/libqt-mt.so.3
#9  0x416b1eeb in KHTMLPart::extendSelection () from 
/home/dnaber/prg/kde3/lib/libkhtml.so.4
#10 0x416b1b7c in KHTMLPart::khtmlMouseDoubleClickEvent () from 
/home/dnaber/prg/kde3/lib/libkhtml.so.4
#11 0x416b14a9 in KHTMLPart::customEvent () from 
/home/dnaber/prg/kde3/lib/libkhtml.so.4
#12 0x409d379d in QObject::event () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#13 0x409951d6 in QApplication::internalNotify () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#14 0x40995074 in QApplication::notify () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#15 0x406a25b5 in KApplication::notify () from 
/home/dnaber/prg/kde3/lib/libkdecore.so.4
#16 0x416907c8 in KHTMLView::viewportMouseDoubleClickEvent () from 
/home/dnaber/prg/kde3/lib/libkhtml.so.4
#17 0x40a9d6eb in QScrollView::eventFilter () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#18 0x409d3868 in QObject::activate_filters () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#19 0x409d3721 in QObject::event () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#20 0x409ff0b5 in QWidget::event () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#21 0x409951d6 in QApplication::internalNotify () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#22 0x40994b17 in QApplication::notify () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#23 0x406a25b5 in KApplication::notify () from 
/home/dnaber/prg/kde3/lib/libkdecore.so.4
#24 0x40949d6c in QETWidget::translateMouseEvent () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#25 0x409471d8 in QApplication::x11ProcessEvent () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#26 0x40946020 in QApplication::processNextEvent () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#27 0x409966d2 in QApplication::enter_loop () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#28 0x40945f8b in QApplication::exec () from 
/home/dnaber/prg/qt3/lib/libqt-mt.so.3
#29 0x40052b44 in main () from /home/dnaber/prg/kde3/lib/konqueror.so
#30 0x40fa7c5f in __libc_start_main () from /lib/libc.so.6

-- 
http://www.danielnaber.de




More information about the kfm-devel mailing list