Bug 201245 - konqueror crashes when I click on youtube link
Summary: konqueror crashes when I click on youtube link
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 199760 202265 204505 204945 208292 211793 216020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-23 16:51 UTC by Kenjiro Tanaka
Modified: 2011-11-18 04:51 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace from konqueror crash (8.83 KB, text/plain)
2009-07-24 17:25 UTC, Kenjiro Tanaka
Details
second backtrace for the konqueror crash I reported (20.84 KB, text/plain)
2009-07-24 21:48 UTC, Kenjiro Tanaka
Details
patch (5.28 KB, patch)
2010-01-07 05:56 UTC, Germain Garand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenjiro Tanaka 2009-07-23 16:51:49 UTC
Version:           4.2.98 (using KDE 4.2.98)
Compiler:          gcc-4.2.4 
OS:                Linux
Installed from:    Compiled From Sources

I am running KDE-4.3.0rc3 on Bluewhite64 Linux (x86_64) and Adobe Flash plugin (version 10).

I can access sites with flash plugin with no problem.  However if I go to www.youtube.com and click on any link for videos, when the browser starts to load the next page (the one I want to see) it crashes with "Signal 6 (Aborted)".

However, if I copy the URL for the very same video and paste on the address field then hit <ENTER>, the browser loads it with no problem and I can watch the video.

Any hints?
Comment 1 Dario Andres 2009-07-24 03:25:08 UTC
A backtrace could be useful in this case:
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks
Comment 2 Kenjiro Tanaka 2009-07-24 17:25:36 UTC
Created attachment 35606 [details]
backtrace from konqueror crash

This is the backtrace I got. I even recompiled QT with '-debug' to try and make it more useful. KDE packages were compiled with 'debugful'

I hope this helps.
Comment 3 Dario Andres 2009-07-24 17:44:29 UTC
It's weird, the backtrace is still lacking symbols for khtml(part of "kdelibs") and Qt functions. Did you properly installed the new compiled version with debug informantion on it? Thanks
Comment 4 Kenjiro Tanaka 2009-07-24 20:16:49 UTC
yes, I removed the "old" qt and installed the new one (with debug enabled). I even recompiled kdelibs to be sure.

This is what I use as cmake parameters when compiling kdelibs (and most of other kde packs):

cmake \
    -DCMAKE_BUILD_TYPE=debugfull \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DMAN_INSTALL_DIR=/usr/man \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    ..

then make, etc, etc

Should I be doing anything different?
Comment 5 Dario Andres 2009-07-24 20:18:55 UTC
No, the commands are ok.
Does any script/util runs the "strip" application on the libs ? (this will strip the debug symbols from them). It's weird.
Comment 6 Kenjiro Tanaka 2009-07-24 21:48:25 UTC
Created attachment 35610 [details]
second backtrace for the konqueror crash I reported

OK, now I REALLY took care of the "debugy symbols stripping". Now I think the backtrace is useful

Thanks for the tips
Comment 7 Dario Andres 2009-07-25 15:05:12 UTC
Thanks :) 
Pasting Backtrace Inline:
------

Application: Konqueror (kdeinit4), signal: Aborted
[Current thread is 0 (LWP 19699)]

Thread 5 (Thread 0x4194b950 (LWP 19803)):
#0  0x00007f0f92e0ab5a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0f93085b77 in QWaitCondition::wait (this=<value optimized out>, mutex=0x1152a40, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f0f9307a135 in QThreadPoolThread::run (this=0x11038a0) at concurrent/qthreadpool.cpp:140
#3  0x00007f0f93084ae2 in QThreadPrivate::start (arg=0x11038a0) at thread/qthread_unix.cpp:189
#4  0x00007f0f92e0638b in start_thread () from /lib/libpthread.so.0
#5  0x00007f0f8f796ced in clone () from /lib/libc.so.6

Thread 4 (Thread 0x4214c950 (LWP 19824)):
#0  0x00007f0f92e0ab5a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0f93085b77 in QWaitCondition::wait (this=<value optimized out>, mutex=0x1152a40, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f0f9307a135 in QThreadPoolThread::run (this=0xf00a00) at concurrent/qthreadpool.cpp:140
#3  0x00007f0f93084ae2 in QThreadPrivate::start (arg=0xf00a00) at thread/qthread_unix.cpp:189
#4  0x00007f0f92e0638b in start_thread () from /lib/libpthread.so.0
#5  0x00007f0f8f796ced in clone () from /lib/libc.so.6

