Bug 55525

Summary: visiting http://www.w3.org/qa makes konqueror or khtml go kablooie
Product: [Applications] konqueror Reporter: Krishna Sethuraman <krishnoid>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Krishna Sethuraman 2003-03-04 23:30:03 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

% konqueror http://www.w3.org/QA

Part of the page starts to load, then konqueror
crashes.

Linux 2.4.19 kernel, Debian unstable, kde:

ii  kdebase        3.1.0-0woody2  KDE Base metapackage
ii  kdebase-bin    3.1.0-0woody2  KDE Base (binaries)
ii  kdebase-data   3.1.0-0woody2  KDE Base (shared data)
ii  kdebase-kio-pl 3.1.0-0woody2  KDE I/O Slaves
ii  kdelibs-bin    3.1.0-0woody5  KDE core binaries
ii  kdelibs-data   3.1.0-0woody5  KDE core shared data
ii  kdelibs4       3.1.0-0woody5  KDE core libraries
ii  konqueror      3.1.0-0woody2  KDE's advanced File Manager, Web Browser and

W3C's validator service:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.w3.org%2FQA

considers this page to be valid xhtml 1.0 strict (as you might expect).

...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 27147)]

...
(no debugging symbols found)...(no debugging symbols found)...
0x40fd1a39 in wait4 () from /lib/libc.so.6
#0  0x40fd1a39 in wait4 () from /lib/libc.so.6
#1  0x41044ba0 in sys_sigabbrev () from /lib/libc.so.6
#2  0x40e68061 in waitpid () from /lib/libpthread.so.0
#3  0x406566ea in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x40f5e898 in sigaction () from /lib/libc.so.6
#5  0x414ddac7 in khtml::CachedImage::do_notify () from /usr/lib/libkhtml.so.4
#6  0x414de374 in khtml::CachedImage::error () from /usr/lib/libkhtml.so.4
#7  0x414df869 in khtml::Loader::slotFinished () from /usr/lib/libkhtml.so.4
#8  0x414e1a03 in khtml::Loader::qt_invoke () from /usr/lib/libkhtml.so.4
#9  0x4098ba59 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0x4023f663 in KIO::Job::result () from /usr/lib/libkio.so.4
#11 0x4022f430 in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#12 0x4023053e in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#13 0x402324d0 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#14 0x40240aec in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#15 0x4098ba59 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x4098b99e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x4022811c in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#18 0x40226d14 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#19 0x40226868 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#20 0x40224b90 in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#21 0x40226269 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#22 0x4098ba59 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0x4098bbd4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0x40bec94b in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#25 0x409a28ec in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#26 0x40939a93 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#27 0x40939894 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#28 0x405f748a in KApplication::notify () from /usr/lib/libkdecore.so.4
#29 0x4091c403 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#30 0x408fe32a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0x4094b1fe in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0x4094b15b in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0x40939bea in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x40055b4c in main () from /usr/lib/konqueror.so
#35 0x40f4d9f1 in __libc_start_main () from /lib/libc.so.6
Comment 1 Olivier Thereaux 2003-04-09 10:38:16 UTC
I would guess that this is due to the stylesheet call:
<link rel="Stylesheet" href="/QA/2002/12/qa4.css" />
(note the upper-case "S"). The css validator also has a problem with it.

XHTML is a "lower-case markup language" (see e.g
http://www.w3.org/TR/xhtml1/#h-4.2 ) but that rules doesn't include attribute
values, and HTML4.01 (which holds the info for link types) says 'These link
types are case-insensitive, i.e., "Alternate" has the same meaning as
"alternate".' (http://www.w3.org/TR/1999/REC-html401-19991224/types.html#h-6.12).

I'm changing the QA homepage to use lower-case "stylesheet" but you now have a
test case...
Comment 2 Stephan Kulow 2003-04-09 12:05:16 UTC

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