Bug 244741 - segfault in Kate when open file was deleted
Summary: segfault in Kate when open file was deleted
Status: RESOLVED DUPLICATE of bug 224229
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 15:05 UTC by Marcel Loose
Modified: 2011-01-23 18:36 UTC (History)
1 user (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 Marcel Loose 2010-07-15 15:05:53 UTC
Application that crashed: kate
Version of the application: 3.3.5
KDE Version: 4.3.5 (KDE 4.3.5) "release 0"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

What I was doing when the application crashed:
Kate crashed with a segfault when a file, that was opened in the editor, was deleted by another process (in this case the file was renamed in a console window using 'mv').

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#5  size (this=<value optimized out>) at ../../src/corelib/tools/qstring.h:104
#6  QString::operator== (this=<value optimized out>) at tools/qstring.cpp:1912
#7  0x00007fabf9133396 in KDirWatchPrivate::Entry::findSubEntry (this=<value optimized out>, path=...) at /usr/src/debug/kdelibs-4.3.5/kio/kio/kdirwatch_p.h:157
#8  0x00007fabf912ff96 in KDirWatchPrivate::inotifyEventReceived (this=0x7c70d0) at /usr/src/debug/kdelibs-4.3.5/kio/kio/kdirwatch.cpp:297
#9  0x00007fabf9133094 in KDirWatchPrivate::qt_metacall (this=0x7c70d0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3066dd90) at /usr/src/debug/kdelibs-4.3.5/build/kio/kdirwatch_p.moc:75
#10 0x00007fabfd225fbc in QMetaObject::activate (sender=0x7c3920, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#11 0x00007fabfd25c76e in QSocketNotifier::activated (this=0x3ff0000000000000, _t1=12) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#12 0x00007fabfd22a953 in QSocketNotifier::event (this=0x7c3920, e=0x7fff3066e2d0) at kernel/qsocketnotifier.cpp:316
#13 0x00007fabfe6232ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007fabfe62a57e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007fabfd97a016 in KApplication::notify (this=0x7fff3066e630, receiver=0x7c3920, event=0x7fff3066e2d0) at /usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#16 0x00007fabfd210ddc in QCoreApplication::notifyInternal (this=0x7fff3066e630, receiver=0x7c3920, event=0x7fff3066e2d0) at kernel/qcoreapplication.cpp:610
#17 0x00007fabfd2396fa in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#18 socketNotifierSourceDispatch (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:110
#19 0x00007fabfc049dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fabfc04d7b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fabfc04d8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fabfd2393a3 in QEventDispatcherGlib::processEvents (this=0x609430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#23 0x00007fabfe6b631e in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007fabfd20f712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#25 0x00007fabfd20fae4 in QEventLoop::exec (this=0x7fff3066e530, flags=) at kernel/qeventloop.cpp:201
#26 0x00007fabfd211c99 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#27 0x00007fabff373d2d in kdemain () from /usr/lib64/libkdeinit4_kate.so
#28 0x00007fabff032a7d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff3066f848) at libc-start.c:220
#29 0x0000000000400699 in _start ()

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

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-23 18:36:48 UTC
[Comment from a bug triager]
This is fixed in KDE SC 4.4.1 and later
Merging with bug 224229. Thanks

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