Application that crashed: kate Version of the application: 3.2.98 KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)) Qt Version: 4.5.0 Operating System: Linux 2.6.28-14-generic i686 Distribution: Ubuntu 9.04 What I was doing when the application crashed: As usual, I was working with a group of files opened in Kate, all of them managed by a session. I modified a single file and after I clicked in the Save button (on the toolbar) Kate crashed. This is the first time it happens to me, at least in the KDE4 era. -- Backtrace: Application: Kate (kdeinit4), signal: Segmentation fault [KCrash Handler] #6 KateSmartCursor (this=0x83cf140, position=@0x8bce6d0, doc=0x84ab3a0, insertBehavior=KTextEditor::SmartCursor::MoveOnInsert) at /build/buildd/kde4libs-4.2.98a/kate/smart/katesmartcursor.cpp:50 #7 0xb2e0e1f9 in KateSmartRange (this=0x826dfa8, range=@0xbfc24014, doc=0x84ab3a0, parent=0x0, insertBehavior={i = -1077788916}) at /build/buildd/kde4libs-4.2.98a/kate/smart/katesmartrange.cpp:36 #8 0xb2e13d10 in KateSmartManager::newSmartRange (this=0x84bf0e0, range=@0xbfc24014, parent=0x0, insertBehavior={i = -1077788848}, internal=false) at /build/buildd/kde4libs-4.2.98a/kate/smart/katesmartmanager.cpp:208 #9 0xb2db1668 in KateDocument::newSmartRange (this=0x84ab3a0, range=@0xbfc24014, parent=0x0, insertBehavior={i = -1077788556}) at /build/buildd/kde4libs-4.2.98a/kate/document/katedocument.cpp:5809 #10 0xb2e75d06 in KateIconBorder::showBlock (this=0x8b848a0, line=20) at /build/buildd/kde4libs-4.2.98a/kate/view/kateviewhelpers.cpp:1301 #11 0xb2e7663a in KateIconBorder::mouseMoveEvent (this=0x8b848a0, e=0xbfc24628) at /build/buildd/kde4libs-4.2.98a/kate/view/kateviewhelpers.cpp:1328 #12 0xb68df9ad in QWidget::event (this=0x8b848a0, event=0xbfc24628) at kernel/qwidget.cpp:7501 #13 0xb6888e9c in QApplicationPrivate::notify_helper (this=0x82992f0, receiver=0x8b848a0, e=0xbfc24628) at kernel/qapplication.cpp:4084 #14 0xb6891b11 in QApplication::notify (this=0xbfc25068, receiver=0x8b848a0, e=0xbfc24628) at kernel/qapplication.cpp:3786 #15 0xb73c35cd in KApplication::notify (this=0xbfc25068, receiver=0x8b848a0, event=0xbfc24628) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302 #16 0xb7dfba3b in QCoreApplication::notifyInternal (this=0xbfc25068, receiver=0x8b848a0, event=0xbfc24628) at kernel/qcoreapplication.cpp:602 #17 0xb6890b7e in QApplicationPrivate::sendMouseEvent (receiver=0x8b848a0, event=0xbfc24628, alienWidget=0x8b848a0, nativeWidget=0x84807f0, buttonDown=0xb7133200, lastMouseReceiver=@0xb7133204) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #18 0xb690097e in QETWidget::translateMouseEvent (this=0x84807f0, event=0xbfc24c6c) at kernel/qapplication_x11.cpp:4425 #19 0xb68ffca7 in QApplication::x11ProcessEvent (this=0xbfc25068, event=0xbfc24c6c) at kernel/qapplication_x11.cpp:3421 #20 0xb692ac6a in x11EventSourceDispatch (s=0x829c2a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #21 0xb641bb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #22 0xb641f0eb in ?? () from /usr/lib/libglib-2.0.so.0 #23 0xb641f268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #24 0xb7e27438 in QEventDispatcherGlib::processEvents (this=0x8236d40, flags={i = -1077785048}) at kernel/qeventdispatcher_glib.cpp:323 #25 0xb692a365 in QGuiEventDispatcherGlib::processEvents (this=0x8236d40, flags={i = -1077785000}) at kernel/qguieventdispatcher_glib.cpp:202 #26 0xb7dfa06a in QEventLoop::processEvents (this=0xbfc24ed0, flags={i = -1077784936}) at kernel/qeventloop.cpp:149 #27 0xb7dfa4aa in QEventLoop::exec (this=0xbfc24ed0, flags={i = -1077784872}) at kernel/qeventloop.cpp:200 #28 0xb7dfc959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #29 0xb6888d17 in QApplication::exec () at kernel/qapplication.cpp:3553 #30 0xb5bc386d in kdemain () from /usr/lib/libkdeinit4_kate.so #31 0x0804e27d in launch (argc=3, _name=0x82825ac "kate", args=0x82825f5 "", cwd=0x0, envc=0, envs=0x82825fa "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8051391 "0") at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:676 #32 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1168 #33 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1361 #34 0x0804fbca in main (argc=2, argv=0xbfc25c24, envp=0xbfc25c30) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1788 Reported using DrKonqi
*** Bug 205273 has been marked as a duplicate of this bug. ***
This looks like it could be the same as bug 192961. Thanks
*** Bug 192961 has been marked as a duplicate of this bug. ***
*** Bug 211473 has been marked as a duplicate of this bug. ***
*** Bug 221629 has been marked as a duplicate of this bug. ***
Guess fixed by other smart range fixes, no such crash seen here at least since long.
Created attachment 43075 [details] New crash information added by DrKonqi I had just saved and then tried to delete some spaces at the end of the line to join the current line with next line (static word wrap is enabled). It then seg faulted.
Created attachment 43093 [details] New crash information added by DrKonqi I had not saved recently this time. I was simply typing along when the program seg faulted. It may be related to having the structure view open.
I am very sorry about the problems you have :( Seems there are more hidden errors in smart, which is no wonder, as it is quiet complex and not maintained. For KDE 4.5, Kate will use no smart ranges and cursors at all any more for normal work and only provide them as deprecated API for external apps until they switch over to the new Moving* stuff, for KDE 4.6. Therefor, this problem is solved in /trunk but won't be able to be fixed in the KDE 4.4 branch, as nobody understands the smart* stuff at all :/ I am very sorry, I hope the crashs don't happen to often and that KDE 4.5 again will fix that all for you :((( Sorry :((
*** Bug 239970 has been marked as a duplicate of this bug. ***
*** Bug 244156 has been marked as a duplicate of this bug. ***
*** Bug 245206 has been marked as a duplicate of this bug. ***
*** Bug 249124 has been marked as a duplicate of this bug. ***
Created attachment 51732 [details] New crash information added by DrKonqi Kile has now crashed randomly about 3 or 4 times. I was just typing.
*** Bug 250896 has been marked as a duplicate of this bug. ***
*** Bug 252379 has been marked as a duplicate of this bug. ***
*** Bug 255820 has been marked as a duplicate of this bug. ***
*** Bug 261901 has been marked as a duplicate of this bug. ***
*** Bug 268055 has been marked as a duplicate of this bug. ***
*** Bug 274456 has been marked as a duplicate of this bug. ***