Bug 95775

Andras Mantia amantia at kde.org
Tue Dec 28 10:24:11 GMT 2004


Hi,

 I got a crash report for Quanta (which is reproduceable with CVS HEAD) 
that indicates that the crash is in KHTML, although the only way to 
reproduce the crash is inside Quanta. The crash happens when you click 
on a download link from the sourceforge site (see the attached example: 
load into Quanta, do a preview and click on a download link for example 
for php documentation). The backtrace below, saying that the crash is 
because of  a "delete *it;", which makes me think that there is a 
double deletion somewhere.
So you have any idea why does it crash and what can I do to avoid it? We 
use KHTML by subclassing it (kdewebdev/quanta/parts/preview), but in 
the subclass there is nothing really special, and the backtrace does 
not indicate any reference to the subclass except of 
WHTMLPart::qt_invoke.

Andras

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3375)]
[KCrash handler]
#5  0x00000000 in ?? ()
#6  0x40530305 in KHTMLPart::clear (this=0x86922a8)
    at /data/development/sources/kde-head/kdelibs/khtml/khtml_part.cpp:1372
#7  0x405324ac in KHTMLPart::begin (this=0x86922a8, url=@0x86bb380, 
xOffset=0, 
    yOffset=0)
    at /data/development/sources/kde-head/kdelibs/khtml/khtml_part.cpp:1782
#8  0x40530bd1 in KHTMLPart::slotData (this=0x86922a8, 
kio_job=0x92d7a90, 
    data=@0xbfffee60)
    at /data/development/sources/kde-head/kdelibs/khtml/khtml_part.cpp:1501
#9  0x4054bd32 in KHTMLPart::qt_invoke (this=0x86922a8, _id=16, 
_o=0xbfffeb80)
    at khtml_part.moc:487
#10 0x082459db in WHTMLPart::qt_invoke (this=0x86922a8, _id=16, 
_o=0xbfffeb80)
    at whtmlpart.moc:137
#11 0x41680a2c in QObject::activate_signal ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#12 0x40bd2062 in KIO::TransferJob::data (this=0x92d7a90, t0=0x92d7a90, 
    t1=@0xbfffee60) at jobclasses.moc:972
#13 0x40bbedbb in KIO::TransferJob::slotData (this=0x92d7a90, 
    _data=@0xbfffee60)
    at /data/development/sources/kde-head/kdelibs/kio/kio/job.cpp:858
#14 0x40bd270d in KIO::TransferJob::qt_invoke (this=0x92d7a90, _id=18, 
    _o=0xbfffeca0) at jobclasses.moc:1051
#15 0x41680a2c in QObject::activate_signal ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#16 0x40bae40a in KIO::SlaveInterface::data (this=0x9247080, 
t0=@0xbfffee60)
    at slaveinterface.moc:194
#17 0x40bacb9f in KIO::SlaveInterface::dispatch (this=0x9247080, 
_cmd=100, 
    rawdata=@0xbfffee60)
    at /data/development/sources/kde-head/kdelibs/kio/kio/slaveinterface.cpp:228
#18 0x40bac85c in KIO::SlaveInterface::dispatch (this=0x9247080)
    at /data/development/sources/kde-head/kdelibs/kio/kio/slaveinterface.cpp:173
#19 0x40baa2c9 in KIO::Slave::gotInput (this=0x9247080)
    at /data/development/sources/kde-head/kdelibs/kio/kio/slave.cpp:300
#20 0x40babd47 in KIO::Slave::qt_invoke (this=0x9247080, _id=4, 
_o=0xbfffefa0)
    at slave.moc:113
#21 0x41680a2c in QObject::activate_signal ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#22 0x41680f8d in QObject::activate_signal ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#23 0x4198d698 in QSocketNotifier::activated ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#24 0x4169da01 in QSocketNotifier::event ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#25 0x41623b64 in QApplication::internalNotify ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#26 0x41625462 in QApplication::notify ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#27 0x411c3fe0 in KApplication::notify (this=0x8325848, 
receiver=0x8902888, 
    event=0xbffff2b0)
    at /data/development/sources/kde-head/kdelibs/kdecore/kapplication.cpp:543
#28 0x416184ee in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#29 0x415d6e33 in QEventLoop::processEvents ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#30 0x41639caa in QEventLoop::enterLoop ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#31 0x41639b04 in QEventLoop::exec ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#32 0x41625350 in QApplication::exec ()
   from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#33 0x080a3405 in main (argc=1, argv=0xbffff644)
    at /home/andris/development/kdewebdev-3.3/quanta/src/main.cpp:207


-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20041228/6b7cd707/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20041228/6b7cd707/attachment.sig>


More information about the kfm-devel mailing list