Bug 319104 - High CPU usage and crash if I right-click the text box
Summary: High CPU usage and crash if I right-click the text box
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (other bugs)
Version First Reported In: 4.10.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL: http://www.greenheartgames.com/app/ga...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 09:12 UTC by King_DuckZ
Modified: 2021-01-12 04:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Backtrace (3.86 KB, text/plain)
2013-05-02 14:50 UTC, King_DuckZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description King_DuckZ 2013-04-30 09:12:52 UTC
Konqueror crashes after being unresponsive as soon as I right click on the "contact" text box at the bottom of the page. It has a weird behaviour when I scroll up or down both with the mouse wheel and the scroll bar. CPU usage gets very high. None of this happens on another browser I tried.

Reproducible: Always

Steps to Reproduce:
1. In Konqueror go to http://www.greenheartgames.com/app/game-dev-tycoon/
2. The page loads very slowly and as I scroll up or down the behaviour is strange. Wait or not for the pictures to load, this bug can be reproduced as soon as the text box at the bottom of the page appears.
3. Scroll down to the last text box (the big one to put your message in). Right click on it. See an empty rectangle being drawn (supposedly the menu), then the program crashes.
Actual Results:  
Crash.

Expected Results:  
Scrolling should work normally; the right-click menu should appear; the program should not crash.

I'm running an updated version of Sabayon Linux 64 bit. KDE comes from the Entropy package manager. Kernel is 3.8.0-sabayon.
Comment 1 Jekyll Wu 2013-05-02 14:09:14 UTC
Could you please provide the backtrace ?
Comment 2 King_DuckZ 2013-05-02 14:50:04 UTC
Created attachment 79626 [details]
Backtrace

