Bug 323222

Summary: Crashes after closing a document in kate and trying to edit other
Product: [Unmaintained] qtatspi Reporter: Albert Astals Cid <aacid>
Component: generalAssignee: Frederik Gladhorn <gladhorn>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: cimmino.marco, katkacyt, s
Priority: NOR    
Version First Reported In: 0.3.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Albert Astals Cid 2013-08-06 09:20:58 UTC
Don't know how to repro but has happened twice in the last two days so it's relatively "common"

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

Thread 5 (Thread 0x7fed1b72c700 (LWP 8522)):
#0  0x00007fed2f0103dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fed2c15f394 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7fed140010c0, timeout=-1, context=0x2148d70) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3999
#2  g_main_context_iterate (context=0x2148d70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3700
#3  0x00007fed2c15f7fa in g_main_loop_run (loop=0x2148d00) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3899
#4  0x00007fed21fbb646 in gdbus_shared_thread_func (user_data=0x2148d40) at /build/buildd/glib2.0-2.37.3/./gio/gdbusprivate.c:278
#5  0x00007fed2c183c25 in g_thread_proxy (data=0x2167f70) at /build/buildd/glib2.0-2.37.3/./glib/gthread.c:798
#6  0x00007fed2c636f6e in start_thread (arg=0x7fed1b72c700) at pthread_create.c:311
#7  0x00007fed2f01ce2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fed0f528700 (LWP 8525)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fed1177308b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fed11a70f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fed117730c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fed2c636f6e in start_thread (arg=0x7fed0f528700) at pthread_create.c:311
#4  0x00007fed2f01ce2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fec8be4b700 (LWP 8529)):
#0  0x00007fed2c19eb00 in g_mutex_get_impl (mutex=0x7fec840009a0) at /build/buildd/glib2.0-2.37.3/./glib/gthread-posix.c:126
#1  0x00007fed2c19eda9 in g_mutex_lock (mutex=mutex@entry=0x7fec840009a0) at /build/buildd/glib2.0-2.37.3/./glib/gthread-posix.c:213
#2  0x00007fed2c15ee1c in g_main_context_check (context=context@entry=0x7fec840009a0, max_priority=2147483647, fds=fds@entry=0x7fec84002bb0, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3551
#3  0x00007fed2c15f32b in g_main_context_iterate (context=context@entry=0x7fec840009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3702
#4  0x00007fed2c15f49c in g_main_context_iteration (context=0x7fec840009a0, may_block=1) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3766
#5  0x00007fed2cf33a76 in QEventDispatcherGlib::processEvents (this=0x7fec840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fed2cf055ef in QEventLoop::processEvents (this=this@entry=0x7fec8be4ad70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fed2cf058e5 in QEventLoop::exec (this=this@entry=0x7fec8be4ad70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fed2ce0488f in QThread::exec (this=this@entry=0x2903820) at thread/qthread.cpp:542
#9  0x00007fed2cee6d13 in QInotifyFileSystemWatcherEngine::run (this=0x2903820) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fed2ce06f2f in QThreadPrivate::start (arg=0x2903820) at thread/qthread_unix.cpp:338
#11 0x00007fed2c636f6e in start_thread (arg=0x7fec8be4b700) at pthread_create.c:311
#12 0x00007fed2f01ce2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fec8ad15700 (LWP 11719)):
#0  0x00007fed2f0103dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fed2c15f394 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fec7c0029b0, timeout=-1, context=0x7fec7c0009a0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3999
#2  g_main_context_iterate (context=context@entry=0x7fec7c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3700
#3  0x00007fed2c15f49c in g_main_context_iteration (context=0x7fec7c0009a0, may_block=1) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3766
#4  0x00007fed2cf33a76 in QEventDispatcherGlib::processEvents (this=0x7fec7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fed2cf055ef in QEventLoop::processEvents (this=this@entry=0x7fec8ad14d70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fed2cf058e5 in QEventLoop::exec (this=this@entry=0x7fec8ad14d70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fed2ce0488f in QThread::exec (this=this@entry=0x30819d0) at thread/qthread.cpp:542
#8  0x00007fed2cee6d13 in QInotifyFileSystemWatcherEngine::run (this=0x30819d0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fed2ce06f2f in QThreadPrivate::start (arg=0x30819d0) at thread/qthread_unix.cpp:338
#10 0x00007fed2c636f6e in start_thread (arg=0x7fec8ad15700) at pthread_create.c:311
#11 0x00007fed2f01ce2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fed2f6bb7c0 (LWP 8521)):
[KCrash Handler]
#6  0x00007fed2ef59f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fed2ef5d5e8 in __GI_abort () at abort.c:90
#8  0x00007fed2cdfc912 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x40c2aa8 "ASSERT: \"interface->textInterface()\" in file atspiadaptor.cpp, line 1002") at global/qglobal.cpp:2347
#9  0x00007fed2cdfcc79 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fed2cf67a80 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff420e9de8) at global/qglobal.cpp:2393
#10 0x00007fed2cdfd484 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2576
#11 0x00007fed10841750 in AtSpiAdaptor::notify(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x00007fed1082ecdc in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x00007fed2e92d1c1 in QAccessible::updateAccessibility (o=o@entry=0x3777920, who=who@entry=0, reason=reason@entry=QAccessible::TextCaretMoved) at accessible/qaccessible_unix.cpp:118
#14 0x00007fed11e42842 in KateViewInternal::cursorMoved (this=this@entry=0x3777920) at ../../part/view/kateviewinternal.cpp:3429
#15 0x00007fed11e4980c in KateViewInternal::updateCursor (this=this@entry=0x3777920, newCursor=..., force=force@entry=false, center=center@entry=false, calledExternally=calledExternally@entry=false) at ../../part/view/kateviewinternal.cpp:1895
#16 0x00007fed11e4ce17 in KateViewInternal::placeCursor (this=this@entry=0x3777920, p=..., keepSelection=keepSelection@entry=false, updateSelection=updateSelection@entry=true) at ../../part/view/kateviewinternal.cpp:2092
#17 0x00007fed11e4d5ce in KateViewInternal::mousePressEvent (this=0x3777920, e=0x7fff420ea750) at ../../part/view/kateviewinternal.cpp:2568
#18 0x00007fed2e48a191 in QWidget::event (this=0x3777920, event=0x7fff420ea750) at kernel/qwidget.cpp:8371
#19 0x00007fed2e43adfc in QApplicationPrivate::notify_helper (this=this@entry=0x20887c0, receiver=receiver@entry=0x3777920, e=e@entry=0x7fff420ea750) at kernel/qapplication.cpp:4567
#20 0x00007fed2e4415ad in QApplication::notify (this=this@entry=0x7fff420eb0f0, receiver=receiver@entry=0x3777920, e=e@entry=0x7fff420ea750) at kernel/qapplication.cpp:4110
#21 0x00007fed2d7099aa in KApplication::notify (this=0x7fff420eb0f0, receiver=0x3777920, event=0x7fff420ea750) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fed2cf068bd in QCoreApplication::notifyInternal (this=0x7fff420eb0f0, receiver=receiver@entry=0x3777920, event=event@entry=0x7fff420ea750) at kernel/qcoreapplication.cpp:946
#23 0x00007fed2e440d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3777920, event=event@entry=0x7fff420ea750, alienWidget=alienWidget@entry=0x3777920, nativeWidget=nativeWidget@entry=0x35fb4b0, buttonDown=buttonDown@entry=0x7fed2ef1f2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#25 0x00007fed2e4b57db in QETWidget::translateMouseEvent (this=this@entry=0x35fb4b0, event=event@entry=0x7fff420eaad0) at kernel/qapplication_x11.cpp:4631
#26 0x00007fed2e4b5079 in QApplication::x11ProcessEvent (this=0x7fff420eb0f0, event=event@entry=0x7fff420eaad0) at kernel/qapplication_x11.cpp:3624
#27 0x00007fed2e4dc922 in x11EventSourceDispatch (s=s@entry=0x208d470, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fed2c15f0a6 in g_main_dispatch (context=0x208cfd0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3058
#29 g_main_context_dispatch (context=context@entry=0x208cfd0) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3634
#30 0x00007fed2c15f3f8 in g_main_context_iterate (context=context@entry=0x208cfd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3705
#31 0x00007fed2c15f49c in g_main_context_iteration (context=0x208cfd0, may_block=1) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:3766
#32 0x00007fed2cf33a55 in QEventDispatcherGlib::processEvents (this=0x203fb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fed2e4dc9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fed2cf055ef in QEventLoop::processEvents (this=this@entry=0x7fff420eaeb0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fed2cf058e5 in QEventLoop::exec (this=this@entry=0x7fff420eaeb0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fed2cf0ae5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007fed2e43934c in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x00007fed2f2f0c75 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:380
#39 0x00007fed2ef44de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=2, ubp_av=0x7fff420eb278, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff420eb268) at libc-start.c:260
#40 0x0000000000400701 in _start ()
Comment 1 Jekyll Wu 2014-01-21 07:48:10 UTC
*** Bug 328435 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2014-01-21 07:48:12 UTC
*** Bug 330207 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2014-06-24 09:39:54 UTC
*** Bug 336647 has been marked as a duplicate of this bug. ***
Comment 4 Albert Astals Cid 2017-02-27 23:05:45 UTC
qtatspi is sadly unmaintained :/