Bug 90024 - Konqueror/khtml crashes upon opening simple xml file
Summary: Konqueror/khtml crashes upon opening simple xml file
Status: RESOLVED DUPLICATE of bug 87495
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 17:01 UTC by Thomas Fischer
Modified: 2004-09-23 08:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
.xml file that makes Konqueror crash (76 bytes, text/xml)
2004-09-22 20:57 UTC, Thomas Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Fischer 2004-09-22 17:01:26 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    SuSE RPMs
OS:                Linux

Opening a simple xml file causes konqueror/khtml to crash.
This crash can be reproduced by opening the following example file:
--8<----8<----8<----8<----8<--
<?xml version="1.0" encoding="UTF-8"?>
<document>
<body></body>
</document>
--8<----8<----8<----8<----8<--

Replacing "body" by another text prevents this bug from occurring.
This bug might be related to bugs 84913 and 87495.

And this is the output of the crash handler:
--8<----8<----8<----8<----8<--
[New Thread 16384 (LWP 20062)]
[KCrash handler]
#4  0x41c0e056 in khtml::TreeShared<DOM::StyleBaseImpl>::ref() ()
   from /opt/kde3/lib/libkhtml.so.4
#5  0x41bf3d1b in DOM::DocumentImpl::recalcStyleSelector() ()
   from /opt/kde3/lib/libkhtml.so.4
#6  0x41bf39b8 in DOM::DocumentImpl::updateStyleSelector() ()
   from /opt/kde3/lib/libkhtml.so.4
#7  0x41c08095 in khtml::XMLTokenizer::executeScripts() ()
   from /opt/kde3/lib/libkhtml.so.4
#8  0x41c07836 in khtml::XMLTokenizer::finish() ()
   from /opt/kde3/lib/libkhtml.so.4
#9  0x41bf0eaa in DOM::DocumentImpl::finishParsing() ()
   from /opt/kde3/lib/libkhtml.so.4
#10 0x41bb42e8 in KHTMLPart::end() () from /opt/kde3/lib/libkhtml.so.4
#11 0x41bb3730 in KHTMLPart::slotFinished(KIO::Job*) ()
   from /opt/kde3/lib/libkhtml.so.4
#12 0x41bcd539 in KHTMLPart::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkhtml.so.4
#13 0x40df0b98 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x4033c78a in KIO::Job::result(KIO::Job*) () from /opt/kde3/lib/libkio.so.4
#15 0x40326ef7 in KIO::Job::emitResult() () from /opt/kde3/lib/libkio.so.4
#16 0x40328314 in KIO::SimpleJob::slotFinished() ()
   from /opt/kde3/lib/libkio.so.4
#17 0x4032b2fe in KIO::TransferJob::slotFinished() ()
   from /opt/kde3/lib/libkio.so.4
#18 0x4033e9b6 in KIO::TransferJob::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkio.so.4
#19 0x40df0c7b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40df0a44 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x4031daec in KIO::SlaveInterface::finished() ()
   from /opt/kde3/lib/libkio.so.4
#22 0x4031c880 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /opt/kde3/lib/libkio.so.4
#23 0x4031bef4 in KIO::SlaveInterface::dispatch() ()
   from /opt/kde3/lib/libkio.so.4
#24 0x40319a6b in KIO::Slave::gotInput() () from /opt/kde3/lib/libkio.so.4
#25 0x4031b5ca in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkio.so.4
#26 0x40df0c7b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40df0dba in QObject::activate_signal(int, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x41136980 in QSocketNotifier::activated(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40e0e290 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40d8eeb6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40d8e1de in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x4090520e in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#33 0x40d7b765 in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40d33a8b in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40da1bc0 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40da1ab6 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40d8f14f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x4008295c in kdemain () from /opt/kde3/lib/libkdeinit_konqueror.so
#39 0x0804865b in main ()
--8<----8<----8<----8<----8<--
Comment 1 Matt Rogers 2004-09-22 17:15:23 UTC
Can you attach the sample file to the bug report please?

Comment 2 Thomas Fischer 2004-09-22 20:57:16 UTC
Created attachment 7632 [details]
.xml file that makes Konqueror crash

As requested, the .xml file I use to crash Konqueror
Comment 3 Tommi Tervo 2004-09-23 08:59:37 UTC

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