Bug 261859

Summary: Kile crashes when saving
Product: [Applications] kile Reporter: sara.royuela
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 2.0.85   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sara.royuela 2011-01-02 13:21:25 UTC
Application: kile (2.0.85)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Kile crashes while saving a document. It occurs sometimes and no other events are remarkable at the moment of the failure.
It happens in the Ubuntu 10.4 distribution and Kile software was downloades from Synaptic.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#6  0x03e316ba in KateSmartCursor::setPositionInternal (this=0x93f5020, pos=..., internal=false) at ../../kate/smart/katesmartcursor.cpp:186
#7  0x03e31de5 in KateSmartCursor::setPosition (this=0x93f5020, pos=...) at ../../kate/smart/katesmartcursor.cpp:415
#8  0x0020444e in KTextEditor::Cursor::operator= (this=0x93f53f0, range=...) at ../../../interfaces/ktexteditor/cursor.h:202
#9  KTextEditor::Range::setRange (this=0x93f53f0, range=...) at ../../../interfaces/ktexteditor/range.cpp:128
#10 0x0020ec60 in KTextEditor::SmartRange::setRange (this=0x93f53f0, range=...) at ../../../interfaces/ktexteditor/smartrange.cpp:239
#11 0x03e7341b in KateSmartRange::operator= (this=0x93f57d8, selection=...) at ../../kate/smart/katesmartrange.h:151
#12 KateView::setSelection (this=0x93f57d8, selection=...) at ../../kate/view/kateview.cpp:1701
#13 0x03e8003b in KateViewInternal::setSelection (this=0x93f7b80, range=...) at ../../kate/view/kateviewinternal.cpp:1870
#14 0x03e85542 in KateViewInternal::updateSelection (this=0x93f7b80, _newCursor=..., keepSel=true) at ../../kate/view/kateviewinternal.cpp:1852
#15 0x03e8cbd4 in KateViewInternal::bottom_end (this=0x93f7b80, sel=243) at ../../kate/view/kateviewinternal.cpp:1732
#16 0x03e6904b in KateView::shiftBottom (this=0x93f57d8) at ../../kate/view/kateview.cpp:2481
#17 0x03e727da in KateView::selectAll (this=0x93f57d8) at ../../kate/view/kateview.cpp:1783
#18 0x03e72c62 in KateView::qt_metacall (this=0x93f57d8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf86e4e8) at ./kateview.moc:352
#19 0x06c5fc9a in QMetaObject::metacall (object=0x93f57d8, cl=QMetaObject::QueryPropertyScriptable, idx=72, argv=0xbf86e4e8) at kernel/qmetaobject.cpp:237
#20 0x06c6e3d5 in QMetaObject::activate (sender=0x9459f40, m=0x3078d58, local_signal_index=1, argv=0xbf86e4e8) at kernel/qobject.cpp:3293
#21 0x02749bd9 in QAction::triggered (this=0x9459f40, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#22 0x0274bdcc in QAction::activate (this=0x9459f40, event=QAction::Trigger) at kernel/qaction.cpp:1255
#23 0x0274d698 in QAction::event (this=0x0, e=0xf3) at kernel/qaction.cpp:1181
#24 0x01adbd63 in KAction::event (this=0x9459f40, event=0xbf86ea08) at ../../kdeui/actions/kaction.cpp:129
#25 0x027504dc in QApplicationPrivate::notify_helper (this=0x867b098, receiver=0x9459f40, e=0xbf86ea08) at kernel/qapplication.cpp:4300
#26 0x0275705e in QApplication::notify (this=0xbf86f8fc, receiver=0x9459f40, e=0xbf86ea08) at kernel/qapplication.cpp:3704
#27 0x01bc7f2a in KApplication::notify (this=0xbf86f8fc, receiver=0x9459f40, event=0xbf86ea08) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x06c5aa3b in QCoreApplication::notifyInternal (this=0xbf86f8fc, receiver=0x9459f40, event=0xbf86ea08) at kernel/qcoreapplication.cpp:704
#29 0x0279234d in QCoreApplication::sendEvent (this=0x867b144, e=0xbf86ee84) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QShortcutMap::dispatchEvent (this=0x867b144, e=0xbf86ee84) at kernel/qshortcutmap.cpp:879
#31 0x0279415e in QShortcutMap::tryShortcutEvent (this=0x867b144, o=0x93f7b80, e=0xbf86ee84) at kernel/qshortcutmap.cpp:364
#32 0x02758e43 in QApplication::notify (this=0xbf86f8fc, receiver=0x93f7b80, e=0xbf86ee84) at kernel/qapplication.cpp:3746
#33 0x01bc7f2a in KApplication::notify (this=0xbf86f8fc, receiver=0x93f7b80, event=0xbf86ee84) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x06c5aa3b in QCoreApplication::notifyInternal (this=0xbf86f8fc, receiver=0x93f7b80, event=0xbf86ee84) at kernel/qcoreapplication.cpp:704
#35 0x027512be in QCoreApplication::sendSpontaneousEvent (receiver=0x93f7b80, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 qt_sendSpontaneousEvent (receiver=0x93f7b80, event=0x0) at kernel/qapplication.cpp:5279
#37 0x0280ad90 in QKeyMapper::sendKeyEvent (keyWidget=0x93f7b80, grab=false, type=QEvent::KeyPress, code=65, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, 
    nativeScanCode=38, nativeVirtualKey=97, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861
#38 0x0280d2f5 in QKeyMapperPrivate::translateKeyEvent (this=0x86a54f8, keyWidget=0x93f7b80, event=0xbf86f54c, grab=243) at kernel/qkeymapper_x11.cpp:1831
#39 0x027e0757 in QApplication::x11ProcessEvent (this=0xbf86f8fc, event=0xbf86f54c) at kernel/qapplication_x11.cpp:3394
#40 0x0281060a in x11EventSourceDispatch (s=0x867df40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x014ee5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x014f22d8 in ?? () from /lib/libglib-2.0.so.0
#43 0x014f24b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x06c865d5 in QEventDispatcherGlib::processEvents (this=0x865e178, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#45 0x02810135 in QGuiEventDispatcherGlib::processEvents (this=0x865e178, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x06c59059 in QEventLoop::processEvents (this=0xbf86f844, flags=) at kernel/qeventloop.cpp:149
#47 0x06c594aa in QEventLoop::exec (this=0xbf86f844, flags=...) at kernel/qeventloop.cpp:201
#48 0x06c5d69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x02750577 in QApplication::exec () at kernel/qapplication.cpp:3579
#50 0x081f7af3 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-02 13:43:23 UTC
[Comment from a bug triager]
As bug 239046 and bug 236731, this is fixed in KDE SC 4.5
Regards

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