| Summary: | Konqueror crash on typing text in Facebook (and similar site) [khtml::InputTextCommandImpl::prepareForTextInsertion, khtml::InputTextCommandImpl::execute, khtml::InputTextCommandImpl::input] | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Geoffray Levasseur <jeff.levasseur> |
| Component: | general | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | andresbajotierra, karl_tatt, mprizee |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
It looks like bug 189173, but with an assert.. In any case the situation is related (several Facebook crashes) Thanks SVN commit 1042044 by orlovich: Better handling of the case where we get editting input events w/o a proper caret set --- such as when facebook apparently rewrites textareas into content-editable divs in a middle of handling of a click.... Either grab the caret, or drop the event. Should hopefully finally fix the prepareForTextInsertion crasher on facebook BUG:189173 BUG:211449 BUG:212138 BUG:212175 M +16 -2 editor.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1042044 SVN commit 1042054 by orlovich: automatically merged revision 1042044: Better handling of the case where we get editting input events w/o a proper caret set --- such as when facebook apparently rewrites textareas into content-editable divs in a middle of handling of a click.... Either grab the caret, or drop the event. Should hopefully finally fix the prepareForTextInsertion crasher on facebook BUG:189173 BUG:211449 BUG:212138 BUG:212175 M +16 -2 editor.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1042054 *** Bug 226714 has been marked as a duplicate of this bug. *** *** Bug 250236 has been marked as a duplicate of this bug. *** |
Application: konqueror (4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091013))) KDE Version: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015)) (Compiled from sources) Qt Version: 4.6.0 Operating System: Linux 2.6.30-2-amd64 x86_64 Distribution: Debian GNU/Linux unstable (sid) What I was doing when the application crashed: Entering in the text zone do not crash but when starting typing my text (oppositely as some other repports are saying)... I've found that clicking a second time after the text zone change color (I have a dark KDE theme so KDE background color is different from FB background) allow me to type my text normally (no crash). -- Backtrace: Application: Konqueror (kdeinit4), signal: Aborted [Current thread is 1 (Thread 0x7f227b8717f0 (LWP 11605))] Thread 3 (Thread 0x7f225dfb6910 (LWP 11624)): #0 0x00007f227b06b21d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f227b31781b in QWaitConditionPrivate::wait (this=0x271a360, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 0x00007f227b31738e in QWaitCondition::wait (this=0x2759658, mutex=0x2759650, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f227b3076bd in QThreadPoolThread::run (this=0x27ba4a0) at concurrent/qthreadpool.cpp:140 #4 0x00007f227b316e42 in QThreadPrivate::start (arg=0x27ba4a0) at thread/qthread_unix.cpp:244 #5 0x00007f227b06673a in start_thread () from /lib/libpthread.so.0 #6 0x00007f227759d49d in clone () from /lib/libc.so.6 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f225d3ad910 (LWP 11625)): #0 0x00007f227b06b21d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f227b31781b in QWaitConditionPrivate::wait (this=0x271a360, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 0x00007f227b31738e in QWaitCondition::wait (this=0x2759658, mutex=0x2759650, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f227b3076bd in QThreadPoolThread::run (this=0x2715b20) at concurrent/qthreadpool.cpp:140 #4 0x00007f227b316e42 in QThreadPrivate::start (arg=0x2715b20) at thread/qthread_unix.cpp:244 #5 0x00007f227b06673a in start_thread () from /lib/libpthread.so.0 #6 0x00007f227759d49d in clone () from /lib/libc.so.6 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f227b8717f0 (LWP 11605)): [KCrash Handler] #5 0x00007f2277503f45 in raise () from /lib/libc.so.6 #6 0x00007f2277506d80 in abort () from /lib/libc.so.6 #7 0x00007f22774fd04a in __assert_fail () from /lib/libc.so.6 #8 0x00007f2265e3c53b in khtml::InputTextCommandImpl::prepareForTextInsertion (this=0x3fd3e20, adjustDownstream=false) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/editing/htmlediting_impl.cpp:1810 #9 0x00007f2265e400e2 in khtml::InputTextCommandImpl::execute (this=0x3fd3e20, text=...) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/editing/htmlediting_impl.cpp:1915 #10 0x00007f2265e40743 in khtml::InputTextCommandImpl::input (this=0x3fd3e20, text=...) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/editing/htmlediting_impl.cpp:1781 #11 0x00007f2265e40892 in khtml::TypingCommandImpl::insertText (this=0x3fd3d20, text=...) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/editing/htmlediting_impl.cpp:2579 #12 0x00007f2265e40d28 in khtml::TypingCommandImpl::insertText0 (document=0x277be40, text=...) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/editing/htmlediting_impl.cpp:2723 #13 0x00007f2265e239ef in DOM::Editor::handleKeyEvent (this=0x3f86200, _ke=0x347dfb0) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/editing/editor.cpp:566 #14 0x00007f2265c144b6 in DOM::ElementImpl::defaultEventHandler (this=0x4615790, e=0x466ead0) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/xml/dom_elementimpl.cpp:809 #15 0x00007f2265c096c4 in DOM::NodeImpl::dispatchGenericEvent (this=0x4615790, evt=0x466ead0) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:526 #16 0x00007f2265c074e9 in DOM::NodeImpl::dispatchEvent (this=0x4615790, evt=0x466ead0, exceptioncode=@0x7fff418076ec, tempEvent=true) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:453 #17 0x00007f2265c0832b in DOM::NodeImpl::dispatchKeyEvent (this=0x4615790, key=0x7fff418086f0, keypress=true) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:694 #18 0x00007f2265b3e9eb in KHTMLView::dispatchKeyEventHelper (this=0x26f6090, _ke=0x7fff418086f0, keypress=true) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/khtmlview.cpp:1672 #19 0x00007f2265b3eace in KHTMLView::dispatchKeyEvent (this=0x26f6090, _ke=0x7fff418086f0) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/khtmlview.cpp:1628 #20 0x00007f2265b46603 in KHTMLView::keyPressEvent (this=0x26f6090, _ke=0x7fff418086f0) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/khtmlview.cpp:1749 #21 0x00007f227825f88a in QWidget::event (this=0x26f6090, event=0x7fff418086f0) at kernel/qwidget.cpp:7941 #22 0x00007f227871f423 in QFrame::event (this=0x26f6090, e=0x7fff418086f0) at widgets/qframe.cpp:557 #23 0x00007f22787d0b90 in QAbstractScrollArea::event (this=0x26f6090, e=0x7fff418086f0) at widgets/qabstractscrollarea.cpp:960 #24 0x00007f22787d7fe5 in QScrollArea::event (this=0x26f6090, e=0x7fff418086f0) at widgets/qscrollarea.cpp:314 #25 0x00007f2265b45b64 in KHTMLView::event (this=0x26f6090, e=0x7fff418086f0) at /home/jeff/src/c/kde/KDE/kdelibs/khtml/khtmlview.cpp:546 #26 0x00007f22781e5ff7 in QApplicationPrivate::notify_helper (this=0x1929b90, receiver=0x26f6090, e=0x7fff418086f0) at kernel/qapplication.cpp:4198 #27 0x00007f22781e678c in QApplication::notify (this=0x7fff41809bc0, receiver=0x26f6090, e=0x7fff418086f0) at kernel/qapplication.cpp:3741 #28 0x00007f22796bba49 in KApplication::notify (this=0x7fff41809bc0, receiver=0x26f6090, event=0x7fff418086f0) at /home/jeff/src/c/kde/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #29 0x00007f227b440bd9 in QCoreApplication::notifyInternal (this=0x7fff41809bc0, receiver=0x26f6090, event=0x7fff418086f0) at kernel/qcoreapplication.cpp:704 #30 0x00007f22781f96d7 in QCoreApplication::sendSpontaneousEvent (receiver=0x26f6090, event=0x7fff418086f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #31 0x00007f22781e5163 in qt_sendSpontaneousEvent (receiver=0x26f6090, event=0x7fff418086f0) at kernel/qapplication.cpp:5175 #32 0x00007f22782baafa in QKeyMapper::sendKeyEvent (keyWidget=0x26f6090, grab=false, type=QEvent::KeyPress, code=71, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=42, nativeVirtualKey=71, nativeModifiers=17) at kernel/qkeymapper_x11.cpp:1861 #33 0x00007f22782bc131 in QKeyMapperPrivate::translateKeyEvent (this=0x1965770, keyWidget=0x26f6090, event=0x7fff418094e0, grab=false) at kernel/qkeymapper_x11.cpp:1831 #34 0x00007f227828d0e3 in QApplication::x11ProcessEvent (this=0x7fff41809bc0, event=0x7fff418094e0) at kernel/qapplication_x11.cpp:3423 #35 0x00007f22782c0d36 in x11EventSourceDispatch (s=0x192d8f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #36 0x00007f2276a2112a in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #37 0x00007f2276a24988 in ?? () from /lib/libglib-2.0.so.0 #38 0x00007f2276a24b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #39 0x00007f227b47c3b9 in QEventDispatcherGlib::processEvents (this=0x1891d60, flags=...) at kernel/qeventdispatcher_glib.cpp:407 #40 0x00007f22782c0397 in QGuiEventDispatcherGlib::processEvents (this=0x1891d60, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #41 0x00007f227b43d063 in QEventLoop::processEvents (this=0x7fff418098f0, flags=...) at kernel/qeventloop.cpp:149 #42 0x00007f227b43d287 in QEventLoop::exec (this=0x7fff418098f0, flags=...) at kernel/qeventloop.cpp:201 #43 0x00007f227b441623 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #44 0x00007f22781e5ae2 in QApplication::exec () at kernel/qapplication.cpp:3603 #45 0x00007f226d1094cc in kdemain (argc=2, argv=0x18dd2e0) at /home/jeff/src/c/kde/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257 #46 0x000000000040784f in launch (argc=2, _name=0x18f3688 "/usr/bin/konqueror", args=0x18f36a4 "", cwd=0x0, envc=0, envs=0x18f36ac "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x18f36b4 "debian;1256219762;678953;4015_TIME229485567") at /home/jeff/src/c/kde/KDE/kdelibs/kinit/kinit.cpp:705 #47 0x000000000040807a in handle_launcher_request (sock=8, who=0x40bc44 "launcher") at /home/jeff/src/c/kde/KDE/kdelibs/kinit/kinit.cpp:1197 #48 0x00000000004089c1 in handle_requests (waitForPid=0) at /home/jeff/src/c/kde/KDE/kdelibs/kinit/kinit.cpp:1390 #49 0x0000000000409392 in main (argc=4, argv=0x7fff4180b098, envp=0x7fff4180b0c0) at /home/jeff/src/c/kde/KDE/kdelibs/kinit/kinit.cpp:1825 This bug may be a duplicate of or related to bug 210396, bug 208740, bug 182282. Reported using DrKonqi