Bug 284341 - Kate crashes when pressing ctrl+N
Summary: Kate crashes when pressing ctrl+N
Status: RESOLVED DUPLICATE of bug 284005
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 09:37 UTC by Alan Jenkins
Modified: 2011-10-18 16:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Jenkins 2011-10-18 09:37:40 UTC
Application: kate (3.7.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
1. Open Kate
2. Press Ctrl+N

Yes, Crash Reporting Assistant, that is an exact description of how to reproduce the crash.  It's not my fault it only takes 29 characters to describe.  Thanks for requiring me to bloat up this report with an irrelevant digression in order to exceed the "minimum length".

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Aborted
[Current thread is 1 (Thread 0x7f11a990c780 (LWP 11404))]

Thread 4 (Thread 0x7f1195c1c700 (LWP 11406)):
#0  0x00007f11a687c034 in __pthread_mutex_lock (mutex=0x2664fe8) at pthread_mutex_lock.c:61
#1  0x00007f11a63a7361 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f11a63a7e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11a63a8792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f119e1f6516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f11a63cd2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f11a6879efc in start_thread (arg=0x7f1195c1c700) at pthread_create.c:304
#7  0x00007f11a925789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1188d8b700 (LWP 11424)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f118ae53fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f118ae54019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f11a6879efc in start_thread (arg=0x7f1188d8b700) at pthread_create.c:304
#4  0x00007f11a925789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f119641d700 (LWP 11427)):
#0  0x00007f11a687c03e in __pthread_mutex_lock (mutex=0x2ffe508) at pthread_mutex_lock.c:62
#1  0x00007f11a63a8044 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f11a63a8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11a7163f3e in QEventDispatcherGlib::processEvents (this=0x2ec7dc0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f11a7137cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f11a7137ef7 in QEventLoop::exec (this=0x7f119641cdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f11a704f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f11a711acbf in QInotifyFileSystemWatcherEngine::run (this=0x302b770) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f11a7051d05 in QThreadPrivate::start (arg=0x302b770) at thread/qthread_unix.cpp:331
#9  0x00007f11a6879efc in start_thread (arg=0x7f119641d700) at pthread_create.c:304
#10 0x00007f11a925789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f11a990c780 (LWP 11404)):
[KCrash Handler]
#6  0x00007f11a91ac3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f11a91afb0b in __GI_abort () at abort.c:92
#8  0x00007f11a704843b in qt_message_output (msgType=<optimized out>, buf=0x3288068 "ASSERT: \"interface && interface->isValid()\" in file bridge.cpp, line 164") at global/qglobal.cpp:2315
#9  0x00007f11a70487ef in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f11a7197a58 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff024d3ee8) at global/qglobal.cpp:2361
#10 0x00007f11a7048994 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2544
#11 0x00007f118a673c28 in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x00007f118a67460a in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x00007f118a673bd8 in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#14 0x00007f118a675086 in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#15 0x00007f11a8b99299 in QAccessible::updateAccessibility (o=<optimized out>, who=0, reason=QAccessible::StateChanged) at accessible/qaccessible_unix.cpp:107
#16 0x00007f11a86e377f in QWidget::event (this=0x3285b00, event=0x7fff024d4ad0) at kernel/qwidget.cpp:8585
#17 0x00007f11a8693424 in notify_helper (e=0x7fff024d4ad0, receiver=0x3285b00, this=0x257aa60) at kernel/qapplication.cpp:4486
#18 QApplicationPrivate::notify_helper (this=0x257aa60, receiver=0x3285b00, e=0x7fff024d4ad0) at kernel/qapplication.cpp:4458
#19 0x00007f11a8698291 in QApplication::notify (this=0x7fff024d74d0, receiver=0x3285b00, e=0x7fff024d4ad0) at kernel/qapplication.cpp:4365
#20 0x00007f11a79171e6 in KApplication::notify (this=0x7fff024d74d0, receiver=0x3285b00, event=0x7fff024d4ad0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f11a7138afc in QCoreApplication::notifyInternal (this=0x7fff024d74d0, receiver=0x3285b00, event=0x7fff024d4ad0) at kernel/qcoreapplication.cpp:787
#22 0x00007f11a86e5523 in sendEvent (event=0x7fff024d4ad0, receiver=0x3285b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QWidgetPrivate::setEnabled_helper (this=<optimized out>, enable=false) at kernel/qwidget.cpp:3374
#24 0x00007f11a86e702c in QWidget::setParent (this=0x3285b00, parent=0x32874d0, f=...) at kernel/qwidget.cpp:10157
#25 0x00007f11a86e7ffe in QWidgetPrivate::init (this=0x328b190, parentWidget=<optimized out>, f=...) at kernel/qwidget.cpp:1344
#26 0x00007f11a86e85b1 in QWidget::QWidget (this=0x3285b00, parent=0x32874d0, f=...) at kernel/qwidget.cpp:1154
#27 0x00007f11a8b0d794 in QAbstractScrollAreaPrivate::init (this=0x32895e0) at widgets/qabstractscrollarea.cpp:272
#28 0x00007f11a8b0db54 in QAbstractScrollArea::QAbstractScrollArea (this=0x32874d0, dd=<optimized out>, parent=<optimized out>) at widgets/qabstractscrollarea.cpp:493
#29 0x00007f11a8b9a83d in QAbstractItemView::QAbstractItemView (this=0x32874d0, dd=<optimized out>, parent=<optimized out>) at itemviews/qabstractitemview.cpp:588
#30 0x00007f11a8bba1dd in QListView::QListView (this=0x32874d0, dd=<optimized out>, parent=<optimized out>) at itemviews/qlistview.cpp:193
#31 0x00007f11a8c03a27 in QListWidget::QListWidget (this=0x32874d0, parent=0x3271e80) at itemviews/qlistwidget.cpp:1327
#32 0x00007f118b458b20 in Ui_CompletionConfigWidget::setupUi (this=0x3061180, CompletionConfigWidget=0x326ee20) at ./ui_completionconfigwidget.h:146
#33 0x00007f118b4563ee in KateCompletionConfig::KateCompletionConfig (this=0x326bb20, model=<optimized out>, parent=<optimized out>) at ../../part/completion/katecompletionconfig.cpp:46
#34 0x00007f118b43fa27 in KateCompletionWidget::KateCompletionWidget (this=0x325ba00, parent=0x25ef940) at ../../part/completion/katecompletionwidget.cpp:105
#35 0x00007f118b5009da in KateView::completionWidget (this=0x25ef940) at ../../part/view/kateview.cpp:2084
#36 0x00007f118b500a39 in KateView::registerCompletionModel (this=<optimized out>, model=0x28f6be0) at ../../part/view/kateview.cpp:2106
#37 0x00007f118b467ca2 in KateWordCompletionView::KateWordCompletionView (this=0x325aaa0, view=0x25ef940, ac=0x311d5f0) at ../../part/completion/katewordcompletion.cpp:311
#38 0x00007f118b50c168 in KateView::KateView (this=0x25ef940, doc=0x30834e0, parent=<optimized out>) at ../../part/view/kateview.cpp:243
#39 0x00007f118b47cba4 in KateDocument::createView (this=0x30834e0, parent=0x2bd2e10) at ../../part/document/katedocument.cpp:329
#40 0x00007f11a7d8da24 in createView (doc=<optimized out>, this=0x2bccf60) at ../../../kate/app/kateviewmanager.cpp:335
#41 KateViewManager::createView (this=0x2bccf60, doc=<optimized out>) at ../../../kate/app/kateviewmanager.cpp:326
#42 0x00007f11a7d8eef0 in KateViewManager::qt_metacall (this=0x2bccf60, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff024d5d60) at ./kateviewmanager.moc:140
#43 0x00007f11a714beba in QMetaObject::activate (sender=0x2bd46d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff024d5d60) at kernel/qobject.cpp:3278
#44 0x00007f11a868cb62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#45 0x00007f11a868cd4f in QAction::activate (this=0x2bd46d0, event=<optimized out>) at kernel/qaction.cpp:1257
#46 0x00007f11a868cebf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#47 0x00007f11a783093a in KAction::event (this=<optimized out>, event=0x7fff024d61f0) at ../../kdeui/actions/kaction.cpp:131
#48 0x00007f11a8693424 in notify_helper (e=0x7fff024d61f0, receiver=0x2bd46d0, this=0x257aa60) at kernel/qapplication.cpp:4486
#49 QApplicationPrivate::notify_helper (this=0x257aa60, receiver=0x2bd46d0, e=0x7fff024d61f0) at kernel/qapplication.cpp:4458
#50 0x00007f11a8698291 in QApplication::notify (this=0x7fff024d74d0, receiver=0x2bd46d0, e=0x7fff024d61f0) at kernel/qapplication.cpp:4365
#51 0x00007f11a79171e6 in KApplication::notify (this=0x7fff024d74d0, receiver=0x2bd46d0, event=0x7fff024d61f0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f11a7138afc in QCoreApplication::notifyInternal (this=0x7fff024d74d0, receiver=0x2bd46d0, event=0x7fff024d61f0) at kernel/qcoreapplication.cpp:787
#53 0x00007f11a86c5499 in sendEvent (event=0x7fff024d61f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fff024d6600) at kernel/qshortcutmap.cpp:879
#55 0x00007f11a86c696a in QShortcutMap::tryShortcutEvent (this=0x257ab88, o=<optimized out>, e=0x7fff024d6600) at kernel/qshortcutmap.cpp:364
#56 0x00007f11a8699b12 in QApplication::notify (this=0x7fff024d74d0, receiver=0x2c40bd0, e=0x7fff024d6600) at kernel/qapplication.cpp:3928
#57 0x00007f11a79171e6 in KApplication::notify (this=0x7fff024d74d0, receiver=0x2c40bd0, event=0x7fff024d6600) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f11a7138afc in QCoreApplication::notifyInternal (this=0x7fff024d74d0, receiver=0x2c40bd0, event=0x7fff024d6600) at kernel/qcoreapplication.cpp:787
#59 0x00007f11a8736f99 in QKeyMapper::sendKeyEvent (keyWidget=0x2c40bd0, grab=<optimized out>, type=QEvent::KeyPress, code=78, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=57, nativeVirtualKey=110, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#60 0x00007f11a873740b in QKeyMapperPrivate::translateKeyEvent (this=0x25a93f0, keyWidget=0x2c40bd0, event=0x7fff024d7040, grab=false) at kernel/qkeymapper_x11.cpp:1836
#61 0x00007f11a8712347 in QApplication::x11ProcessEvent (this=0x7fff024d74d0, event=0x7fff024d7040) at kernel/qapplication_x11.cpp:3583
#62 0x00007f11a873b412 in x11EventSourceDispatch (s=0x257ca00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#63 0x00007f11a63a7a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f11a63a8258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f11a63a8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f11a7163ed6 in QEventDispatcherGlib::processEvents (this=0x2577210, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007f11a873b07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f11a7137cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007f11a7137ef7 in QEventLoop::exec (this=0x7fff024d7410, flags=...) at kernel/qeventloop.cpp:201
#70 0x00007f11a713c789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#71 0x00007f11a951b0d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#72 0x00007f11a919730d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff024d8a08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff024d89f8) at libc-start.c:226
#73 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-18 11:19:59 UTC
Please ask in an Ubunutu forum how to disable QtAccessibility, because it is causing multiple crashes.

See also bug 284005.
Comment 2 Christoph Feck 2011-10-18 12:22:15 UTC
https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/877358 reported downstream.
Comment 3 Dominik Haumann 2011-10-18 16:38:55 UTC
Note a Kate issue, close as duplicate.

*** This bug has been marked as a duplicate of bug 284005 ***