[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: crash konqy dans khtml
From:       Lars Knoll <Lars.Knoll () mpi-hd ! mpg ! de>
Date:       2000-03-23 9:42:51
[Download RAW message or body]

On Wed, 22 Mar 2000, David Faure wrote:

> On Tue, Mar 21, 2000 at 05:50:29PM +0100, Francois-Xavier Duranceau wrote:
> 
> [libkhtml crash in khtml::setNamedColor, when opening a local index.html page]
> 
> If this rings any bell...

Looks more like a problem in QMap. I can't find any problems in
khtml::setNamedColor(), which could do something like that.

I'd need the html, which produced that crash to be able to say more.

Lars

> 
> > #0  0xee326a68 in QMap<QString, QColor>::detach (this=0xee3c9970)
> >     at /var/tmp/durancea/qt-cvs/include/qmap.h:558
> > 558         void detach() { if ( sh->count > 1 ) { sh->deref(); sh = new
> > QMapPrivate<Key,T>(
> > sh ); } }
> > (gdb) bt
> > #0  0xee326a68 in QMap<QString, QColor>::detach (this=0xee3c9970)
> >     at /var/tmp/durancea/qt-cvs/include/qmap.h:558
> > #1  0xee325b20 in QMap<QString, QColor>::operator[] (this=0xee3c9970,
> > k=@0xefffa4d0)
> >     at /var/tmp/durancea/qt-cvs/include/qmap.h:519
> > #2  0xee225550 in khtml::setNamedColor (color=@0xefffa4f0, name={
> >       static null = <optimized out>, d = 0x13de08, static shared_null =
> > <optimized out>})
> >     at helper.cpp:99
> > #3  0xee25f18c in DOM::StyleBaseImpl::parseValue (this=0x1464f0,
> > curP=0x1817d2,
> >     endP=0x1817e0, propId=12, important=false, propList=0x10af80) at
> > cssparser.cpp:786
> > #4  0xee25ea98 in DOM::StyleBaseImpl::parseProperty (this=0x1464f0,
> > curP=0x1817d2,
> >     endP=0x1817e0, propList=0x10af80) at cssparser.cpp:580
> > #5  0xee25ed04 in DOM::StyleBaseImpl::parseProperties (this=0x1464f0,
> > curP=0x1817e0,
> >     endP=0x18190e) at cssparser.cpp:597
> > #6  0xee262bc8 in DOM::StyleBaseImpl::parseStyleRule (this=0x1464f0,
> > curP=@0xefffa7bc,
> >     endP=0x184664) at cssparser.cpp:1385
> > #7  0xee262f04 in DOM::StyleBaseImpl::parseRule (this=0x1464f0,
> > curP=@0xefffa7bc,
> >     endP=0x184664) at cssparser.cpp:1420
> > #8  0xee25736c in DOM::CSSStyleSheetImpl::parseString (this=0x1464f0,
> > string=@0xefffa888)
> >     at css_stylesheetimpl.cpp:256
> > #9  0xee264e04 in khtml::CSSStyleSelector::loadDefaultStyle () at
> > cssstyleselector.cpp:151
> > #10 0xee2643c8 in khtml::CSSStyleSelector::CSSStyleSelector
> > (this=0x115880, doc=0x142eb0)
> >     at cssstyleselector.cpp:69
> > ---Type <return> to continue, or q <return> to quit---
> > #11 0xee28f8b8 in DOM::HTMLDocumentImpl::HTMLDocumentImpl
> > (this=0x142eb0, v=0x1740d0)
> >     at html_documentimpl.cpp:72
> > #12 0xee20f91c in KHTMLPart::begin (this=0x12bbc0, url=@0x173eb8,
> > xOffset=0, yOffset=0)
> >     at khtml_part.cpp:483
> > #13 0xee20f1a8 in KHTMLPart::slotData (this=0x12bbc0, data=@0xefffaed8)
> >     at khtml_part.cpp:422
> > #14 0xef3cb980 in KIO::TransferJob::data (this=0x161f40, t0=0x161f40,
> > t1=@0xefffaed8)
> >     at jobclasses.moc:972
> > #15 0xef3bcf2c in KIO::TransferJob::slotData (this=0x161f40,
> > _data=@0xefffaed8)
> >     at job.cpp:277
> > #16 0xef3b8ebc in KIO::SlaveInterface::data (this=0x1461f0,
> > t0=@0xefffaed8)
> >     at slaveinterface.moc:199
> > #17 0xef3b75dc in KIO::SlaveInterface::dispatch (this=0x1461f0,
> > _cmd=100,
> >     rawdata=@0xefffaed8) at slaveinterface.cpp:46
> > #18 0xef3b747c in KIO::SlaveInterface::dispatch (this=0x1461f0) at
> > slaveinterface.cpp:29
> > #19 0xef3d3a50 in KIO::Slave::gotInput (this=0x1461f0) at slave.cpp:98
> > #20 0xeeaa8210 in QObject::activate_signal ()
> > #21 0xeec10540 in QSocketNotifier::activated ()
> > #22 0xeeaed4e0 in QSocketNotifier::event ()
> > #23 0xeea4747c in QApplication::notify ()
> > #24 0xee9c9318 in sn_activate ()
> > #25 0xee9c9778 in QApplication::processNextEvent
> > ()
> 
> -- 
> David FAURE, david@mandrakesoft.com, faure@kde.org
> http://home.clara.net/faure/
> KDE, Making The Future of Computing Available Today
> See ftp://mandrakesoft.com/pub/david/kde1-and-kde2.txt to set up KDE 2
> 
> 

-- 
Lars Knoll                                 knoll@mpi-hd.mpg.de
  PGP pub key [6DADF3D5]: finger knoll@pluto.mpi-hd.mpg.de 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic