Summary: | konqueror freezes when using tinymce editor | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | kavol <kavol> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | rasasi78 |
Priority: | NOR | ||
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kavol
2010-10-22 13:41:54 UTC
Hello: Same problem here with 4.7.4. This is the backtrace of the freeze: #0 DOM::Position::equivalentDownstreamPosition (this=0x7fffe3e1b180) at ../../khtml/xml/dom_position.cpp:466 #1 0x00007f3c006632aa in khtml::DeleteCollapsibleWhitespaceCommandImpl::deleteWhitespace (this=0x90799f0, pos=...) at ../../khtml/editing/htmlediting_impl.cpp:1049 #2 0x00007f3c006648bb in khtml::DeleteCollapsibleWhitespaceCommandImpl::doApply (this=0x90799f0) at ../../khtml/editing/htmlediting_impl.cpp:1146 #3 0x00007f3c0065d2ea in khtml::EditCommandImpl::apply (this=0x90799f0) at ../../khtml/editing/htmlediting_impl.cpp:236 #4 0x00007f3c0065ffa1 in khtml::CompositeEditCommandImpl::applyCommandToComposite (this=0x90836e0, cmd=...) at ../../khtml/editing/htmlediting_impl.cpp:351 #5 0x00007f3c00661028 in khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace (this=0x90836e0) at ../../khtml/editing/htmlediting_impl.cpp:477 #6 0x00007f3c00669eb0 in khtml::InputTextCommandImpl::execute (this=0x90836e0, text=...) at ../../khtml/editing/htmlediting_impl.cpp:1903 #7 0x00007f3c0066b113 in input (text=..., this=0x90836e0) at ../../khtml/editing/htmlediting_impl.cpp:1779 #8 khtml::TypingCommandImpl::insertText (this=0x907f4a0, text=...) at ../../khtml/editing/htmlediting_impl.cpp:2581 #9 0x00007f3c0066b2c5 in khtml::TypingCommandImpl::insertText0 (document=0x48b6ae0, text=...) at ../../khtml/editing/htmlediting_impl.cpp:2717 #10 0x00007f3c0065abb2 in DOM::Editor::handleKeyEvent (this=0xe22e810, _ke=0x93b9240) at ../../khtml/editing/editor.cpp:579 #11 0x00007f3c004e3540 in DOM::ElementImpl::defaultEventHandler (this=0x9cf6310, e=0x4febf60) at ../../khtml/xml/dom_elementimpl.cpp:851 #12 0x00007f3c004dc2d1 in DOM::NodeImpl::dispatchGenericEvent (this=0x9cf6310, evt=0x4febf60) at ../../khtml/xml/dom_nodeimpl.cpp:494 #13 0x00007f3c004dc78e in DOM::NodeImpl::dispatchEvent (this=0x9cf6310, evt=0x4febf60, exceptioncode=@0x7fffe3e1baec: 0, tempEvent=true) at ../../khtml/xml/dom_nodeimpl.cpp:401 #14 0x00007f3c004dd04e in DOM::NodeImpl::dispatchKeyEvent (this=<optimized out>, key=0x4fec5b0, keypress=<optimized out>) at ../../khtml/xml/dom_nodeimpl.cpp:668 #15 0x00007f3c00431a65 in KHTMLView::dispatchKeyEvent (this=0x429bc30, _ke=0x4fec5b0) at ../../khtml/khtmlview.cpp:1626 #16 0x00007f3c0043f115 in keyPressEvent (_ke=0x4fec5b0, this=0x429bc30) at ../../khtml/khtmlview.cpp:1705 #17 KHTMLView::keyPressEvent (this=0x429bc30, _ke=0x4fec5b0) at ../../khtml/khtmlview.cpp:1674 #18 0x00007f3c005c0e3c in khtml::RenderWidget::handleEvent (this=0xb752fd8, ev=...) at ../../khtml/rendering/render_replaced.cpp:1168 #19 0x00007f3c0053803d in DOM::HTMLFrameElementImpl::defaultEventHandler (this=0x4556610, e=0x4ff1400) at ../../khtml/html/html_baseimpl.cpp:312 #20 0x00007f3c004dc2d1 in DOM::NodeImpl::dispatchGenericEvent (this=0x4556620, evt=0x4ff1400) at ../../khtml/xml/dom_nodeimpl.cpp:494 #21 0x00007f3c004dc78e in DOM::NodeImpl::dispatchEvent (this=0x4556620, evt=0x4ff1400, exceptioncode=@0x7fffe3e1bf9c: 0, tempEvent=true) at ../../khtml/xml/dom_nodeimpl.cpp:401 #22 0x00007f3c004dd04e in DOM::NodeImpl::dispatchKeyEvent (this=<optimized out>, key=0x7fffe3e1c6f0, keypress=<optimized out>) at ../../khtml/xml/dom_nodeimpl.cpp:668 #23 0x00007f3c00431a65 in KHTMLView::dispatchKeyEvent (this=0xdf78700, _ke=0x7fffe3e1c6f0) at ../../khtml/khtmlview.cpp:1626 #24 0x00007f3c0043f115 in keyPressEvent (_ke=0x7fffe3e1c6f0, this=0xdf78700) at ../../khtml/khtmlview.cpp:1705 (...) I stopped gdb bt there, but if you need the rest of the backtrace, it's likely to be: #33 KHTMLView::keyPressEvent (this=0x429bc30, _ke=0x4fec5b0) at ../../khtml/khtmlview.cpp:1674 #34 0x00007f3c005c0e3c in khtml::RenderWidget::handleEvent (this=0xb752fd8, ev=...) at ../../khtml/rendering/render_replaced.cpp:1168 #35 0x00007f3c0053803d in DOM::HTMLFrameElementImpl::defaultEventHandler (this=0x4556610, e=0x4ff1400) at ../../khtml/html/html_baseimpl.cpp:312 #36 0x00007f3c004dc2d1 in DOM::NodeImpl::dispatchGenericEvent (this=0x4556620, evt=0x4ff1400) at ../../khtml/xml/dom_nodeimpl.cpp:494 #37 0x00007f3c004dc78e in DOM::NodeImpl::dispatchEvent (this=0x4556620, evt=0x4ff1400, exceptioncode=@0x7fffe3e1bf9c: 0, tempEvent=true) at ../../khtml/xml/dom_nodeimpl.cpp:401 #38 0x00007f3c004dd04e in DOM::NodeImpl::dispatchKeyEvent (this=<optimized out>, key=0x7fffe3e1c6f0, keypress=<optimized out>) at ../../khtml/xml/dom_nodeimpl.cpp:668 #39 0x00007f3c00431a65 in KHTMLView::dispatchKeyEvent (this=0xdf78700, _ke=0x7fffe3e1c6f0) at ../../khtml/khtmlview.cpp:1626 #40 0x00007f3c0043f115 in keyPressEvent (_ke=0x7fffe3e1c6f0, this=0xdf78700) at ../../khtml/khtmlview.cpp:1705 #41 KHTMLView::keyPressEvent (this=0xdf78700, _ke=0x7fffe3e1c6f0) at ../../khtml/khtmlview.cpp:1674 #42 0x00007f3c0043c789 in KHTMLView::eventFilter (this=0xdf78700, o=0x429bc30, e=0x7fffe3e1c6f0) at ../../khtml/khtmlview.cpp:2150 #43 0x00007f3c186a0338 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x429bc30, event=0x7fffe3e1c6f0) at kernel/qcoreapplication.cpp:986 #44 0x00007f3c177a41cf in notify_helper (e=0x7fffe3e1c6f0, receiver=0x429bc30, this=0x18d8b80) at kernel/qapplication.cpp:4555 #45 QApplicationPrivate::notify_helper (this=0x18d8b80, receiver=0x429bc30, e=0x7fffe3e1c6f0) at kernel/qapplication.cpp:4531 #46 0x00007f3c177a974e in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffe3e1c6f0) at kernel/qapplication.cpp:4000 #47 0x00007f3c19149b26 in KApplication::notify (this=0x7fffe3e1d740, receiver=0x429bc30, event=0x7fffe3e1c6f0) at ../../kdeui/kernel/kapplication.cpp:311 #48 0x00007f3c186a01ac in QCoreApplication::notifyInternal (this=0x7fffe3e1d740, receiver=0x429bc30, event=0x7fffe3e1c6f0) at kernel/qcoreapplication.cpp:876 ---Type <return> to continue, or q <return> to quit--- #49 0x00007f3c178449d9 in QKeyMapper::sendKeyEvent (keyWidget=0x429bc30, grab=<optimized out>, type=QEvent::KeyPress, code=79, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=32, nativeVirtualKey=111, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866 #50 0x00007f3c17844e4b in QKeyMapperPrivate::translateKeyEvent (this=0x192dd50, keyWidget=0x429bc30, event=0x7fffe3e1d1d0, grab=false) at kernel/qkeymapper_x11.cpp:1836 #51 0x00007f3c17820034 in QApplication::x11ProcessEvent (this=0x7fffe3e1d740, event=0x7fffe3e1d1d0) at kernel/qapplication_x11.cpp:3539 #52 0x00007f3c17848e62 in x11EventSourceDispatch (s=0x18d3b40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #53 0x00007f3c138db853 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #54 0x0000000000000000 in ?? () I also have a messages like this repeated indefinately on .xsession-errors: konqueror(7984)/khtml (caret) DOM::Position::equivalentLeafPosition: Position( 0xa2812f0 "BR" : 0 ) konqueror(7984)/khtml (caret) DOM::Position::equivalentLeafPosition: Position( 0xa2812f0 "BR" : 0 ) konqueror(7984)/khtml (caret) DOM::Position::equivalentLeafPosition: Position( 0xa2812f0 "BR" : 0 ) konqueror(7984)/khtml (caret) DOM::Position::equivalentLeafPosition: Position( 0xead9ba0 "#text" : 21443 ) If I use webkit kpart editor works and konqueror doesn't freeze. Still alive on 4.8.3 (backtrace excerpt) #0 DOM::Position::equivalentDownstreamPosition (this=0x7fffab4da060) at ../../khtml/xml/dom_position.cpp:466 #1 0x00007f313eb11f9a in khtml::DeleteCollapsibleWhitespaceCommandImpl::deleteWhitespace (this=this@entry=0x16b446e0, pos=...) at ../../khtml/editing/htmlediting_impl.cpp:1049 #2 0x00007f313eb1358c in khtml::DeleteCollapsibleWhitespaceCommandImpl::doApply (this=0x16b446e0) at ../../khtml/editing/htmlediting_impl.cpp:1146 #3 0x00007f313eb0c1aa in khtml::EditCommandImpl::apply (this=0x16b446e0) at ../../khtml/editing/htmlediting_impl.cpp:236 #4 0x00007f313eb0ec80 in khtml::CompositeEditCommandImpl::applyCommandToComposite (this=this@entry=0x6349600, cmd=...) at ../../khtml/editing/htmlediting_impl.cpp:351 #5 0x00007f313eb0fcf0 in khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace (this=this@entry=0x6349600) at ../../khtml/editing/htmlediting_impl.cpp:477 #6 0x00007f313eb188fd in khtml::InputTextCommandImpl::execute (this=this@entry=0x6349600, text=...) at ../../khtml/editing/htmlediting_impl.cpp:1903 #7 0x00007f313eb1c4eb in input (text=..., this=0x6349600) at ../../khtml/editing/htmlediting_impl.cpp:1779 #8 khtml::TypingCommandImpl::insertText (this=this@entry=0x5e35d90, text=...) at ../../khtml/editing/htmlediting_impl.cpp:2581 #9 0x00007f313eb1c69b in khtml::TypingCommandImpl::insertText0 (document=0x43fe7a0, text=...) at ../../khtml/editing/htmlediting_impl.cpp:2717 #10 0x00007f313eb09c4b in DOM::Editor::handleKeyEvent (this=0x9c87a10, _ke=0xaa70320) at ../../khtml/editing/editor.cpp:579 #11 0x00007f313e99f720 in DOM::ElementImpl::defaultEventHandler (this=0xb9e6b90, e=0x3cf3e60) at ../../khtml/xml/dom_elementimpl.cpp:851 #12 0x00007f313e9986a8 in DOM::NodeImpl::dispatchGenericEvent (this=this@entry=0xb9e6b90, evt=evt@entry=0x3cf3e60) at ../../khtml/xml/dom_nodeimpl.cpp:494 #13 0x00007f313e998bfe in DOM::NodeImpl::dispatchEvent (this=this@entry=0xb9e6b90, evt=evt@entry=0x3cf3e60, exceptioncode=@0x7fffab4da77c: 0, tempEvent=tempEvent@entry=true) at ../../khtml/xml/dom_nodeimpl.cpp:401 #14 0x00007f313e9994ad in DOM::NodeImpl::dispatchKeyEvent (this=0xb9e6b90, key=0xfecbec0, keypress=<optimized out>) at ../../khtml/xml/dom_nodeimpl.cpp:668 #15 0x00007f313e8f1005 in KHTMLView::dispatchKeyEvent (this=this@entry=0x9368010, _ke=0xfecbec0) at ../../khtml/khtmlview.cpp:1626 #16 0x00007f313e900585 in keyPressEvent (_ke=0xfecbec0, this=0x9368010) at ../../khtml/khtmlview.cpp:1705 #17 KHTMLView::keyPressEvent (this=0x9368010, _ke=0xfecbec0) at ../../khtml/khtmlview.cpp:1674 #18 0x00007f313ea77367 in khtml::RenderWidget::handleEvent (this=0xd4a89b0, ev=...) at ../../khtml/rendering/render_replaced.cpp:1168 #19 0x00007f313e9f1bd0 in DOM::HTMLFrameElementImpl::defaultEventHandler (this=0x69d3a40, e=0x3e94ac0) at ../../khtml/html/html_baseimpl.cpp:311 #20 0x00007f313e9986a8 in DOM::NodeImpl::dispatchGenericEvent (this=this@entry=0x69d3a50, evt=evt@entry=0x3e94ac0) at ../../khtml/xml/dom_nodeimpl.cpp:494 #21 0x00007f313e998bfe in DOM::NodeImpl::dispatchEvent (this=this@entry=0x69d3a50, evt=evt@entry=0x3e94ac0, exceptioncode=@0x7fffab4daafc: 0, tempEvent=tempEvent@entry=true) at ../../khtml/xml/dom_nodeimpl.cpp:401 #22 0x00007f313e9994ad in DOM::NodeImpl::dispatchKeyEvent (this=0x69d3a50, key=0x7fffab4db5d0, keypress=<optimized out>) at ../../khtml/xml/dom_nodeimpl.cpp:668 #23 0x00007f313e8f1005 in KHTMLView::dispatchKeyEvent (this=this@entry=0x7dbdce0, _ke=0x7fffab4db5d0) at ../../khtml/khtmlview.cpp:1626 #24 0x00007f313e900585 in keyPressEvent (_ke=0x7fffab4db5d0, this=0x7dbdce0) at ../../khtml/khtmlview.cpp:1705 #25 KHTMLView::keyPressEvent (this=0x7dbdce0, _ke=0x7fffab4db5d0) at ../../khtml/khtmlview.cpp:1674 Also confirmed on 4.8.4. I'm unable to test on newer KDE versions. Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone! I've tested this on a recent konqueror version: - konqueror 5.0.97 - KDE Frameworks 5.51.0 - Qt 5.11.2 Either basic[0] or full[1] tinymce version loads but fails to work. Konqueror does not crash and cpu load is more than acceptable (2% to 6%). This is all with khtml backend. When I say that it fails to work is that even that web page loads, the editor doesn't show any text and I can't either write anything on the edit frame. [0] https://www.tiny.cloud/docs/demo/basic-example/ [1] https://www.tiny.cloud/docs/demo/full-featured/ I also know that it doesn't work since webengine backend does show text and I can edit/write into the frame. Anyway, I'm not sure if this bug is useful as it is, probably developers would like one or several test cases in order to fix issues. HTH, regards, Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |