Bug 210736 - Pressing a key on Facebook or Hotmail line-edits crashes Konqueror [DOM::ElementImpl::tagName, khtml::DeleteCollapsibleWhitespaceCommandImpl::deleteWhitespace, khtml::DeleteCollapsibleWhitespaceCommandImpl::doApply]
Summary: Pressing a key on Facebook or Hotmail line-edits crashes Konqueror [DOM::Elem...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 204343 210621 216858 223016 262926 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-16 01:32 UTC by Matthew Millar
Modified: 2018-11-30 03:46 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.60 KB, text/plain)
2010-03-30 19:28 UTC, jamundso
Details
New crash information added by DrKonqi (7.92 KB, text/plain)
2010-10-22 12:42 UTC, Jaroslav Reznik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Millar 2009-10-16 01:32:34 UTC
Application that crashed: konqueror
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-020631rc9-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I pressed H whilst trying to update my facebook status, and it crashed.

It can be reproduced, by pressing h or H as the first letter in the profile status update bar

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f0f6fcba46c in DOM::ElementImpl::tagName (this=0x7fff58f98360) at /build/buildd/kde4libs-4.3.2/khtml/xml/dom_elementimpl.cpp:491
#6  0x00007f0f6fe44171 in khtml::DeleteCollapsibleWhitespaceCommandImpl::deleteWhitespace (this=0x56a9b20, pos=<value optimized out>)
    at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:1014
#7  0x00007f0f6fe459d3 in khtml::DeleteCollapsibleWhitespaceCommandImpl::doApply (this=0x56a9b20) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:1058
#8  0x00007f0f6fe3bec7 in khtml::EditCommandImpl::apply (this=0x7fff58f98360) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:251
#9  0x00007f0f6fe41bee in khtml::CompositeEditCommandImpl::applyCommandToComposite (this=0x31a6560, cmd=@0x7fff58f98b90) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:377
#10 0x00007f0f6fe423ed in khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace (this=0x31a6560) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:503
#11 0x00007f0f6fe4adb5 in khtml::InputTextCommandImpl::execute (this=0x31a6560, text=@0x7fff58f98ec0) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:1645
#12 0x00007f0f6fe41e1a in khtml::TypingCommandImpl::insertText (this=0x56043a0, text=@0x7fff58f98ec0) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting_impl.cpp:2373
#13 0x00007f0f6fe3b84e in khtml::TypingCommand::insertText (document=0x2b746a0, text=@0x7fff58f98ec0) at /build/buildd/kde4libs-4.3.2/khtml/editing/htmlediting.cpp:745
#14 0x00007f0f6fe36fa4 in DOM::Editor::handleKeyEvent (this=0x2c22b10, _ke=<value optimized out>) at /build/buildd/kde4libs-4.3.2/khtml/editing/editor.cpp:528
#15 0x00007f0f6fcb8b21 in DOM::ElementImpl::defaultEventHandler (this=0x4501c40, e=0x54a8010) at /build/buildd/kde4libs-4.3.2/khtml/xml/dom_elementimpl.cpp:810
#16 0x00007f0f6fcaffac in DOM::NodeImpl::dispatchGenericEvent (this=0x4501c40, evt=0x54a8010) at /build/buildd/kde4libs-4.3.2/khtml/xml/dom_nodeimpl.cpp:526
#17 0x00007f0f6fcb018e in DOM::NodeImpl::dispatchEvent (this=0x4501c40, evt=0x54a8010, exceptioncode=@0x7fff58f990a4, tempEvent=true) at /build/buildd/kde4libs-4.3.2/khtml/xml/dom_nodeimpl.cpp:453
#18 0x00007f0f6fcb0b10 in DOM::NodeImpl::dispatchKeyEvent (this=0x4501c40, key=0x7fff58f99ab0, keypress=<value optimized out>) at /build/buildd/kde4libs-4.3.2/khtml/xml/dom_nodeimpl.cpp:694
#19 0x00007f0f6fc137ed in KHTMLView::dispatchKeyEvent (this=0x121c9f0, _ke=0x7fff58f99ab0) at /build/buildd/kde4libs-4.3.2/khtml/khtmlview.cpp:1628
#20 0x00007f0f6fc1c5b4 in KHTMLView::keyPressEvent (this=0x121c9f0, _ke=0x7fff58f99ab0) at /build/buildd/kde4libs-4.3.2/khtml/khtmlview.cpp:1749
#21 0x00007f0f84b66faa in QWidget::event (this=0x121c9f0, event=0x7fff58f99ab0) at kernel/qwidget.cpp:7584
#22 0x00007f0f84ed9f0b in QFrame::event (this=0x121c9f0, e=0x7fff58f99ab0) at widgets/qframe.cpp:559
#23 0x00007f0f84f6b639 in QAbstractScrollArea::event (this=0x121c9f0, e=0x7fff58f99ab0) at widgets/qabstractscrollarea.cpp:918
#24 0x00007f0f6fc1acb1 in KHTMLView::event (this=0x121c9f0, e=0x7fff58f99ab0) at /build/buildd/kde4libs-4.3.2/khtml/khtmlview.cpp:546
#25 0x00007f0f84b15f4d in QApplicationPrivate::notify_helper (this=0x958f70, receiver=0x121c9f0, e=0x7fff58f99ab0) at kernel/qapplication.cpp:4056
#26 0x00007f0f84b1f0cf in QApplication::notify (this=<value optimized out>, receiver=0x121c9f0, e=0x7fff58f99ab0) at kernel/qapplication.cpp:3662
#27 0x00007f0f85c28abb in KApplication::notify (this=0x7fff58f9be90, receiver=0x121c9f0, event=0x7fff58f99ab0) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#28 0x00007f0f875506ac in QCoreApplication::notifyInternal (this=0x7fff58f9be90, receiver=0x121c9f0, event=0x7fff58f99ab0) at kernel/qcoreapplication.cpp:610
#29 0x00007f0f84bab6a4 in QKeyMapper::sendKeyEvent (keyWidget=0x121c9f0, grab=<value optimized out>, type=QEvent::KeyPress, code=72, modifiers={i = 1492753632}, text=@0x7fff58f99cd0, 
    autorepeat=false, count=1, nativeScanCode=43, nativeVirtualKey=104, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1675
