Bug 146147

Summary: Konqueror crash on http://www.hotelbirkenhof.org/es/kontakt/typo3blog.html
Product: [Applications] konqueror Reporter: Christian Boltz <kde-bugs>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: finex, frank78ac
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: backtrace
render_block.cpp.patch.diff

Description Christian Boltz 2007-05-30 14:46:37 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs

(initially reported as
https://bugzilla.novell.com/show_bug.cgi?id=278630 )

Konqueror crashes on loading
http://www.hotelbirkenhof.org/es/kontakt/typo3blog.html

(if it doesn't crash instantly, click somewhere in the menu)

This bug has been reproduced in KDE 3.5.6 and 3.5.7; it isn't reproducable on 3.5.5.

I'll attach the backtrace.
Comment 1 Christian Boltz 2007-05-30 14:47:05 UTC
Created attachment 20727 [details]
backtrace
Comment 2 Tommi Tervo 2007-05-30 15:07:45 UTC
#6  khtml::RenderBlock::addChildToFlow (this=0xa641644, newChild=0xa6416f0, 
    beforeChild=0xbac8748)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/rendering/render_object.h:143
#7  0xb5edcd76 in khtml::RenderFlow::addChild (this=0xa641644, 
    newChild=0xa6416f0, beforeChild=0xbac8748)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/rendering/render_flow.cpp:128
#8  0xb5e92bec in DOM::HTMLIFrameElementImpl::attach (this=0xa5fddf8)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/html/html_baseimpl.cpp:679
#9  0xb5e4452b in DOM::NodeBaseImpl::attach (this=0xa449258)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/xml/dom_nodeimpl.cpp:1402
#10 0xb5e492ca in DOM::ElementImpl::attach (this=0xa449258)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/xml/dom_elementimpl.cpp:539
#11 0xb5e4452b in DOM::NodeBaseImpl::attach (this=0xbabba88)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/xml/dom_nodeimpl.cpp:1402
#12 0xb5e492ca in DOM::ElementImpl::attach (this=0xbabba88)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/xml/dom_elementimpl.cpp:539
#13 0xb5e516c2 in DOM::NodeBaseImpl::appendChild (this=0xbbdd808, 
    newChild=0x8796000, exceptioncode=@0xbfb38410)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/xml/dom_nodeimpl.cpp:1308
#14 0xb5e9decf in DOM::HTMLElementImpl::setInnerHTML (this=0xbbdd808, 
    html=@0xbfb38664, exceptioncode=@0xbfb38410)
    at /root/kdelibs/kdelibs-3.5.7/./khtml/html/html_elementimpl.cpp:583
#15 0xb6010299 in DOM::HTMLElement::setInnerHTML (this=0xbfb38654, 
    html=@0xbfb38664)
Comment 3 patch_linams 2007-07-28 06:18:46 UTC
Created attachment 21269 [details]
render_block.cpp.patch.diff

Fix for the issue: check parent before going up.
Comment 4 FiNeX 2008-04-21 13:00:11 UTC
Cannot reproduce on konqueror 4 (trunk r797319)
It has been fixed on 3.5.8 too.
Comment 5 James Spahlinger 2008-04-22 23:35:08 UTC
Reproduced the crash in 3.5.9. Sadly looks like gentoo stripped the debug symbols :(. I'll recompile in a bit and get a meaningful trace out of this.

Easy way to replicate is load the site as specified and click the first menu item (Hotel). Konq goes down under pretty quickly.

It is fixed in 4.0.3.
Comment 6 Frank Reininghaus 2009-01-29 21:34:54 UTC
The page does not exist anymore, but it looks very much like a duplicate of a bug which is fixed.

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