Bug 139312 - konqueror crashes when parsing css3-namespace-selector in external stylesheet
Summary: konqueror crashes when parsing css3-namespace-selector in external stylesheet
Status: RESOLVED DUPLICATE of bug 136120
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-28 12:37 UTC by Julian Fleischer
Modified: 2006-12-28 17:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Archive of the webpage and css-stylesheet crashing konqueror 3.5.5 (8.20 KB, application/x-tgz)
2006-12-28 12:41 UTC, Julian Fleischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Fleischer 2006-12-28 12:37:54 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages

Recently i played a bit around with a stylesheet on my website and it happened, that konqueror crashed when viewing any page that used that stylesheet. i was wondering and found out, that it was due to a CSS-3-Namespace-Selector, if removed the page was shown, if not konqueror crashed.

This is the crash-log:

(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)
...
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231694160 (LWP 6601)]
(no debugging symbols found)
(no debugging symbols found)
...
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb5eaa881 in DOM::XMLAttributeReader::~XMLAttributeReader ()
   from /usr/lib/libkhtml.so.4
#7  0xb5f6aea0 in DOM::CSSSelector::operator== () from /usr/lib/libkhtml.so.4
#8  0xb5f8294b in DOM::CSSParser::parseValue () from /usr/lib/libkhtml.so.4
#9  0xb5f84b14 in DOM::CSSParser::runParser () from /usr/lib/libkhtml.so.4
#10 0xb5f854c4 in DOM::CSSParser::parseSheet () from /usr/lib/libkhtml.so.4
#11 0xb5f85549 in DOM::CSSParser::parseSheet () from /usr/lib/libkhtml.so.4
#12 0xb5f6e825 in DOM::CSSParser::~CSSParser () from /usr/lib/libkhtml.so.4
#13 0xb5fa65c7 in KNSPluginWizard::initLicencePage ()
   from /usr/lib/libkhtml.so.4
#14 0xb5fa67c2 in KNSPluginWizard::initLicencePage ()
   from /usr/lib/libkhtml.so.4
#15 0xb5fa894e in KNSPluginWizard::initLicencePage ()
   from /usr/lib/libkhtml.so.4
#16 0xb5fa910a in KNSPluginWizard::initLicencePage ()
   from /usr/lib/libkhtml.so.4
#17 0xb72ec957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0xb7b2477e in KIO::Job::result () from /usr/lib/libkio.so.4
#19 0xb7b64a8d in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#20 0xb7b7875e in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#21 0xb7b78e6d in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#22 0xb7b646ba in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#23 0xb72ec957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb72ed3fc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb7b1effc in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#26 0xb7b84720 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#27 0xb7b8275a in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#28 0xb7b3343c in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#29 0xb7b72360 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#30 0xb72ec957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#31 0xb72ed26e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#32 0xb7679cdb in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#33 0xb730f516 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#34 0xb7283b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#35 0xb72859b7 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#36 0xb7979db2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#37 0xb7216389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#38 0xb7275f81 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#39 0xb722aea7 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#40 0xb729e25e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#41 0xb729e06e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#42 0xb7285731 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#43 0xb67102b4 in kdemain () from /usr/lib/libkdeinit_konqueror.so
#44 0xb7fd2524 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#45 0x0804e4df in ?? ()
#46 0x00000004 in ?? ()
#47 0x080f1e00 in ?? ()
#48 0x00000001 in ?? ()
#49 0x00000000 in ?? ()

It looked all the same every crash.

The specified selector is "w|s:before".
Comment 1 Julian Fleischer 2006-12-28 12:41:42 UTC
Created attachment 19054 [details]
Archive of the webpage and css-stylesheet crashing konqueror 3.5.5

This is the regarding webpage. The "malicious line" is line 18 in weblog.css in
the folder. if you remove ", w|s:before" everything is fine. otherwise
konqueror crashed.
Comment 2 Tommi Tervo 2006-12-28 15:06:22 UTC
Suse 3.5.5 crashes, svn pre 3.5.6 r613k won't.
Comment 3 Maksim Orlovich 2006-12-28 17:48:04 UTC

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