Bug 333032 - kate crashed after pressing the return key twice
Summary: kate crashed after pressing the return key twice
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.11.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-03 16:24 UTC by Burhan Ali
Modified: 2015-08-01 20:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burhan Ali 2014-04-03 16:24:00 UTC
Application: kate (3.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-18-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
Alt/tabbed back into kate and pressed the return key twice and it crashed. The document in focus at the time was an unsaved file.

-- Backtrace:
Application: Kate (kate), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa5dbcf07c0 (LWP 31955))]

Thread 4 (Thread 0x7fa5c7371700 (LWP 31956)):
#0  0x00007fa5db629f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa5d87766a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5d8776b0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5ce99cb66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa5d879b0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa5d8c4ef6e in start_thread (arg=0x7fa5c7371700) at pthread_create.c:311
#6  0x00007fa5db6369cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fa5c62a7700 (LWP 31957)):
#0  0x00007fa5d87b62cd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa5d87b6749 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa5d879b590 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa5d87757dc in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa5d8776565 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa5d87767ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa5d87767f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fa5d879b0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fa5d8c4ef6e in start_thread (arg=0x7fa5c62a7700) at pthread_create.c:311
#9  0x00007fa5db6369cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fa5b16f3700 (LWP 31960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa5b3f7e06b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa5b3f7e0a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa5d8c4ef6e in start_thread (arg=0x7fa5b16f3700) at pthread_create.c:311
#4  0x00007fa5db6369cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fa5dbcf07c0 (LWP 31955)):
[KCrash Handler]
#6  0x00007fa5db572f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fa5db5765e8 in __GI_abort () at abort.c:90
#8  0x00007fa5d9414912 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x461b688 "ASSERT: \"interface->textInterface()\" in file atspiadaptor.cpp, line 1002") at global/qglobal.cpp:2347
#9  0x00007fa5d9414c79 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fa5d957fa80 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff7c825ad8) at global/qglobal.cpp:2393
#10 0x00007fa5d9415484 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2576
#11 0x00007fa5b2a0c750 in AtSpiAdaptor::notify(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x00007fa5b29f9cdc in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x00007fa5daf461c1 in QAccessible::updateAccessibility (o=o@entry=0x2f29160, who=who@entry=0, reason=reason@entry=QAccessible::TextCaretMoved) at accessible/qaccessible_unix.cpp:118
#14 0x00007fa5b464db52 in KateViewInternal::cursorMoved (this=this@entry=0x2f29160) at ../../part/view/kateviewinternal.cpp:3437
#15 0x00007fa5b4654b5c in KateViewInternal::updateCursor (this=this@entry=0x2f29160, newCursor=..., force=force@entry=true, center=center@entry=false, calledExternally=calledExternally@entry=false) at ../../part/view/kateviewinternal.cpp:1896
#16 0x00007fa5b465ae26 in KateViewInternal::editEnd (this=0x2f29160, editTagLineStart=15, editTagLineEnd=16, tagFrom=<optimized out>) at ../../part/view/kateviewinternal.cpp:3361
#17 0x00007fa5b463db3f in KateView::editEnd (this=<optimized out>, editTagLineStart=<optimized out>, editTagLineEnd=<optimized out>, tagFrom=<optimized out>) at ../../part/view/kateview.cpp:1825
#18 0x00007fa5b45d06b9 in KateDocument::editEnd (this=0x3424f70) at ../../part/document/katedocument.cpp:817
#19 0x00007fa5b45d839b in KateDocument::newLine (this=0x3424f70, v=0x3061870) at ../../part/document/katedocument.cpp:2636
#20 0x00007fa5b4650804 in KateViewInternal::doReturn (this=0x2f29160) at ../../part/view/kateviewinternal.cpp:769
#21 0x00007fa5b4651c28 in KateViewInternal::keyPressEvent (this=0x2f29160, e=0x7fff7c8263c0) at ../../part/view/kateviewinternal.cpp:2316
#22 0x00007fa5b4650a67 in KateViewInternal::eventFilter (this=0x2f29160, obj=0x2f29160, e=0x7fff7c8263c0) at ../../part/view/kateviewinternal.cpp:2186
#23 0x00007fa5d951ea26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x2457430, receiver=receiver@entry=0x2f29160, event=event@entry=0x7fff7c8263c0) at kernel/qcoreapplication.cpp:1056
#24 0x00007fa5daa53ddc in QApplicationPrivate::notify_helper (this=this@entry=0x2457430, receiver=receiver@entry=0x2f29160, e=e@entry=0x7fff7c8263c0) at kernel/qapplication.cpp:4563
#25 0x00007fa5daa5b6c1 in QApplication::notify (this=this@entry=0x7fff7c826f70, receiver=receiver@entry=0x2f29160, e=e@entry=0x7fff7c8263c0) at kernel/qapplication.cpp:4008
#26 0x00007fa5d9d21a6a in KApplication::notify (this=0x7fff7c826f70, receiver=0x2f29160, event=0x7fff7c8263c0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fa5d951e8bd in QCoreApplication::notifyInternal (this=0x7fff7c826f70, receiver=receiver@entry=0x2f29160, event=event@entry=0x7fff7c8263c0) at kernel/qcoreapplication.cpp:946
#28 0x00007fa5daa52526 in sendSpontaneousEvent (event=event@entry=0x7fff7c8263c0, receiver=receiver@entry=0x2f29160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#29 qt_sendSpontaneousEvent (receiver=receiver@entry=0x2f29160, event=event@entry=0x7fff7c8263c0) at kernel/qapplication.cpp:5565
#30 0x00007fa5daaf2e19 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x2f29160, grab=grab@entry=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#31 0x00007fa5daaf31b9 in QKeyMapperPrivate::translateKeyEvent (this=0x24ada60, keyWidget=keyWidget@entry=0x2f29160, event=event@entry=0x7fff7c826950, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#32 0x00007fa5daacd207 in QApplication::x11ProcessEvent (this=0x7fff7c826f70, event=event@entry=0x7fff7c826950) at kernel/qapplication_x11.cpp:3639
#33 0x00007fa5daaf5922 in x11EventSourceDispatch (s=0x2454410, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007fa5d87763b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fa5d8776708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fa5d87767ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fa5d954ba76 in QEventDispatcherGlib::processEvents (this=0x2414b30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#38 0x00007fa5daaf59d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fa5d951d5ef in QEventLoop::processEvents (this=this@entry=0x7fff7c826d30, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fa5d951d8e5 in QEventLoop::exec (this=this@entry=0x7fff7c826d30, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fa5d9522e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#42 0x00007fa5daa5234c in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x00007fa5db90ac75 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:380
#44 0x00007fa5db55dde5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff7c8270f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7c8270e8) at libc-start.c:260
#45 0x00000000004006fe in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2014-04-03 20:40:15 UTC
@Frederik: Can you have a look? This crashes through QAccessible::updateAccessibility. Seraching on bko for "QAccessible::updateAccessibility" results in quite a lot of results, so maybe things were fixed, or this is a known issue? The report says Qt 4.8.4...
Comment 2 Christoph Cullmann 2015-08-01 15:05:32 UTC
Please try to reproduce that with some current KF5 based KWrite/Kate, I think this was solved by the Qt5 port.
Comment 3 Burhan Ali 2015-08-01 20:47:54 UTC
Thanks for looking at this, but it was more than two years ago. I have been through three versions of Ubuntu in that time and actually no longer have the machine this related to. I think it's safe to close this.
Comment 4 Christoph Cullmann 2015-08-01 20:49:32 UTC
Ok. Thanks.