Thread 3 (Thread 0x4294d950 (LWP 19825)):
#0  0x00007f0f92e0ab5a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0f93085b77 in QWaitCondition::wait (this=<value optimized out>, mutex=0x1152a40, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f0f9307a135 in QThreadPoolThread::run (this=0x9dcb10) at concurrent/qthreadpool.cpp:140
#3  0x00007f0f93084ae2 in QThreadPrivate::start (arg=0x9dcb10) at thread/qthread_unix.cpp:189
#4  0x00007f0f92e0638b in start_thread () from /lib/libpthread.so.0
#5  0x00007f0f8f796ced in clone () from /lib/libc.so.6

Thread 2 (Thread 0x4314e950 (LWP 19826)):
#0  0x00007f0f92e0ab5a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0f93085b77 in QWaitCondition::wait (this=<value optimized out>, mutex=0x1152a40, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f0f9307a135 in QThreadPoolThread::run (this=0xda5a70) at concurrent/qthreadpool.cpp:140
#3  0x00007f0f93084ae2 in QThreadPrivate::start (arg=0xda5a70) at thread/qthread_unix.cpp:189
#4  0x00007f0f92e0638b in start_thread () from /lib/libpthread.so.0
#5  0x00007f0f8f796ced in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f0f9353f700 (LWP 19699)):
[KCrash Handler]
#5  0x00007f0f8f6f2f05 in raise () from /lib/libc.so.6
#6  0x00007f0f8f6f4960 in abort () from /lib/libc.so.6
#7  0x00007f0f8f6ec37f in __assert_fail () from /lib/libc.so.6
#8  0x00007f0f8012fead in khtml::RenderBlock::layoutBlock (this=0x1763048, relayoutChildren=false) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:749
#9  0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1763048) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#10 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1763048) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#11 0x00007f0f80120d00 in khtml::RenderBlock::layoutInlineChildren (this=0x1762d80, relayoutChildren=true, breakBeforeLine=0) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/bidi.cpp:1410
#12 0x00007f0f8013038b in khtml::RenderBlock::layoutBlock (this=0x1762d80, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:833
#13 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1762d80) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#14 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1762d80) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#15 0x00007f0f8012ab6a in khtml::RenderBlock::insertFloatingObject (this=0x1762670, o=0x1762d80) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1954
#16 0x00007f0f8012c7d1 in khtml::RenderBlock::handleFloatingChild (this=0x1762670, child=0x1762d80, marginInfo=@0x7fff9b690940, handled=@0x7fff9b69090b)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:998
#17 0x00007f0f8012f1c7 in khtml::RenderBlock::handleSpecialChild (this=0x1762670, child=0x1762d80, marginInfo=@0x7fff9b690940, compactInfo=@0x7fff9b690920, handled=@0x7fff9b69090b)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:971
#18 0x00007f0f8012f5ae in khtml::RenderBlock::layoutBlockChildren (this=0x1762670, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1518
#19 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1762670, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#20 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1762670) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#21 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1762670) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#22 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x17625a8, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#23 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x17625a8, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#24 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x17625a8) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#25 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x17625a8) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#26 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x17624e0, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#27 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x17624e0, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#28 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x17624e0) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#29 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x17624e0) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#30 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x1762350, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#31 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1762350, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#32 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1762350) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#33 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1762350) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#34 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x1761980, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#35 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1761980, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#36 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1761980) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#37 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1761980) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#38 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x1717938, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#39 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1717938, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#40 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1717938) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#41 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1717938) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#42 0x00007f0f8012ab6a in khtml::RenderBlock::insertFloatingObject (this=0x1acac10, o=0x1717938) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1954
#43 0x00007f0f8012c7d1 in khtml::RenderBlock::handleFloatingChild (this=0x1acac10, child=0x1717938, marginInfo=@0x7fff9b6919c0, handled=@0x7fff9b69198b)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:998
#44 0x00007f0f8012f1c7 in khtml::RenderBlock::handleSpecialChild (this=0x1acac10, child=0x1717938, marginInfo=@0x7fff9b6919c0, compactInfo=@0x7fff9b6919a0, handled=@0x7fff9b69198b)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:971
#45 0x00007f0f8012f5ae in khtml::RenderBlock::layoutBlockChildren (this=0x1acac10, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1518
#46 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1acac10, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#47 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1acac10) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#48 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1acac10) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#49 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x1acab48, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#50 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1acab48, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#51 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1acab48) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#52 0x00007f0f801b8609 in khtml::RenderBody::layout (this=0x1acab48) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_body.cpp:91
#53 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1acab48) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#54 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x1aca9c8, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#55 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1aca9c8, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#56 0x00007f0f80130c3a in khtml::RenderBlock::layout (this=0x1aca9c8) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:736
#57 0x00007f0f7ffcc983 in khtml::RenderObject::layoutIfNeeded (this=0x1aca9c8) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_object.h:477
#58 0x00007f0f8012f786 in khtml::RenderBlock::layoutBlockChildren (this=0x1aca7d0, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:1555
#59 0x00007f0f801303a0 in khtml::RenderBlock::layoutBlock (this=0x1aca7d0, relayoutChildren=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_block.cpp:835
#60 0x00007f0f801b2c8c in khtml::RenderCanvas::layout (this=0x1aca7d0) at /files/linux/tmp/kdelibs-4.2.98/khtml/rendering/render_canvas.cpp:187
#61 0x00007f0f7ffc8bff in KHTMLView::layout (this=0x1142300) at /files/linux/tmp/kdelibs-4.2.98/khtml/khtmlview.cpp:1008
#62 0x00007f0f8006109f in DOM::DocumentImpl::updateLayout (this=0xda5090) at /files/linux/tmp/kdelibs-4.2.98/khtml/xml/dom_docimpl.cpp:1498
#63 0x00007f0f80280382 in KJS::DOMNode::getValueProperty (this=0x7f0f7d9d8140, exec=0x7fff9b694dd0, token=64) at /files/linux/tmp/kdelibs-4.2.98/khtml/ecma/kjs_dom.cpp:373
#64 0x00007f0f80286ada in KJS::staticValueGetter<KJS::DOMNode> (exec=0x7fff9b694dd0, slot=@0x7fff9b692770) at /files/linux/tmp/kdelibs-4.2.98/kjs/lookup.h:147
#65 0x00007f0f7fb35ad5 in KJS::PropertySlot::getValue (this=0x7fff9b692770, exec=0x7fff9b694dd0, originalObject=0x7f0f7d9d8140, propertyName=@0x11e4518)
    at /files/linux/tmp/kdelibs-4.2.98/kjs/property_slot.h:46
