Bug 220969

Summary: kate crash while overwriting an open file
Product: [Applications] kate Reporter: Davide Bettio <davide.bettio>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Davide Bettio 2010-01-02 13:00:39 UTC
Application: kate (3.3.86)
KDE Platform Version: 4.3.86 (KDE 4.3.86 (KDE 4.4 >= 20091231))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I've obtained this crash while overwriting with kate a file already open in kate. The crash happened after the file has been overwritten.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fd9aebe2750 (LWP 7649))]

Thread 2 (Thread 0x7fd99d0bd910 (LWP 7650)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd99d248c3f in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd99d5976c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007fd99d24828a in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd99d5976c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007fd9ac51da04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fd9aa8977bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd9aebe2750 (LWP 7649)):
[KCrash Handler]
#5  0x00007fd9ac828919 in QString::operator== (this=0x1c9a8f0, other=...) at tools/qstring.cpp:2060
#6  0x00007fd9adc5af5b in KDirWatchPrivate::Entry::findSubEntry (this=0x1201430) at /home/davide/kde/src/KDE/kdelibs/kio/kio/kdirwatch_p.h:161
#7  KDirWatchPrivate::inotifyEventReceived (this=0x1201430) at /home/davide/kde/src/KDE/kdelibs/kio/kio/kdirwatch.cpp:309
#8  0x00007fd9adc5e2a4 in KDirWatchPrivate::qt_metacall (this=0x1201430, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff09e482f0)
    at /home/davide/kde/build/KDE/kdelibs/kio/kdirwatch_p.moc:83
#9  0x00007fd9ac90336b in QMetaObject::metacall (object=0x1201430, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0x7fff09e482f0) at kernel/qmetaobject.cpp:237
#10 0x00007fd9ac9197bf in QMetaObject::activate (sender=0x1201bc0, m=0x7fd9acc76b20, local_signal_index=0, argv=0x7fff09e482f0) at kernel/qobject.cpp:3294
#11 0x00007fd9ac980bca in QSocketNotifier::activated (this=0x1201bc0, _t1=12) at .moc/debug-shared/moc_qsocketnotifier.cpp:89
#12 0x00007fd9ac9228fb in QSocketNotifier::event (this=0x1201bc0, e=0x7fff09e48a40) at kernel/qsocketnotifier.cpp:317
#13 0x00007fd9ab4f9962 in QApplicationPrivate::notify_helper (this=0x10ea4a0, receiver=0x1201bc0, e=0x7fff09e48a40) at kernel/qapplication.cpp:4242
#14 0x00007fd9ab4f7115 in QApplication::notify (this=0x7fff09e48ec0, receiver=0x1201bc0, e=0x7fff09e48a40) at kernel/qapplication.cpp:3661
#15 0x00007fd9ad149e76 in KApplication::notify (this=0x7fff09e48ec0, receiver=0x1201bc0, event=0x7fff09e48a40) at /home/davide/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#16 0x00007fd9ac8fb1f8 in QCoreApplication::notifyInternal (this=0x7fff09e48ec0, receiver=0x1201bc0, event=0x7fff09e48a40) at kernel/qcoreapplication.cpp:704
#17 0x00007fd9ac8ff1e5 in QCoreApplication::sendEvent (receiver=0x1201bc0, event=0x7fff09e48a40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 0x00007fd9ac936a9d in socketNotifierSourceDispatch (source=0x1111000) at kernel/qeventdispatcher_glib.cpp:110
#19 0x00007fd9a76cabce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007fd9a76ce598 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007fd9a76ce6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007fd9ac9381ef in QEventDispatcherGlib::processEvents (this=0x1113740, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#23 0x00007fd9ab5e0742 in QGuiEventDispatcherGlib::processEvents (this=0x1113740, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007fd9ac8f821c in QEventLoop::processEvents (this=0x7fff09e48d70, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007fd9ac8f8372 in QEventLoop::exec (this=0x7fff09e48d70, flags=...) at kernel/qeventloop.cpp:201
#26 0x00007fd9ac8fb8fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#27 0x00007fd9ab4f6cc8 in QApplication::exec () at kernel/qapplication.cpp:3570
#28 0x00007fd9a14f3f7d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/davide/kde/src/KDE/kdesdk/kate/app/katemain.cpp:377
#29 0x0000000000407048 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x10a8382 "polaris;1262432192;873041;7327_TIME2542174") at /home/davide/kde/src/KDE/kdelibs/kinit/kinit.cpp:706
#30 0x0000000000407d00 in handle_launcher_request (sock=8, who=<value optimized out>) at /home/davide/kde/src/KDE/kdelibs/kinit/kinit.cpp:1198
#31 0x00000000004081b1 in handle_requests (waitForPid=0) at /home/davide/kde/src/KDE/kdelibs/kinit/kinit.cpp:1391
#32 0x0000000000408e7a in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /home/davide/kde/src/KDE/kdelibs/kinit/kinit.cpp:1830
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 215967.

Possible duplicates by query: bug 216914, bug 216782, bug 215967.

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-01 22:38:29 UTC
Merging with bug 215967. Regards

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