khtml still getting asserts on www.novinky.cz

Maks Orlovich maksim at kde.org
Wed Dec 14 16:52:03 GMT 2005


On Wednesday 14 December 2005 11:29, Pavel Troller wrote:
> > yinglcs at aim.com wrote:
> > >I tried loading that site with Konqueror 3.3.1-5.8 Red Hat).
> > >That site  www.novinky.cz loads fine with that build.
> >
> > That's because it's the Red Hat build.
> >
> > Assertion tests are disabled for non-debug builds.
>
> Or maybe You didn't hit the page which crashes. It doesn't occur on all
> of them. Currently, 100% reproducibly crashes the following page:
>
> http://www.novinky.cz/zahranicni/72130-ropny-terminal-u-londyna-znovu-v-pla
>menech.html

Don't really have the time to debug this properly, but the improperly attached 
element gets attached like this:

2: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM8NodeImpl6attachEv+0x88) [0xb618a4b8]
3: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x46) 
[0xb618a5d6]
4: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
5: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x2c) 
[0xb618a5bc]
6: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
7: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x2c) 
[0xb618a5bc]
8: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
9: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x2c) 
[0xb618a5bc]
10: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
11: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM11ElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x121) 
[0xb6190761]
12: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM15HTMLElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x20) 
[0xb61ae3f0]
13: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM11ElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x1cc) 
[0xb619080c]
14: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM15HTMLElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x20) 
[0xb61ae3f0]
15: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM11ElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x1cc) 
[0xb619080c]
16: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM15HTMLElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x20) 
[0xb61ae3f0]
17: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM11ElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x1cc) 
[0xb619080c]
18: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM15HTMLElementImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0x20) 
[0xb61ae3f0]
19: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM12DocumentImpl11recalcStyleENS_8NodeImpl11StyleChangeE+0xce) 
[0xb617fc7e]
20: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM12DocumentImpl15updateRenderingEv+0x31) [0xb61777a1]
21: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM12DocumentImpl24updateDocumentsRenderingEv+0x7f) [0xb617b40f]
22: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM8NodeImpl20dispatchGenericEventEPNS_9EventImplERi+0x169) [0xb61885e9]
23: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM8NodeImpl13dispatchEventEPNS_9EventImplERib+0x4d) [0xb6188a9d]
24: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM8NodeImpl17dispatchHTMLEventEibb+0x63) [0xb6189e03]
25: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM25HTMLObjectBaseElementImpl6attachEv+0x15c) [0xb61cb91c]
26: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM20HTMLEmbedElementImpl6attachEv+0x6a) 
[0xb61cbc8a]
27: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x2c) 
[0xb618a5bc]
28: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
29: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x2c) 
[0xb618a5bc]
30: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
31: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM12NodeBaseImpl6attachEv+0x2c) 
[0xb618a5bc]
32: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM11ElementImpl6attachEv+0x4c) 
[0xb618d62c]
33: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3DOM12NodeBaseImpl11appendChildEPNS_8NodeImplERi+0x15f) [0xb618937f]
34: /opt/kde3.4/lib/libkhtml.so.4(_ZN3DOM4Node11appendChildERKS0_+0x38) 
[0xb62ef098]
35: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3KJS16DOMNodeProtoFunc7tryCallEPNS_9ExecStateERNS_6ObjectERKNS_4ListE+0x426) 
[0xb627afe6]
36: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3KJS11DOMFunction4callEPNS_9ExecStateERNS_6ObjectERKNS_4ListE+0x31) 
[0xb62717a1]
37: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS6Object4callEPNS_9ExecStateERS0_RKNS_4ListE+0xbe) [0xb5f70b6e]
38: /opt/kde3.4/lib/libkjs.so.1
(_ZNK3KJS16FunctionCallNode8evaluateEPNS_9ExecStateE+0x36b) [0xb5f413db]
39: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS17ExprStatementNode7executeEPNS_9ExecStateE+0x98) [0xb5f42c48]
40: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS18SourceElementsNode7executeEPNS_9ExecStateE+0xef) [0xb5f46def]
41: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS9BlockNode7executeEPNS_9ExecStateE+0x3f) [0xb5f42acf]
42: /opt/kde3.4/lib/libkjs.so.1(_ZN3KJS6IfNode7executeEPNS_9ExecStateE+0x1df) 
[0xb5f42f5f]
43: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS18SourceElementsNode7executeEPNS_9ExecStateE+0x62) [0xb5f46d62]
44: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS9BlockNode7executeEPNS_9ExecStateE+0x3f) [0xb5f42acf]
45: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS9ForInNode7executeEPNS_9ExecStateE+0x719) [0xb5f44799]
46: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS18SourceElementsNode7executeEPNS_9ExecStateE+0x62) [0xb5f46d62]
47: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS9BlockNode7executeEPNS_9ExecStateE+0x3f) [0xb5f42acf]
48: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS19DeclaredFunctionImp7executeEPNS_9ExecStateE+0x32) [0xb5f6b122]
49: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS11FunctionImp4callEPNS_9ExecStateERNS_6ObjectERKNS_4ListE+0x130) 
[0xb5f6add0]
50: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS6Object4callEPNS_9ExecStateERS0_RKNS_4ListE+0xbe) [0xb5f70b6e]
51: /opt/kde3.4/lib/libkjs.so.1
(_ZNK3KJS16FunctionCallNode8evaluateEPNS_9ExecStateE+0x36b) [0xb5f413db]
52: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS17ExprStatementNode7executeEPNS_9ExecStateE+0x98) [0xb5f42c48]
53: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS18SourceElementsNode7executeEPNS_9ExecStateE+0x62) [0xb5f46d62]
54: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS9BlockNode7executeEPNS_9ExecStateE+0x3f) [0xb5f42acf]
55: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS14InterpreterImp8evaluateERKNS_7UStringERKNS_5ValueE+0x649) 
[0xb5f5ded9]
56: /opt/kde3.4/lib/libkjs.so.1
(_ZN3KJS11Interpreter8evaluateERKNS_7UStringERKNS_5ValueE+0x29) [0xb5f71669]
57: /opt/kde3.4/lib/libkhtml.so.4
(_ZN3KJS12KJSProxyImpl8evaluateE7QStringiRKS1_RKN3DOM4NodeEPNS_10CompletionE+0x142) 
[0xb62ba1d2]
58: /opt/kde3.4/lib/libkhtml.so.4
(_ZN9KHTMLPart13executeScriptERK7QStringiRKN3DOM4NodeES2_+0xdf) [0xb6141e9f]
59: /opt/kde3.4/lib/libkhtml.so.4
(_ZN5khtml13HTMLTokenizer15scriptExecutionERK7QStringS3_i+0x12a) [0xb61a2d5a]


So basically, recalcStyle from within attach does weird stuff, probably 
attaches some of our children, etc. I vaguely recall debugging/fixing(?) this 
before. Don't have time to look at it in detail, ATM, though





More information about the kfm-devel mailing list