#66 0x00007f0f7fb34534 in KJS::JSObject::get (this=0x7f0f7d9d8140, exec=0x7fff9b694dd0, propertyName=@0x11e4518) at /files/linux/tmp/kdelibs-4.2.98/kjs/object.cpp:132
#67 0x00007f0f7fb52f04 in KJS::Machine::runBlock (exec=0x7fff9b694dd0, codeBlock=@0x11e4640, parentExec=0x7fff9b697650) at codes.def:673
#68 0x00007f0f7fb304f0 in KJS::FunctionImp::callAsFunction (this=0x7f0f7d9d84c0, exec=0x7fff9b697650, thisObj=0x7f0f7d9f0000, args=@0x7fff9b6952e0)
    at /files/linux/tmp/kdelibs-4.2.98/kjs/function.cpp:144
#69 0x00007f0f7fb35590 in KJS::JSObject::call (this=0x7f0f7d9d84c0, exec=0x7fff9b697650, thisObj=0x7f0f7d9f0000, args=@0x7fff9b6952e0) at /files/linux/tmp/kdelibs-4.2.98/kjs/object.cpp:69
#70 0x00007f0f7fb5cb2f in KJS::Machine::runBlock (exec=0x7fff9b697650, codeBlock=@0xecb540, parentExec=0x7fff9b699fd0) at codes.def:1192
#71 0x00007f0f7fb304f0 in KJS::FunctionImp::callAsFunction (this=0x7f0f7d9d7f80, exec=0x7fff9b699fd0, thisObj=0x7f0f7d9d8040, args=@0x7fff9b697b60)
    at /files/linux/tmp/kdelibs-4.2.98/kjs/function.cpp:144
