Bug 163574 - Crash (failed assert) in CSSStyleSelector::checkSelector
Summary: Crash (failed assert) in CSSStyleSelector::checkSelector
Status: RESOLVED DUPLICATE of bug 163359
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 06:51 UTC by Benoît Jacob
Modified: 2008-06-09 12:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoît Jacob 2008-06-09 06:51:32 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3.0 
OS:                Linux

Konqueror (trunk revision 818387) crashed once while loading this website: 
http://lemonde.fr

However, this is not easily reproducible.

Here is the backtrace anyway:

Application: Konqueror (konqueror), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ff5940 (LWP 6652)]
[KCrash handler]
#6  0xb7fc6410 in __kernel_vsyscall ()
#7  0xb63b6085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb63b7a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb63af10e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb43671ee in khtml::CSSStyleSelector::checkSelector (this=0x8557a08, 
    selIndex=680, e=0x8b5c278)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/css/cssstyleselector.cpp:1161
#11 0xb4367ea4 in khtml::CSSStyleSelector::styleForElement (this=0x8557a08, 
    e=0x8b5c278)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/css/cssstyleselector.cpp:601
#12 0xb4254a2c in DOM::HTMLImageElementImpl::attach (this=0x8b5c278)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/html/html_imageimpl.cpp:236
#13 0xb41e8d1f in DOM::NodeBaseImpl::appendChild (this=0x8e9f4f0, 
    newChild=0x8b5c278, exceptioncode=@0xbfd2eb68)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/xml/dom_nodeimpl.cpp:1630
#14 0xb43c87cd in DOMNodeProtoFunc::callAsFunction (this=0xb11199a0, 
    exec=0xbfd30360, thisObj=0xb11c8b20, args=@0xbfd3023c)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/ecma/kjs_dom.cpp:615
#15 0xb3ffd3ca in KJS::JSObject::call (this=0xb11199a0, exec=0xbfd30360, 
    thisObj=0xb11c8b20, args=@0xbfd3023c)
    at /home/gaston/cuisine/trunk/kdelibs/kjs/object.cpp:99
#16 0xb40271db in KJS::Machine::runBlock (exec=0xbfd30360, block=@0x93d9954)
    at codes.def:1163
#17 0xb3fc2c19 in KJS::FunctionBodyNode::execute (this=0x93d9900, 
    exec=0xbfd30360) at /home/gaston/cuisine/trunk/kdelibs/kjs/nodes.cpp:989
#18 0xb3ff90c3 in KJS::FunctionImp::callAsFunction (this=0xb11c8a40, 
    exec=0xbfd31be0, thisObj=0xb11c8a80, args=@0xbfd31abc)
    at /home/gaston/cuisine/trunk/kdelibs/kjs/function.cpp:127
#19 0xb3ffd3ca in KJS::JSObject::call (this=0xb11c8a40, exec=0xbfd31be0, 
    thisObj=0xb11c8a80, args=@0xbfd31abc)
    at /home/gaston/cuisine/trunk/kdelibs/kjs/object.cpp:99
#20 0xb40271db in KJS::Machine::runBlock (exec=0xbfd31be0, block=@0x9428b1c)
    at codes.def:1163
#21 0xb3fc2c19 in KJS::FunctionBodyNode::execute (this=0x9428ac8, 
    exec=0xbfd31be0) at /home/gaston/cuisine/trunk/kdelibs/kjs/nodes.cpp:989
#22 0xb3ff90c3 in KJS::FunctionImp::callAsFunction (this=0xb11ca8e0, 
    exec=0x8c148b8, thisObj=0xb03a0000, args=@0xbfd31d38)
    at /home/gaston/cuisine/trunk/kdelibs/kjs/function.cpp:127
#23 0xb3ffd3ca in KJS::JSObject::call (this=0xb11ca8e0, exec=0x8c148b8, 
    thisObj=0xb03a0000, args=@0xbfd31d38)
    at /home/gaston/cuisine/trunk/kdelibs/kjs/object.cpp:99
#24 0xb4431451 in KJS::JSEventListener::handleEvent (this=0x926f8f8, 
    evt=@0xbfd31d80)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/ecma/kjs_events.cpp:106
