Bug 237391 - Crash in KateSmartManager::translateFromRevision
Summary: Crash in KateSmartManager::translateFromRevision
Status: RESOLVED DUPLICATE of bug 231231
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: VHI crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 16:05 UTC by Atti
Modified: 2010-05-12 23:35 UTC (History)
0 users

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 Atti 2010-05-12 16:05:35 UTC
Application that crashed: kate
Version of the application: 3.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-3-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
kate crashes when opening a file. only active session of kate dies, the other one stays active.
the crash is reproducible after it happens for the first time. it constantly occurs when opening files in a defined order.
if i close all kate sessions and then open them again, i can't reproduce the crash.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5306700 (LWP 12664))]

Thread 2 (Thread 0xb3553b70 (LWP 12665)):
#0  0xb7894424 in __kernel_vsyscall ()
#1  0xb61f60a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb77ff80d in __pthread_cond_wait (cond=0xb37dbe0c, mutex=0xb37dbdf4) at forward.c:139
#3  0xb36fe597 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb37d6d20) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0xb36fe5e1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb37d6d20) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0xb61f2585 in start_thread (arg=0xb3553b70) at pthread_create.c:300
#6  0xb77f229e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5306700 (LWP 12664)):
[KCrash Handler]
#6  KTextEditor::Range::start (this=0x0) at ../../../interfaces/ktexteditor/range.cpp:301
#7  0xb390e4a1 in KateSmartManager::translateFromRevision (this=0x9bbb860, range=..., insertBehavior=...) at ../../kate/smart/katesmartmanager.cpp:737
#8  0xb390e63f in KateSmartManager::newSmartRange (this=0x9bbb860, range=..., parent=0x0, insertBehavior=..., internal=false) at ../../kate/smart/katesmartmanager.cpp:206
#9  0xb38a96f8 in KateDocument::newSmartRange (this=0x9c8f6a0, range=..., parent=0x0, insertBehavior=...) at ../../kate/document/katedocument.cpp:5821
#10 0xb388fc6f in KateWordCompletionView (this=0x9d23c08, view=0x9cd1a00, ac=0x9bbcf88) at ../../kate/completion/katewordcompletion.cpp:244
#11 0xb3951498 in KateView (this=0x9cd1a00, doc=0x9c8f6a0, parent=0x95dda28) at ../../kate/view/kateview.cpp:232
#12 0xb38aa1ce in KateDocument::createView (this=0x9c8f6a0, parent=0x95dda28) at ../../kate/document/katedocument.cpp:339
#13 0xb6a033d1 in KateViewManager::createView (this=0x95c7668, doc=0x9c8f6a0) at ../../../kate/app/kateviewmanager.cpp:283
#14 0xb6a03bd8 in KateViewManager::activateView (this=0x95c7668, d=0x9c8f6a0) at ../../../kate/app/kateviewmanager.cpp:483
#15 0xb6a041f1 in KateViewManager::slotDocumentOpen (this=0x95c7668) at ../../../kate/app/kateviewmanager.cpp:185
#16 0xb6a04550 in KateViewManager::qt_metacall (this=0x95c7668, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc5a758) at ./kateviewmanager.moc:123
#17 0xb649faea in QMetaObject::metacall (object=0x95c7668, cl=3217400321, idx=36, argv=0xbfc5a758) at kernel/qmetaobject.cpp:237
#18 0xb64ae0b5 in QMetaObject::activate (sender=0x95b2a90, m=0xb76fea18, local_signal_index=1, argv=0xbfc5a758) at kernel/qobject.cpp:3293
#19 0xb6dd42e9 in QAction::triggered (this=0x95b2a90, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0xb6dd64dc in QAction::activate (this=0x95b2a90, event=QAction::Trigger) at kernel/qaction.cpp:1255
#21 0xb72c5282 in QAction::trigger (this=0xbfc5a22c) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#22 QToolButton::nextCheckState (this=0xbfc5a22c) at widgets/qtoolbutton.cpp:1147
#23 0xb71e2173 in QAbstractButtonPrivate::click (this=0x9698600) at widgets/qabstractbutton.cpp:528
#24 0xb71e246e in QAbstractButton::mouseReleaseEvent (this=0x969d758, e=0xbfc5af84) at widgets/qabstractbutton.cpp:1121
#25 0xb72c574c in QToolButton::mouseReleaseEvent (this=0x969d758, e=0xbfc5af84) at widgets/qtoolbutton.cpp:721
#26 0xb6e38e78 in QWidget::event (this=0x969d758, event=0xbfc5af84) at kernel/qwidget.cpp:7998
#27 0xb71e120e in QAbstractButton::event (this=0x969d758, e=0xbfc5a22c) at widgets/qabstractbutton.cpp:1080
#28 0xb72c827a in QToolButton::event (this=0x969d758, event=0xbfc5af84) at widgets/qtoolbutton.cpp:1163
#29 0xb6ddabec in QApplicationPrivate::notify_helper (this=0x93c22d0, receiver=0x969d758, e=0xbfc5af84) at kernel/qapplication.cpp:4300
#30 0xb6de20f7 in QApplication::notify (this=0xbfc5b78c, receiver=0x969d758, e=0xbfc5af84) at kernel/qapplication.cpp:3865
#31 0xb67fde2a in KApplication::notify (this=0xbfc5b78c, receiver=0x969d758, event=0xbfc5af84) at ../../kdeui/kernel/kapplication.cpp:302
#32 0xb649a8eb in QCoreApplication::notifyInternal (this=0xbfc5b78c, receiver=0x969d758, event=0xbfc5af84) at kernel/qcoreapplication.cpp:704
#33 0xb6de1052 in QCoreApplication::sendEvent (receiver=0x969d758, event=0xbfc5af84, alienWidget=0x969d758, nativeWidget=0x96a3f70, buttonDown=0xb771f918, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x969d758, event=0xbfc5af84, alienWidget=0x969d758, nativeWidget=0x96a3f70, buttonDown=0xb771f918, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#35 0xb6e6c09c in QETWidget::translateMouseEvent (this=0x96a3f70, event=0xbfc5b3d0) at kernel/qapplication_x11.cpp:4368
#36 0xb6e6b5ab in QApplication::x11ProcessEvent (this=0xbfc5b78c, event=0xbfc5b3d0) at kernel/qapplication_x11.cpp:3379
#37 0xb6e996f2 in x11EventSourceDispatch (s=0x93c4ef8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0xb61482e5 in g_main_dispatch (context=0x93c44a8) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:1960
#39 IA__g_main_context_dispatch (context=0x93c44a8) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:2513
#40 0xb614c000 in g_main_context_iterate (context=0x93c44a8, block=<value optimized out>, dispatch=1, self=0x93c24d8) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:2591
#41 0xb614c198 in IA__g_main_context_iteration (context=0x93c44a8, may_block=1) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:2654
#42 0xb64c62f5 in QEventDispatcherGlib::processEvents (this=0x93aac00, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0xb6e99255 in QGuiEventDispatcherGlib::processEvents (this=0x93aac00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb6498f09 in QEventLoop::processEvents (this=0xbfc5b6c4, flags=) at kernel/qeventloop.cpp:149
#45 0xb649935a in QEventLoop::exec (this=0xbfc5b6c4, flags=...) at kernel/qeventloop.cpp:201
#46 0xb649d4ef in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0xb6ddac87 in QApplication::exec () at kernel/qapplication.cpp:3579
#48 0xb786eacd in kdemain (argc=1, argv=0xbfc5bd04) at ../../../kate/app/katemain.cpp:257
#49 0x080485ab in main (argc=1, argv=0xbfc5bd04) at kate_dummy.cpp:3

This bug may be a duplicate of or related to bug 231931

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-05-12 23:35:31 UTC
probably fixed in kde 4.5

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