#72 0x00007f0f7fb35590 in KJS::JSObject::call (this=0x7f0f7d9d7f80, exec=0x7fff9b699fd0, thisObj=0x7f0f7d9d8040, args=@0x7fff9b697b60) at /files/linux/tmp/kdelibs-4.2.98/kjs/object.cpp:69
#73 0x00007f0f7fb5cb2f in KJS::Machine::runBlock (exec=0x7fff9b699fd0, codeBlock=@0xbf2d90, parentExec=0x0) at codes.def:1192
#74 0x00007f0f7faf857f in KJS::FunctionBodyNode::execute (this=0xbf2d00, exec=0x7fff9b699fd0) at /files/linux/tmp/kdelibs-4.2.98/kjs/nodes.cpp:928
#75 0x00007f0f7fb376fb in KJS::Interpreter::evaluate (this=0xbc70e0, sourceURL=@0x7fff9b69a350, startingLineNumber=2260, code=0xbf2990, codeLength=409, thisV=0x7f0f7d9f0000)
    at /files/linux/tmp/kdelibs-4.2.98/kjs/interpreter.cpp:556
#76 0x00007f0f7fb37929 in KJS::Interpreter::evaluate (this=0xbc70e0, sourceURL=@0x7fff9b69a350, startingLineNumber=2260, code=@0x7fff9b69a340, thisV=0x7f0f7d9f0000)
    at /files/linux/tmp/kdelibs-4.2.98/kjs/interpreter.cpp:496
#77 0x00007f0f802c8950 in KJS::KJSProxyImpl::evaluate (this=0xadbf10, filename=@0x7fff9b69a480, baseLine=2260, str=@0x7fff9b69a690, n=@0x7fff9b69a5b0, completion=0x7fff9b69a460)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/ecma/kjs_proxy.cpp:158
#78 0x00007f0f7ffff1cc in KHTMLPart::executeScript (this=0x11859e0, filename=@0x7fff9b69a560, baseLine=2260, n=@0x7fff9b69a5b0, script=@0x7fff9b69a690)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/khtml_part.cpp:1328
#79 0x00007f0f800bc0c9 in khtml::HTMLTokenizer::scriptExecution (this=0x11d8e40, str=@0x7fff9b69a690, scriptURL=@0x7fff9b69a780, baseLine=2260)
    at /files/linux/tmp/kdelibs-4.2.98/khtml/html/htmltokenizer.cpp:501
#80 0x00007f0f800bcab7 in khtml::HTMLTokenizer::scriptHandler (this=0x11d8e40) at /files/linux/tmp/kdelibs-4.2.98/khtml/html/htmltokenizer.cpp:454
#81 0x00007f0f800bd945 in khtml::HTMLTokenizer::parseSpecial (this=0x11d8e40, src=@0x11d93a8) at /files/linux/tmp/kdelibs-4.2.98/khtml/html/htmltokenizer.cpp:369
#82 0x00007f0f800c0db5 in khtml::HTMLTokenizer::parseTag (this=0x11d8e40, src=@0x11d93a8) at /files/linux/tmp/kdelibs-4.2.98/khtml/html/htmltokenizer.cpp:1550
#83 0x00007f0f800c1786 in khtml::HTMLTokenizer::write (this=0x11d8e40, str=@0x7fff9b69b1a0, appendData=true) at /files/linux/tmp/kdelibs-4.2.98/khtml/html/htmltokenizer.cpp:1810
#84 0x00007f0f7fff1d84 in KHTMLPart::write (this=0x11859e0, 
    data=0x15b51c8 "</a></td>\n\t\t\t\t\t<td><a href=\"/partners\" \n>Partnerships</a></td>\n\t\t\t\t\t<td><a href=\"http://www.google.com/support/forum/p/youtube?hl=en\" \n>Community Help Forums</a></td>\n\t\t\t\t\t<td><a href=\"/t/copyright_no"..., len=1929) at /files/linux/tmp/kdelibs-4.2.98/khtml/khtml_part.cpp:2100