#30 0x00007f0f84bada02 in QKeyMapperPrivate::translateKeyEvent (this=0x98b140, keyWidget=0x121c9f0, event=0x7fff58f9b8e0, grab=96) at kernel/qkeymapper_x11.cpp:1645
#31 0x00007f0f84b860e6 in QApplication::x11ProcessEvent (this=0x7fff58f9be90, event=0x7fff58f9b8e0) at kernel/qapplication_x11.cpp:3443
#32 0x00007f0f84baf454 in x11EventSourceDispatch (s=0x95cc20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f0f835a7b1a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f0f835ab4a8 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007f0f835ab66c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f0f87579a8f in QEventDispatcherGlib::processEvents (this=0x958680, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#37 0x00007f0f84baebdf in QGuiEventDispatcherGlib::processEvents (this=0x7fff58f98360, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007f0f8754ef42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1492761552}) at kernel/qeventloop.cpp:149
#39 0x00007f0f8754f314 in QEventLoop::exec (this=0x7fff58f9bc10, flags={i = 1492761632}) at kernel/qeventloop.cpp:201
#40 0x00007f0f875515e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x00007f0f7b4a14e2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdebase-4.3.2/apps/konqueror/src/konqmain.cpp:271
#42 0x0000000000407215 in launch (argc=2, _name=0x8ff8a8 "/usr/bin/konqueror", args=<value optimized out>, cwd=0x0, envc=0, envs=0x8ff8cc "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8ff8d4 "ubuntu;1255647564;358303;5036_TIME18980261") at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:677
#43 0x0000000000407a38 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1169
#44 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1362
#45 0x0000000000408b26 in main (argc=1, argv=0x7fff58f9d578, envp=0x7fff58f9d588) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-18 01:53:37 UTC
*** Bug 204343 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-10-18 01:53:39 UTC
*** Bug 210621 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-12-07 00:15:03 UTC
From bug 216858:
---
What I was doing when the application crashed:
Responding to an email using email.secureserver.net via konqueror. Noted that
the subject field was not automatically filled in. Accessing the field and
pressing a key caused segfault in konqueror.
Comment 4 Dario Andres 2009-12-07 00:15:08 UTC
*** Bug 216858 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2010-01-18 22:11:58 UTC
From bug 223016:
-- What I was doing when the application crashed:
I was trying to enter a comment on the Skin Horse website
(http://www.webcomicsnation.com/shaenongarrity/skinhorse/series.php).  The
window scrolled hither and yon, I dragged it back a couple of times, and then
akregator crashed.
Comment 6 Dario Andres 2010-01-18 22:12:02 UTC
*** Bug 223016 has been marked as a duplicate of this bug. ***
Comment 7 jamundso 2010-03-30 19:28:12 UTC
Created attachment 42387 [details]
New crash information added by DrKonqi

I was about to post in facebook - clicked in the text box, and poof!
Comment 8 LaeMing Wang 2010-04-11 10:50:38 UTC
As at Version 4.4.2 (KDE 4.4.2) from Kubuntu 10.4beta2

Can enter text to the wall in facebook okay, however, if I enter some text then delete it all, the Konqueror session hangs and has to be killed. The killing corrupts the autorecovery file at ~/.kde/share/apps/konqueror/autosave/ so that Konqueror will crash on restart until the autosaves are manually deleted.
Comment 9 Jaroslav Reznik 2010-10-22 12:42:57 UTC
Created attachment 52754 [details]
New crash information added by DrKonqi

konqueror (4.5.2 (KDE 4.5.2)) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:
I was trying to reproduce KHTML freezing while using tinyMCE Javascript WYSIWYG editor (http://tinymce.moxiecode.com/examples/) , instead of freeze, it crashed. These bugs could be related.

How to reproduce:
1. go to http://tinymce.moxiecode.com/examples/example_01.php
2. delete sample text
3. write something, delete it (using backspace), write something (repeat few times until Konqueror crashes or freezes)

-- Backtrace (Reduced):
#6  DOM::ElementImpl::tagName (this=0x0) at /usr/src/debug/kdelibs-4.5.2/khtml/xml/dom_elementimpl.cpp:488
#7  0x0000003ee2a08e9e in khtml::DeleteCollapsibleWhitespaceCommandImpl::deleteWhitespace (this=0x22dbae0, pos=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/khtml/editing/htmlediting_impl.cpp:1117
#8  0x0000003ee2a09eda in khtml::DeleteCollapsibleWhitespaceCommandImpl::doApply (this=0x22dbae0) at /usr/src/debug/kdelibs-4.5.2/khtml/editing/htmlediting_impl.cpp:1146
#9  0x0000003ee2a0252a in khtml::EditCommandImpl::apply (this=0x22dbae0) at /usr/src/debug/kdelibs-4.5.2/khtml/editing/htmlediting_impl.cpp:236
#10 0x0000003ee2a05580 in khtml::CompositeEditCommandImpl::applyCommandToComposite (this=0x22c9470, cmd=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/khtml/editing/htmlediting_impl.cpp:351
Comment 10 Andrea Iacovitti 2013-11-15 21:14:53 UTC
*** Bug 262926 has been marked as a duplicate of this bug. ***
Comment 11 Andrew Crouthamel 2018-10-31 04:13:09 UTC
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!
Comment 12 Bug Janitor Service 2018-11-15 10:32:08 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 13 Bug Janitor Service 2018-11-30 03:46:14 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!