#25 0xb41c72c8 in DOM::DocumentImpl::defaultEventHandler (this=0x91ca5a8, 
    evt=0x8c96b08)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/xml/dom_docimpl.cpp:2686
#26 0xb41e9de1 in DOM::NodeImpl::dispatchWindowEvent (this=0x91ca5b4, _id=16, 
    canBubbleArg=false, cancelableArg=false)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/xml/dom_nodeimpl.cpp:565
#27 0xb424a438 in DOM::HTMLDocumentImpl::close (this=0x91ca5a8)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/html/html_documentimpl.cpp:249
#28 0xb4167e96 in KHTMLPart::checkEmitLoadEvent (this=0x855b970)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/khtml_part.cpp:2323
#29 0xb4168236 in KHTMLPart::checkCompleted (this=0x855b970)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/khtml_part.cpp:2244
#30 0xb416b7cf in KHTMLPart::slotLoaderRequestDone (this=0x855b970, 
    dl=0x8a50578, obj=0x8de2388)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/khtml_part.cpp:2098
#31 0xb417addc in KHTMLPart::qt_metacall (this=0x855b970, 
    _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfd320c8)
    at /home/gaston/cuisine/kdelibs-build/khtml/khtml_part.moc:314
#32 0xb7197d19 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb71983e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb43844ff in khtml::Loader::requestDone (this=0x8279890, _t1=0x8a50578, 
    _t2=0x8de2388) at /home/gaston/cuisine/kdelibs-build/khtml/loader.moc:150
#35 0xb4388c1b in khtml::Loader::slotFinished (this=0x8279890, job=0x8cbcae0)
    at /home/gaston/cuisine/trunk/kdelibs/khtml/misc/loader.cpp:1398
#36 0xb4388fa7 in khtml::Loader::qt_metacall (this=0x8279890, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd3223c)
    at /home/gaston/cuisine/kdelibs-build/khtml/loader.moc:129
#37 0xb7197d19 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0xb71983e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb7b2fa50 in KJob::result (this=0x8cbcae0, _t1=0x8cbcae0)
    at /home/gaston/cuisine/kdelibs-build/kdecore/kjob.moc:186
#40 0xb7b2ff8e in KJob::emitResult (this=0x8cbcae0)
    at /home/gaston/cuisine/trunk/kdelibs/kdecore/jobs/kjob.cpp:290
#41 0xb7cf98fb in KIO::SimpleJob::slotFinished (this=0x8cbcae0)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/job.cpp:491
#42 0xb7cf9cd4 in KIO::TransferJob::slotFinished (this=0x8cbcae0)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/job.cpp:961
#43 0xb7d00c67 in KIO::TransferJob::qt_metacall (this=0x8cbcae0, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfd32448)
    at /home/gaston/cuisine/kdelibs-build/kio/jobclasses.moc:336
#44 0xb7197d19 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#45 0xb71983e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#46 0xb7d9ff31 in KIO::SlaveInterface::finished (this=0x8f55938)
    at /home/gaston/cuisine/kdelibs-build/kio/slaveinterface.moc:161
#47 0xb7da1cdb in KIO::SlaveInterface::dispatch (this=0x8f55938, _cmd=104, 
    rawdata=@0xbfd325c8)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/slaveinterface.cpp:175
#48 0xb7da1bca in KIO::SlaveInterface::dispatch (this=0x8f55938)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/slaveinterface.cpp:90
#49 0xb7d94c96 in KIO::Slave::gotInput (this=0x8f55938)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/slave.cpp:319
#50 0xb7d960b4 in KIO::Slave::qt_metacall (this=0x8f55938, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd326c8)
    at /home/gaston/cuisine/kdelibs-build/kio/slave.moc:75
#51 0xb7197d19 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#52 0xb71983e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#53 0xb7cc964b in KIO::Connection::readyRead (this=0x851b420)
    at /home/gaston/cuisine/kdelibs-build/kio/connection.moc:84
#54 0xb7cca587 in KIO::ConnectionPrivate::dequeue (this=0x856a8e0)
    at /home/gaston/cuisine/trunk/kdelibs/kio/kio/connection.cpp:82
#55 0xb7ccb4c1 in KIO::Connection::qt_metacall (this=0x851b420, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8b84870)
    at /home/gaston/cuisine/kdelibs-build/kio/connection.moc:72
