Bug 231231 - Kate crashed when selecting a different document from the embedded filesystem browser [KTextEditor::Range::start, [KateEditInfo::start], translate, KateSmartManager::translateFromRevision]
Summary: Kate crashed when selecting a different document from the embedded filesystem...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 231931 235582 237391 241134 242832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-18 16:39 UTC by Guido Winkelmann
Modified: 2010-06-26 10:04 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2010-03-18 16:39:48 UTC
Version:            (using KDE 4.3.5)
Compiler:          gcc-Version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

Kate crashed the moment I clicked on another filename in the embedded filesystem browser. Unfortunately, I don't know how to reproduce the crash.

May be noteworthy: When the crash happened, I had a session open that had all of its files deleted (moved elsewhere) between the last time it was open and this time. I had manually closed all those files before the crash happened.

Backtrace:

============================
Application: Kate (kdeinit4), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7facc8df7740 (LWP 5749))]

Thread 2 (Thread 0x7facb8077910 (LWP 5750)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007facb8a43066 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7facb8d21220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007facb8a430a9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7facb8d2f2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007facc85832a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007facc4f716ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7facc8df7740 (LWP 5749)):
[KCrash Handler]
#5  KTextEditor::Range::start (this=0x11) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/interfaces/ktexteditor/range.cpp:300
#6  0x00007facb8e279a7 in KateEditInfo::start (edit=0x1, ret=..., insertBehavior=KTextEditor::SmartCursor::StayOnInsert)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/document/kateedit.h:58
#7  translate (edit=0x1, ret=..., insertBehavior=KTextEditor::SmartCursor::StayOnInsert) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/smart/katesmartmanager.cpp:45
#8  0x00007facb8e27cde in KateSmartManager::translateFromRevision (this=0xceb430, range=<value optimized out>, insertBehavior=...)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/smart/katesmartmanager.cpp:737
#9  0x00007facb8e27dbb in KateSmartManager::newSmartRange (this=0xceb430, range=..., parent=0x0, insertBehavior=..., internal=false)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/smart/katesmartmanager.cpp:206
#10 0x00007facb8dcaf9b in KateDocument::newSmartRange (this=<value optimized out>, range=..., parent=0x0, insertBehavior=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/document/katedocument.cpp:5821
#11 0x00007facb8db5289 in KateWordCompletionView (this=0x1469ee0, view=0x103b4a0, ac=0x12a6760)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/completion/katewordcompletion.cpp:244
#12 0x00007facb8e632af in KateView (this=0x103b4a0, doc=0x1485470, parent=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/view/kateview.cpp:232
#13 0x00007facb8dcb684 in KateDocument::createView (this=0x1485470, parent=0xf15f00) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kate/document/katedocument.cpp:339
#14 0x00007facbc112d6d in KateViewManager::createView (this=0xf22600, doc=<value optimized out>) at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5/kate/app/kateviewmanager.cpp:283
#15 0x00007facbc113528 in KateViewManager::activateView (this=0xf22600, d=0x1485470) at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5/kate/app/kateviewmanager.cpp:483
#16 0x00007facbc113633 in KateViewManager::openUrlWithView (this=0xf22600, url=<value optimized out>, encoding=<value optimized out>)
    at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5/kate/app/kateviewmanager.cpp:239
#17 0x00007facb70f3008 in KateFileSelector::openSelectedFiles (this=0xe41240) at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5/kate/plugins/filebrowser/katefileselector.cpp:423
#18 0x00007facb70f9ec0 in KateFileSelector::fileSelected (this=0xe41240, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff82288710)
    at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5/kate/plugins/filebrowser/katefileselector.cpp:414
#19 KateFileSelector::qt_metacall (this=0xe41240, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff82288710)
    at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5_build/kate/plugins/filebrowser/katefileselector.moc:183