#85 0x00007f0f7fff4f47 in KHTMLPart::slotData (this=0x11859e0, kio_job=0x1009480, data=@0x7fff9b69bb80) at /files/linux/tmp/kdelibs-4.2.98/khtml/khtml_part.cpp:1785
#86 0x00007f0f7fffd492 in KHTMLPart::qt_metacall (this=0x11859e0, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fff9b69b730) at /files/linux/tmp/kdelibs-4.2.98/build/khtml/khtml_part.moc:271
#87 0x00007f0f93191834 in QMetaObject::activate (sender=0x1009480, from_signal_index=<value optimized out>, to_signal_index=40, argv=0xffffffffffffffff) at kernel/qobject.cpp:3120
#88 0x00007f0f9201429f in KIO::TransferJob::data (this=0x1009480, _t1=0x1009480, _t2=@0x7fff9b69bb80) at /files/linux/tmp/kdelibs-4.2.98/build/kio/jobclasses.moc:364
#89 0x00007f0f92014b70 in KIO::TransferJob::slotData (this=0x1009480, _data=@0x7fff9b69bb80) at /files/linux/tmp/kdelibs-4.2.98/kio/kio/job.cpp:903
#90 0x00007f0f9201ed4d in KIO::TransferJob::qt_metacall (this=0x1009480, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff9b69b8d0) at /files/linux/tmp/kdelibs-4.2.98/build/kio/jobclasses.moc:344
#91 0x00007f0f93191834 in QMetaObject::activate (sender=0x11a5110, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3120
#92 0x00007f0f920c8bb9 in KIO::SlaveInterface::data (this=0x11a5110, _t1=@0x7fff9b69bb80) at /files/linux/tmp/kdelibs-4.2.98/build/kio/slaveinterface.moc:140
#93 0x00007f0f920ca52c in KIO::SlaveInterface::dispatch (this=0x11a5110, _cmd=100, rawdata=@0x7fff9b69bb80) at /files/linux/tmp/kdelibs-4.2.98/kio/kio/slaveinterface.cpp:163
#94 0x00007f0f920ca452 in KIO::SlaveInterface::dispatch (this=0x11a5110) at /files/linux/tmp/kdelibs-4.2.98/kio/kio/slaveinterface.cpp:91
#95 0x00007f0f920beecb in KIO::Slave::gotInput (this=0x11a5110) at /files/linux/tmp/kdelibs-4.2.98/kio/kio/slave.cpp:322
#96 0x00007f0f920c0131 in KIO::Slave::qt_metacall (this=0x11a5110, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff9b69bcf0) at /files/linux/tmp/kdelibs-4.2.98/build/kio/slave.moc:76
#97 0x00007f0f93191834 in QMetaObject::activate (sender=0xcbff00, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3120
#98 0x00007f0f91fe919e in KIO::Connection::readyRead (this=0xcbff00) at /files/linux/tmp/kdelibs-4.2.98/build/kio/connection.moc:86
#99 0x00007f0f91fea01a in KIO::ConnectionPrivate::dequeue (this=0x1103990) at /files/linux/tmp/kdelibs-4.2.98/kio/kio/connection.cpp:82
#100 0x00007f0f91feae9c in KIO::Connection::qt_metacall (this=0xcbff00, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbb0660) at /files/linux/tmp/kdelibs-4.2.98/build/kio/connection.moc:73
#101 0x00007f0f9318cd6f in QObject::event (this=0xcbff00, e=0x10a0e90) at kernel/qobject.cpp:1118
#102 0x00007f0f90376ddf in QApplicationPrivate::notify_helper (this=0x6a7540, receiver=0xcbff00, e=0x10a0e90) at kernel/qapplication.cpp:4057
#103 0x00007f0f9037b9c5 in QApplication::notify (this=0x7fff9b69c760, receiver=0xcbff00, e=0x10a0e90) at kernel/qapplication.cpp:4022
#104 0x00007f0f91554931 in KApplication::notify (this=0x7fff9b69c760, receiver=0xcbff00, event=0x10a0e90) at /files/linux/tmp/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#105 0x00007f0f9317aa14 in QCoreApplication::notifyInternal (this=0x7fff9b69c760, receiver=0xcbff00, event=0x10a0e90) at kernel/qcoreapplication.cpp:610
#106 0x00007f0f9317ba6f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614630) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#107 0x00007f0f931a80a3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#108 0x00007f0f8edfc9e4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#109 0x00007f0f8edffce5 in ?? () from /usr/lib/libglib-2.0.so.0
#110 0x00007f0f8ee001cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#111 0x00007f0f931a846f in QEventDispatcherGlib::processEvents (this=0x613d80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#112 0x00007f0f9040efef in QGuiEventDispatcherGlib::processEvents (this=0x4cf3, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#113 0x00007f0f93179bb5 in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fff9b69c620) at kernel/qeventloop.cpp:149
#114 0x00007f0f93179ed6 in QEventLoop::exec (this=0x7fff9b69c660, flags=@0x7fff9b69c670) at kernel/qeventloop.cpp:200
#115 0x00007f0f9317bdc4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#116 0x00007f0f86ea3f5c in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#117 0x0000000000407555 in launch (argc=2, _name=0x678f28 "/usr/bin/konqueror", args=0x678f44 "", cwd=0x0, envc=0, envs=0x678f4c "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x678f54 "coruscant;1248464497;32044;18883_TIME2923981188") at /files/linux/tmp/kdelibs-4.2.98/kinit/kinit.cpp:676
#118 0x0000000000407da6 in handle_launcher_request (sock=7, who=0x40b8cc "launcher") at /files/linux/tmp/kdelibs-4.2.98/kinit/kinit.cpp:1168
#119 0x00000000004086f2 in handle_requests (waitForPid=0) at /files/linux/tmp/kdelibs-4.2.98/kinit/kinit.cpp:1361
#120 0x0000000000409051 in main (argc=2, argv=0x7fff9b69de18, envp=0x7fff9b69de30) at /files/linux/tmp/kdelibs-4.2.98/kinit/kinit.cpp:1788
Comment 8 Dario Andres 2009-07-25 15:09:17 UTC
Bug 198875 has the ~same~ backtrace. Thanks
Comment 9 Dario Andres 2009-08-02 05:31:19 UTC
*** Bug 202265 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2009-08-21 09:08:15 UTC
*** Bug 204505 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-08-26 00:43:49 UTC
*** Bug 204945 has been marked as a duplicate of this bug. ***
Comment 12 Kenjiro Tanaka 2009-09-08 22:29:12 UTC
Just to let you guys know that the crash still happens on KDE-4.3.1.
Comment 13 Dario Andres 2009-11-25 17:01:15 UTC
From bug 216020 (updated backtrace on KDE SC 4.3.3):
---
What I was doing when the application crashed:
The page I tried to open in a new tab (restore session is great!):
http://www.youtube.com/watch?v=e9VbXd7i_2w