#56 0xb71916ab in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#57 0xb71936f1 in QObject::event () from /usr/lib/libQtCore.so.4
#58 0xb6782cfc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#59 0xb6787889 in QApplication::notify () from /usr/lib/libQtGui.so.4
#60 0xb78dae7d in KApplication::notify (this=0xbfd32fa0, receiver=0x851b420, 
    event=0x94d6218)
    at /home/gaston/cuisine/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#61 0xb7182ed9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#62 0xb7184289 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#63 0xb71844ad in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#64 0xb71ae3ef in ?? () from /usr/lib/libQtCore.so.4
#65 0xb612abf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0xb612de5e in ?? () from /usr/lib/libglib-2.0.so.0
#67 0xb612e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0xb71ae7b8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#69 0xb6815fd5 in ?? () from /usr/lib/libQtGui.so.4
#70 0xb718215d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#71 0xb71822ed in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#72 0xb718456d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#73 0xb6782657 in QApplication::exec () from /usr/lib/libQtGui.so.4
#74 0xb7fac2c8 in kdemain (argc=2, argv=0xbfd332b4)
    at /home/gaston/cuisine/trunk/kdebase/apps/konqueror/src/konqmain.cpp:226
#75 0x08048796 in main (argc=)
    at /home/gaston/cuisine/kdebase-build/apps/konqueror/src/konqueror_dummy.cpp:3
#0  0xb7fc6410 in __kernel_vsyscall ()
Comment 1 A. Spehr 2008-06-09 12:45:47 UTC
perhaps the site changed? at any rate, this is a dup of #63359
It still crashes though giving a bt of:

#6  0xb7fd8430 in __kernel_vsyscall ()
#7  0xb65975e0 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6598fb8 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb659056e in __assert_fail () from /lib/i686/cmov/libc.so.6
#10 0xb4062b23 in DOM::NodeImpl::attach (this=0xbbbeb68)
    at /media/kde/src/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:968
#11 0xb40b10d4 in DOM::HTMLBRElementImpl::attach (this=0xbbbeb68)
    at /media/kde/src/KDE/kdelibs/khtml/html/html_inlineimpl.cpp:250
#12 0xb409652a in khtml::KHTMLParser::insertNode (this=0xbeadae0, n=0xbbbeb68, 
    flat=true) at /media/kde/src/KDE/kdelibs/khtml/html/htmlparser.cpp:429
#13 0xb4098db3 in khtml::KHTMLParser::parseToken (this=0xbeadae0, t=0xc141ec4)
    at /media/kde/src/KDE/kdelibs/khtml/html/htmlparser.cpp:293
#14 0xb409a172 in khtml::HTMLTokenizer::processToken (this=0xc141eb0)
    at /media/kde/src/KDE/kdelibs/khtml/html/htmltokenizer.cpp:2031
#15 0xb40a02ab in khtml::HTMLTokenizer::parseTag (this=0xc141eb0, 
    src=@0xc1423a0)
    at /media/kde/src/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1515
#16 0xb40a0b70 in khtml::HTMLTokenizer::write (this=0xc141eb0, 
    str=@0xbf8f2488, appendData=false)
    at /media/kde/src/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1789
#17 0xb409cfce in khtml::HTMLTokenizer::notifyFinished (this=0xc141eb0)
    at /media/kde/src/KDE/kdelibs/khtml/html/htmltokenizer.cpp:2110
#18 0xb41b0090 in khtml::CachedScript::checkNotify (this=0xc0f9fd0)
    at /media/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:388
#19 0xb41b5c20 in khtml::CachedScript::data (this=0xc0f9fd0, 
    buffer=@0xc0fdb4c, eof=true)
    at /media/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:380
#20 0xb41b2a85 in khtml::Loader::slotFinished (this=0xa0baf28, job=0xc5f1720)
    at /media/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:1397
#21 0xb41b2da7 in khtml::Loader::qt_metacall (this=0xa0baf28, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8f274c)

*** This bug has been marked as a duplicate of 163359 ***
Comment 2 A. Spehr 2008-06-09 12:59:12 UTC
http://bugs.kde.org/show_bug.cgi?id=163598 is the new bug
I probably shouldn't have put that bt here as well...