Bug 88161 - konqueror crashes when visiting www.forthnet.gr
Summary: konqueror crashes when visiting www.forthnet.gr
Status: RESOLVED DUPLICATE of bug 83272
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 88374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-26 21:29 UTC by Dimosthenis Kaponis
Modified: 2004-08-29 20:47 UTC (History)
1 user (show)

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 Dimosthenis Kaponis 2004-08-26 21:29:48 UTC
Version:           3.3 (using KDE KDE 3.3.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) 
OS:                Linux

Not much to add to the textual description really. Konqueror (KHTML) crashes when visiting http://www.forthnet.gr

Backtrace follows: 

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 25285)]
[KCrash handler]
#5  0x41c3a794 in QPtrVector<khtml::RenderLayer>::deleteItem ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#6  0x41c3a940 in QPtrVector<khtml::RenderLayer>::deleteItem ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#7  0x41bfbc34 in qt_cast<KHTMLView*> () from /usr/kde/3.3/lib/libkhtml.so.4
#8  0x41be4438 in QXmlAttributes::~QXmlAttributes ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#9  0x41be40a4 in QXmlAttributes::~QXmlAttributes ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#10 0x41bebf74 in QXmlAttributes::~QXmlAttributes ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#11 0x41bea887 in QXmlAttributes::~QXmlAttributes ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#12 0x41beb576 in QXmlAttributes::~QXmlAttributes ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#13 0x41bec875 in QXmlAttributes::~QXmlAttributes ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#14 0x41c8d833 in DOM::CSSSelector::~CSSSelector ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#15 0x41c8d782 in DOM::CSSSelector::~CSSSelector ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#16 0x41c9197c in DOM::CSSSelector::~CSSSelector ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#17 0x41c92d6d in DOM::CSSSelector::~CSSSelector ()
   from /usr/kde/3.3/lib/libkhtml.so.4
#18 0x40be300c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#19 0x40199d78 in KIO::Job::result () from /usr/kde/3.3/lib/libkio.so.4
#20 0x401833d2 in KIO::Job::emitResult () from /usr/kde/3.3/lib/libkio.so.4
#21 0x4018489c in KIO::SimpleJob::slotFinished ()
   from /usr/kde/3.3/lib/libkio.so.4
#22 0x40187b7f in KIO::TransferJob::slotFinished ()
   from /usr/kde/3.3/lib/libkio.so.4
#23 0x4019bcd1 in KIO::TransferJob::qt_invoke ()
   from /usr/kde/3.3/lib/libkio.so.4
#24 0x40be300c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#25 0x40be2e34 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#26 0x4017747e in KIO::SlaveInterface::finished ()
   from /usr/kde/3.3/lib/libkio.so.4
#27 0x4017608e in KIO::SlaveInterface::dispatch ()
   from /usr/kde/3.3/lib/libkio.so.4
#28 0x40175539 in KIO::SlaveInterface::dispatch ()
   from /usr/kde/3.3/lib/libkio.so.4
#29 0x40172ebb in KIO::Slave::gotInput () from /usr/kde/3.3/lib/libkio.so.4
#30 0x40174ad7 in KIO::Slave::qt_invoke () from /usr/kde/3.3/lib/libkio.so.4
#31 0x40be300c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#32 0x40be316d in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#33 0x40f22532 in QSocketNotifier::activated ()
   from /usr/qt/3/lib/libqt-mt.so.3
#34 0x40bff780 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3
#35 0x40b86bcf in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0x40b85f35 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#37 0x40709512 in KApplication::notify () from /usr/kde/3.3/lib/libkdecore.so.4
#38 0x40b7640a in QEventLoop::activateSocketNotifiers ()
   from /usr/qt/3/lib/libqt-mt.so.3