Yes, I had to install the debug symbols but I was still able to reproduce the crash easily. I hope this helps.
Comment 3 Dawit Alemayehu 2013-05-04 13:28:19 UTC
(In reply to comment #2)
> Created attachment 79626 [details]
> Backtrace
> 
> Yes, I had to install the debug symbols but I was still able to reproduce
> the crash easily. I hope this helps.

The backtrace does not contain all the source file and line number information. That means the debug symbols were not present when you generated the crash. Did you restart (log out and log back in) KDE after installing the debug packages ?
Comment 4 Andrea Iacovitti 2013-05-04 15:31:17 UTC
kde 4.10.2 backtrace:
(It crashes at "delete popup;")


Thread 1 (Thread 0x7f6adbda6760 (LWP 21311)):
[KCrash Handler]
#6  0x00007f6ac7952a37 in khtml::LineEditWidget::contextMenuEvent (this=0x19fe0700, e=0x7fff4cd5fc70) at ../../khtml/rendering/render_form.cpp:1016
#7  0x00007f6ac794cb1f in khtml::RenderWidget::handleEvent (this=0x36e79b8, ev=...) at ../../khtml/rendering/render_replaced.cpp:1117
#8  0x00007f6ac78d0c91 in DOM::HTMLGenericFormElementImpl::defaultEventHandler (this=this@entry=0x38f8eb0, evt=evt@entry=0x1ab040d0) at ../../khtml/html/html_formimpl.cpp:1078
#9  0x00007f6ac78e354d in DOM::HTMLInputElementImpl::defaultEventHandler (this=0x38f8eb0, evt=0x1ab040d0) at ../../khtml/html/html_formimpl.cpp:1990
#10 0x00007f6ac786d908 in DOM::NodeImpl::dispatchGenericEvent (this=this@entry=0x38f8eb0, evt=evt@entry=0x1ab040d0) at ../../khtml/xml/dom_nodeimpl.cpp:494
#11 0x00007f6ac786de5e in DOM::NodeImpl::dispatchEvent (this=0x38f8eb0, evt=0x1ab040d0, exceptioncode=@0x7fff4cd5fea4: 0, tempEvent=true) at ../../khtml/xml/dom_nodeimpl.cpp:401
#12 0x00007f6ac77c894e in KHTMLView::dispatchMouseEvent (this=this@entry=0x294f500, eventId=eventId@entry=4, targetNode=0x38f8eb0, targetNodeNonShared=<optimized out>, cancelable=cancelable@entry=true, detail=1, _mouse=_mouse@entry=0x7fff4cd60c90, setUnder=setUnder@entry=true, mouseEventType=mouseEventType@entry=0, orient=orient@entry=0) at ../../khtml/khtmlview.cpp:3607
#13 0x00007f6ac77ca0d7 in KHTMLView::mousePressEvent (this=0x294f500, _mouse=0x7fff4cd60c90) at ../../khtml/khtmlview.cpp:1233
#14 0x00007f6ad8da12b3 in QWidget::event (this=0x294f500, event=0x7fff4cd60c90) at kernel/qwidget.cpp:8367
#15 0x00007f6ad914bd36 in QFrame::event (this=0x294f500, e=0x7fff4cd60c90) at widgets/qframe.cpp:557
#16 0x00007f6ac77ceaa5 in KHTMLView::widgetEvent (this=0x294f500, e=<optimized out>) at ../../khtml/khtmlview.cpp:2213
#17 0x00007f6ac77cf110 in KHTMLView::eventFilter (this=0x294f500, o=0x294c4d0, e=0x7fff4cd60c90) at ../../khtml/khtmlview.cpp:2058
#18 0x00007f6ad8340cc6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x294c4d0, event=0x7fff4cd60c90) at kernel/qcoreapplication.cpp:1025
#19 0x00007f6ad8d516dc in QApplicationPrivate::notify_helper (this=this@entry=0x106abd0, receiver=receiver@entry=0x294c4d0, e=e@entry=0x7fff4cd60c90) at kernel/qapplication.cpp:4552
#20 0x00007f6ad8d563eb in QApplication::notify (this=<optimized out>, receiver=0x294c4d0, e=0x7fff4cd60c90) at kernel/qapplication.cpp:4099
#21 0x00007f6ad9a85516 in KApplication::notify (this=0x7fff4cd61ad0, receiver=0x294c4d0, event=0x7fff4cd60c90) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f6ad8340b5e in QCoreApplication::notifyInternal (this=0x7fff4cd61ad0, receiver=0x294c4d0, event=0x7fff4cd60c90) at kernel/qcoreapplication.cpp:915
#23 0x00007f6ad8d5254b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=0x294c4d0, event=0x7fff4cd60c90, alienWidget=0x294c4d0, nativeWidget=0x11194d0, buttonDown=0x7f6ad98272a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#25 0x00007f6ad8dccfc4 in QETWidget::translateMouseEvent (this=this@entry=0x11194d0, event=event@entry=0x7fff4cd61400) at kernel/qapplication_x11.cpp:4523
#26 0x00007f6ad8dcbd51 in QApplication::x11ProcessEvent (this=0x7fff4cd61ad0, event=0x7fff4cd61400) at kernel/qapplication_x11.cpp:3646
#27 0x00007f6ad8df2bc2 in x11EventSourceDispatch (s=0x1069250, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f6ad494b355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f6ad494b688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f6ad494b744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6ad836f276 in QEventDispatcherGlib::processEvents (this=0x1038b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f6ad8df283e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f6ad833f8af in QEventLoop::processEvents (this=this@entry=0x7fff4cd617d0, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f6ad833fb38 in QEventLoop::exec (this=0x7fff4cd617d0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f6ad8344cf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0x00007f6adbaeea32 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../konqueror/src/konqmain.cpp:227
#37 0x00007f6adb6b7ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4cd61d48) at libc-start.c:228
#38 0x0000000000400771 in _start ()
Comment 5 Justin Zobel 2020-12-13 03:40:34 UTC
Thank you for the crash reports.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 6 Bug Janitor Service 2020-12-28 04:34:50 UTC
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!
Comment 7 Bug Janitor Service 2021-01-12 04:34:25 UTC
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!