The page I came from (the only open page):
http://www.youtube.com/results?search_type=videos&search_query=heidelberg&search_sort=video_date_uploaded&page=3

I have no flash installed, and konqueror crashes consistently when I try to
open the page in a new tab again, but not when I open it without creating a new
tab.
Comment 14 Dario Andres 2009-11-25 17:01:20 UTC
*** Bug 216020 has been marked as a duplicate of this bug. ***
Comment 15 Germain Garand 2010-01-07 05:47:14 UTC
the !minMaxKnown assert being triggered is a sign that somehow an object's min-max width was invalidated during layout. Should not happen.

That in turn, is a probable sign that a script was triggered in the middle of layout (which is wrong) and changed a style.

Further investigation leads to the use of RenderLayer::scrollToX/YOffset by checkScrollbarsAfterLayout. This is wrong because scrollToOffset fires a scroll event that can trigger a script. It shouldn't have been used in a function that is called during layout.

I'll attach a patch to fix that and make sure it doesn't happen again.
Comment 16 Germain Garand 2010-01-07 05:56:27 UTC
Created attachment 39635 [details]
patch

also adds a stupid isPerformingLayout() function to RenderCanvas so that it's easier in the future to detect if some method was unduly called during layout
(e.g. setStyle or such)
Comment 17 Maksim Orlovich 2010-01-07 06:53:37 UTC
Cool. This reminds me, though: could you perhaps explain 
what repaintDuringLayout is for?
(See also https://bugs.kde.org/show_bug.cgi?id=220360#c1)
Comment 18 Germain Garand 2010-01-08 03:03:43 UTC
@maks: that method is really badly named, just like repaint(), it's not an actual repaint, just an invalidation of the previous rectangle the object occupied on screen just before we do its layout again, then its new rectangle is invalidated once layout is done.

so here the repaint() code is accessing some lineboxes that have been dirtied and have a deleted root box... ennoying
Comment 19 Germain Garand 2010-01-18 05:21:37 UTC
SVN commit 1076384 by ggarand:

Don't use scrollToXOffset/scrollToYOffset during layout -
they might trigger a script through the firing of a scroll event.

Add isPerformingLayout method to RenderCanvas to ease debugging and
catching of in-layout conditions.


BUG: 201245

 M  +5 -0      render_canvas.cpp  
 M  +4 -0      render_canvas.h  
 M  +7 -11     render_layer.cpp  
 M  +3 -1      render_layer.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1076384
Comment 20 Maksim Orlovich 2010-01-24 17:16:49 UTC
*** Bug 199760 has been marked as a duplicate of this bug. ***
Comment 21 Martin Koller 2011-05-22 00:06:45 UTC
*** Bug 208292 has been marked as a duplicate of this bug. ***
Comment 22 Dawit Alemayehu 2011-11-18 04:51:26 UTC
*** Bug 211793 has been marked as a duplicate of this bug. ***