#39 0x40b30aa3 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#40 0x40b98d98 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#41 0x40b98c48 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#42 0x40b86e21 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#43 0x418735ce in kdemain () from /usr/kde/3.3/lib/libkdeinit_konqueror.so
#44 0x408c4986 in kdeinitmain () from /usr/kde/3.3/lib/kde3/konqueror.so
#45 0x0804d3ae in ?? ()
#46 0x00000002 in ?? ()
#47 0x0812fb38 in ?? ()
#48 0x00000001 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000001 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000006 in ?? ()
#53 0xbfffebfc in ?? ()
#54 0xbfffec00 in ?? ()
#55 0xbfffec04 in ?? ()
#56 0xbfffec08 in ?? ()
#57 0xbfffec0c in ?? ()
#58 0x00004003 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000002 in ?? ()
#62 0x08122498 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000000 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00000000 in ?? ()
#67 0x00000000 in ?? ()
#68 0x00001f80 in ?? ()
#69 0x00000006 in ?? ()
#70 0x00000020 in ?? ()
#71 0x00000001 in ?? ()
#72 0x00000000 in ?? ()
#73 0x08123140 in ?? ()
#74 0x00000000 in ?? ()
#75 0x00000000 in ?? ()
#76 0x00000000 in ?? ()
#77 0x00000000 in ?? ()
#78 0x00000000 in ?? ()
#79 0x00000000 in ?? ()
#80 0x00000000 in ?? ()
#81 0x00000000 in ?? ()
#82 0x08122f20 in ?? ()
#83 0x00000000 in ?? ()
#84 0x00000000 in ?? ()
#85 0x00000000 in ?? ()
#86 0x00000000 in ?? ()
#87 0x00000000 in ?? ()
#88 0x00000000 in ?? ()
#89 0x4083a961 in posix_memalign () from /usr/kde/3.3/lib/libkdecore.so.4
#90 0x0804f8bf in ?? ()
#91 0x00000002 in ?? ()
#92 0x081226dc in ?? ()
#93 0x081226ef in ?? ()
#94 0x00000000 in ?? ()
#95 0x00000001 in ?? ()
#96 0x08122700 in ?? ()
#97 0x00000000 in ?? ()
#98 0x00000000 in ?? ()
#99 0x00000000 in ?? ()
#100 0x08122704 in ?? ()
#101 0x00000000 in ?? ()
#102 0x00000000 in ?? ()
#103 0x00000000 in ?? ()
#104 0x08122704 in ?? ()
#105 0x00000000 in ?? ()
#106 0x00000000 in ?? ()
#107 0x081226f3 in ?? ()
#108 0x00000001 in ?? ()
#109 0x00000000 in ?? ()
#110 0x081226e6 in ?? ()
#111 0x081226dc in ?? ()
#112 0x00000002 in ?? ()
#113 0x081226d8 in ?? ()
#114 0x000062c4 in ?? ()
#115 0x00000004 in ?? ()
#116 0x00000004 in ?? ()
#117 0x0000000a in ?? ()
#118 0x0000005b in ?? ()
#119 0x080514b8 in vtable for QCString ()
#120 0x0805a3d0 in ?? ()
#121 0x00000000 in ?? ()
#122 0x00000000 in ?? ()
#123 0x080514b8 in vtable for QCString ()
#124 0x0805a3b0 in ?? ()
#125 0x00000000 in ?? ()
#126 0x412ee6b9 in thread_self () from /lib/libpthread.so.0
#127 0x0804e8db in ?? ()
#128 0x00000008 in ?? ()
#129 0xbffff020 in ?? ()
#130 0xbfffefa0 in ?? ()
#131 0xbfffef20 in ?? ()
#132 0x00000000 in ?? ()
#133 0x00000000 in ?? ()
#134 0x00000000 in ?? ()
#135 0x00000000 in ?? ()
#136 0x00000000 in ?? ()
#137 0x00000000 in ?? ()
#138 0x00000000 in ?? ()
#139 0x0000000a in ?? ()
#140 0x00000000 in ?? ()
#141 0x00000002 in ?? ()
#142 0x0000100a in ?? ()
#143 0x00000000 in ?? ()
#144 0x00000003 in ?? ()
#145 0x00000008 in ?? ()
#146 0x00000000 in ?? ()
#147 0x00000000 in ?? ()
#148 0x00000000 in ?? ()
#149 0x00000000 in ?? ()
#150 0x4088f8e0 in kde_malloc_is_used () from /usr/kde/3.3/lib/libkdecore.so.4
#151 0x4083ae74 in posix_memalign () from /usr/kde/3.3/lib/libkdecore.so.4
#152 0x0804c6ab in ?? ()
#153 0x00000000 in ?? ()
#154 0xbffff127 in ?? ()
#155 0x00000001 in ?? ()
#156 0x00000000 in ?? ()
#157 0x00000000 in ?? ()
#158 0x00000000 in ?? ()
#159 0x00000000 in ?? ()
#160 0x00000000 in ?? ()
#161 0x00000000 in ?? ()
#162 0x0805065a in vtable for QGList ()
#163 0x41468d3d in __cxa_atexit () from /lib/libc.so.6
#164 0x41452480 in __libc_start_main () from /lib/libc.so.6
#165 0x0804b721 in ?? ()
Comment 1 jakubpol 2004-08-26 23:48:33 UTC
I can confirm the crash, happened after the site loaded. Also using Gentoo and KDE 3.3.
Comment 2 Tommi Tervo 2004-08-27 10:04:21 UTC
#5  0x41b3cf01 in khtml::CachedImage::isErrorImage (this=0x0) at loader.h:267
#6  0x41b10fd7 in khtml::RenderImage::updateImage (this=0x87d2ac8, 
    new_image=0x870d0e0) at render_image.cpp:440