#20 0x00007facc891a117 in QMetaObject::activate (sender=0xf18ef0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3285
#21 0x00007facbf6b4805 in KDirOperator::fileSelected (this=0x11, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kfile/kdiroperator.moc:316
#22 0x00007facbf6b52f7 in KDirOperator::Private::_k_slotActivated (this=0xc6e8a0, index=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kfile/kdiroperator.cpp:2341
#23 0x00007facbf6c04bb in KDirOperator::qt_metacall (this=0xf18ef0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff822888a0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kfile/kdiroperator.moc:245
#24 0x00007facc891a117 in QMetaObject::activate (sender=0xcd6e30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3285
#25 0x00007facc607e9f5 in QAbstractItemView::activated (this=0x11, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:345
#26 0x00007facc608b77c in QAbstractItemView::mouseReleaseEvent (this=0xcd6e30, event=0x7fff822898b0) at itemviews/qabstractitemview.cpp:1784
#27 0x00007facc5bb3812 in QWidget::event (this=0xcd6e30, event=0x7fff822898b0) at kernel/qwidget.cpp:7998
#28 0x00007facc5f5f68b in QFrame::event (this=0xcd6e30, e=0x7fff822898b0) at widgets/qframe.cpp:557
#29 0x00007facc608df4b in QAbstractItemView::viewportEvent (this=0xcd6e30, event=0x7fff822898b0) at itemviews/qabstractitemview.cpp:1610
#30 0x00007facc60cb444 in QTreeView::viewportEvent (this=0xcd6e30, event=0x7fff822898b0) at itemviews/qtreeview.cpp:1248
#31 0x00007facc89060d8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xf0c040, event=0x7fff822898b0) at kernel/qcoreapplication.cpp:819
#32 0x00007facc5b5c2bc in QApplicationPrivate::notify_helper (this=0x9e2480, receiver=0xf0c040, e=0x7fff822898b0) at kernel/qapplication.cpp:4296
#33 0x00007facc5b643dc in QApplication::notify (this=<value optimized out>, receiver=0xf0c040, e=0x7fff822898b0) at kernel/qapplication.cpp:3865
#34 0x00007facc6d316cb in KApplication::notify (this=0x7fff8228a4e0, receiver=0xf0c040, event=0x7fff822898b0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#35 0x00007facc8906cbc in QCoreApplication::notifyInternal (this=0x7fff8228a4e0, receiver=0xf0c040, event=0x7fff822898b0) at kernel/qcoreapplication.cpp:704
#36 0x00007facc5b62f5b in QCoreApplication::sendEvent (receiver=0xf0c040, event=0x7fff822898b0, alienWidget=0xf0c040, nativeWidget=0xeb2a70, buttonDown=<value optimized out>, lastMouseReceiver=..., 
    spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QApplicationPrivate::sendMouseEvent (receiver=0xf0c040, event=0x7fff822898b0, alienWidget=0xf0c040, nativeWidget=0xeb2a70, buttonDown=<value optimized out>, lastMouseReceiver=..., spontaneous=
    true) at kernel/qapplication.cpp:2965
#38 0x00007facc5be5510 in QETWidget::translateMouseEvent (this=0xeb2a70, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#39 0x00007facc5be46bc in QApplication::x11ProcessEvent (this=0x7fff8228a4e0, event=0x7fff8228a090) at kernel/qapplication_x11.cpp:3501
#40 0x00007facc5c0d362 in x11EventSourceDispatch (s=0x9e6130, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007facc47e7f2a in g_main_dispatch (context=0x9e4d20) at gmain.c:1960
#42 IA__g_main_context_dispatch (context=0x9e4d20) at gmain.c:2513
#43 0x00007facc47eb788 in g_main_context_iterate (context=0x9e4d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#44 0x00007facc47eb93c in IA__g_main_context_iteration (context=0x9e4d20, may_block=1) at gmain.c:2654
#45 0x00007facc89305fc in QEventDispatcherGlib::processEvents (this=0x966de0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#46 0x00007facc5c0ceff in QGuiEventDispatcherGlib::processEvents (this=0x11, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007facc89055a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007facc8905974 in QEventLoop::exec (this=0x7fff8228a3c0, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007facc8907e26 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x00007facbc356fcd in kdemain (argc=3, argv=0x9a86f0) at /var/tmp/portage/kde-base/kate-4.3.5/work/kate-4.3.5/kate/app/katemain.cpp:257
#51 0x000000000040755a in launch (argc=3, _name=0x9a5fd8 "kate", args=<value optimized out>, cwd=0x0, envc=1, envs=0x9a6000 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x40a625 "0") at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kinit/kinit.cpp:670
#52 0x0000000000407d38 in handle_launcher_request (sock=7, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kinit/kinit.cpp:1162
#53 0x00000000004081d1 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kinit/kinit.cpp:1355
#54 0x0000000000408db6 in main (argc=2, argv=0x7fff8228c2b8, envp=0x7fff8228c2d0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kinit/kinit.cpp:1786
The current source language is "auto; currently asm".
The current source language is "auto; currently c".
============================
Comment 1 Dario Andres 2010-03-19 14:06:57 UTC
This bug was confirmed by the developers to be fixed in KDE SC 4.4.1 and later.
Regards
Comment 2 Dario Andres 2010-03-28 00:25:33 UTC
*** Bug 231931 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2010-05-12 23:35:31 UTC
*** Bug 237391 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2010-06-08 22:36:51 UTC
*** Bug 241134 has been marked as a duplicate of this bug. ***
Comment 5 Dominik Haumann 2010-06-08 22:38:58 UTC
*** Bug 235582 has been marked as a duplicate of this bug. ***
Comment 6 Dominik Haumann 2010-06-26 10:04:53 UTC
*** Bug 242832 has been marked as a duplicate of this bug. ***