#7  0x41b1124b in khtml::RenderImage::updateFromElement (this=0x87d2ac8)
    at render_image.cpp:464
#8  0x41ac8a73 in DOM::HTMLImageElementImpl::attach (this=0x87d5038)
    at html_imageimpl.cpp:180
#9  0x41ab32e8 in khtml::KHTMLParser::insertNode (this=0x86bde10, n=0x87d5038, 
    flat=true) at htmlparser.cpp:328
#10 0x41ab316a in khtml::KHTMLParser::parseToken (this=0x86bde10, t=0x86bdd0c)
    at htmlparser.cpp:278
#11 0x41abb167 in khtml::HTMLTokenizer::processToken (this=0x86bdcd8)
    at htmltokenizer.cpp:1575
#12 0x41ab9b6e in khtml::HTMLTokenizer::parseTag (this=0x86bdcd8, 
    src=@0x86bddec) at htmltokenizer.cpp:1088
#13 0x41aba54d in khtml::HTMLTokenizer::write (this=0x86bdcd8, 
    str=@0xbfffe7c0, appendData=false) at htmltokenizer.cpp:1343
#14 0x41abb7a0 in khtml::HTMLTokenizer::notifyFinished (this=0x86bdcd8)
    at htmltokenizer.cpp:1644
#15 0x41b6b531 in khtml::CachedScript::checkNotify (this=0x879f3e0)
    at loader.cpp:322
#16 0x41b6b4b5 in khtml::CachedScript::data (this=0x879f3e0, 
    buffer=@0x879f814, eof=true) at loader.cpp:314
#17 0x41b6efe8 in khtml::Loader::slotFinished (this=0x83249f0, job=0x879ff30)
    at loader.cpp:1095
#18 0x41b70d1d in khtml::Loader::qt_invoke (this=0x83249f0, _id=2, 
    _o=0xbfffea00) at loader.moc:260
#19 0x40c7350c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
Comment 3 Stephan Kulow 2004-08-27 11:56:12 UTC
CVS commit by coolo: 

don't crash when you get a 0 pointer, but the real bug behind this is #83272
(so the page still crashes - now with an assert, but DUPLICATE)
CCMAIL: 88161-done@bugs.kde.org


  M +6 -2      render_image.cpp   1.136


--- kdelibs/khtml/rendering/render_image.cpp  #1.135:1.136
@@ -438,5 +438,9 @@ void RenderImage::updateImage(CachedImag
         tempimage->deref(this);
 
+    // if the loading finishes we might get an error and then the image is deleted
+    if ( image )
     berrorPic = image->isErrorImage();
+    else
+        berrorPic = true;
 }
 


Comment 4 Wilco Greven 2004-08-29 16:49:00 UTC
*** Bug 88374 has been marked as a duplicate of this bug. ***
Comment 5 Stephan Kulow 2004-08-29 20:46:52 UTC
will close as duplicate
Comment 6 Stephan Kulow 2004-08-29 20:47:30 UTC

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