Bug 224574 - Crash in KDirWatchPrivate::Entry::findSubEntry when saving a file
Summary: Crash in KDirWatchPrivate::Entry::findSubEntry when saving a file
Status: RESOLVED DUPLICATE of bug 215967
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-01-28 04:14 UTC by Dima Ryazanov
Modified: 2010-01-29 00:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2010-01-28 04:14:07 UTC
Application that crashed: kate
Version of the application: 3.3.5
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I pressed Ctrl-S to save a file, and that caused Kate to crash.

The file was read-only, in case that's related to the crash.


 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QString::size (this=<value optimized out>, other=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:104
#6  QString::operator== (this=<value optimized out>, other=...) at tools/qstring.cpp:1912
#7  0x00007fd4f4fb706b in KDirWatchPrivate::Entry::findSubEntry (this=0x168b2e0) at ../../kio/kio/kdirwatch_p.h:157
#8  KDirWatchPrivate::inotifyEventReceived (this=0x168b2e0) at ../../kio/kio/kdirwatch.cpp:297
#9  0x00007fd4f4fb86c4 in KDirWatchPrivate::qt_metacall (this=0x168b2e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6eb4edf0) at ./kdirwatch_p.moc:75
#10 0x00007fd4f5eb2ddc in QMetaObject::activate (sender=0x1706ad0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#11 0x00007fd4f5ee8e9e in QSocketNotifier::activated (this=0x2200000001, _t1=12) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#12 0x00007fd4f5eb7773 in QSocketNotifier::event (this=0x1706ad0, e=0x7fff6eb4f330) at kernel/qsocketnotifier.cpp:316
#13 0x00007fd4f3e47efc in QApplicationPrivate::notify_helper (this=0x1619120, receiver=0x1706ad0, e=0x7fff6eb4f330) at kernel/qapplication.cpp:4056
#14 0x00007fd4f3e4f1ce in QApplication::notify (this=0x7fff6eb533f0, receiver=0x1706ad0, e=0x7fff6eb4f330) at kernel/qapplication.cpp:4021
#15 0x00007fd4f4a7ef46 in KApplication::notify (this=0x7fff6eb533f0, receiver=0x1706ad0, event=0x7fff6eb4f330) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x00007fd4f5e9dc2c in QCoreApplication::notifyInternal (this=0x7fff6eb533f0, receiver=0x1706ad0, event=0x7fff6eb4f330) at kernel/qcoreapplication.cpp:610
#17 0x00007fd4f5ec642a in QCoreApplication::sendEvent (source=0x161b9d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 socketNotifierSourceDispatch (source=0x161b9d0) at kernel/qeventdispatcher_glib.cpp:110
#19 0x00007fd4f2d78bce in g_main_dispatch (context=0x161b880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#20 IA__g_main_context_dispatch (context=0x161b880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#21 0x00007fd4f2d7c598 in g_main_context_iterate (context=0x161b880, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#22 0x00007fd4f2d7c6c0 in IA__g_main_context_iteration (context=0x161b880, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#23 0x00007fd4f5ec61a6 in QEventDispatcherGlib::processEvents (this=0x157b040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#24 0x00007fd4f3edc4be in QGuiEventDispatcherGlib::processEvents (this=0x2200000001, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007fd4f5e9c532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007fd4f5e9c904 in QEventLoop::exec (this=0x7fff6eb4f590, flags=) at kernel/qeventloop.cpp:201
#27 0x00007fd4f42c29de in QDialog::exec (this=0x6407e20) at dialogs/qdialog.cpp:498
#28 0x00007fd4f4a052b5 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=<value optimized out>, strlist=<value optimized out>, 
    ask=<value optimized out>, checkboxReturn=<value optimized out>, options=) at ../../kdeui/dialogs/kmessagebox.cpp:331
#29 0x00007fd4f4a06530 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=QMessageBox::Critical, text=<value optimized out>, strlist=<value optimized out>, ask=..., 
    checkboxReturn=0x0, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:151
#30 0x00007fd4f4a073f3 in KMessageBox::errorListWId (parent_id=65012753, text=..., strlist=..., caption=..., options=) at ../../kdeui/dialogs/kmessagebox.cpp:849
#31 0x00007fd4f4a075f2 in KMessageBox::error (parent=<value optimized out>, text=..., caption=..., options=<value optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:813
#32 0x00007fd4e3263311 in KateDocument::saveFile (this=<value optimized out>) at ../../kate/document/katedocument.cpp:3431
#33 0x00007fd4f569feea in KParts::ReadWritePart::save (this=0x1c6d5d0) at ../../kparts/part.cpp:820
#34 0x00007fd4e3251651 in KateDocument::documentSave (this=0x1c6d5d0) at ../../kate/document/katedocument.cpp:5107
#35 0x00007fd4e325cc0c in KateDocument::qt_metacall (this=0x1c6d5d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6eb50850) at ./katedocument.moc:315
#36 0x00007fd4f5eb2ddc in QMetaObject::activate (sender=0x348c910, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#37 0x00007fd4f3e420a7 in QAction::triggered (this=0x2200000001, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#38 0x00007fd4f3e434ef in QAction::activate (this=0x348c910, event=<value optimized out>) at kernel/qaction.cpp:1160
#39 0x00007fd4f3e45fa7 in QAction::event (this=0x2200000001, e=<value optimized out>) at kernel/qaction.cpp:1079
#40 0x00007fd4f49ad23d in KAction::event (this=0x2200000001, event=0x7fff6eb50d50) at ../../kdeui/actions/kaction.cpp:88
#41 0x00007fd4f3e47efc in QApplicationPrivate::notify_helper (this=0x1619120, receiver=0x348c910, e=0x7fff6eb50d50) at kernel/qapplication.cpp:4056
#42 0x00007fd4f3e4f1ce in QApplication::notify (this=0x7fff6eb533f0, receiver=0x348c910, e=0x7fff6eb50d50) at kernel/qapplication.cpp:4021
#43 0x00007fd4f4a7ef46 in KApplication::notify (this=0x7fff6eb533f0, receiver=0x348c910, event=0x7fff6eb50d50) at ../../kdeui/kernel/kapplication.cpp:302
#44 0x00007fd4f5e9dc2c in QCoreApplication::notifyInternal (this=0x7fff6eb533f0, receiver=0x348c910, event=0x7fff6eb50d50) at kernel/qcoreapplication.cpp:610
#45 0x00007fd4f3e7c666 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff6eb511e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#46 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff6eb511e0) at kernel/qshortcutmap.cpp:884
#47 0x00007fd4f3e7e4f7 in QShortcutMap::tryShortcutEvent (this=0x1619238, o=<value optimized out>, e=0x7fff6eb511e0) at kernel/qshortcutmap.cpp:369
#48 0x00007fd4f3e4fe6e in QApplication::notify (this=0x7fff6eb533f0, receiver=0x33c4b70, e=0x7fff6eb511e0) at kernel/qapplication.cpp:3645
#49 0x00007fd4f4a7ef46 in KApplication::notify (this=0x7fff6eb533f0, receiver=0x33c4b70, event=0x7fff6eb511e0) at ../../kdeui/kernel/kapplication.cpp:302
#50 0x00007fd4f5e9dc2c in QCoreApplication::notifyInternal (this=0x7fff6eb533f0, receiver=0x33c4b70, event=0x7fff6eb511e0) at kernel/qcoreapplication.cpp:610
#51 0x00007fd4f3ed8dfa in QKeyMapper::sendKeyEvent (keyWidget=0x33c4b70, grab=<value optimized out>, type=QEvent::KeyPress, code=83, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=39, nativeVirtualKey=115, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#52 0x00007fd4f3edb370 in QKeyMapperPrivate::translateKeyEvent (this=0x164ced0, keyWidget=0x33c4b70, event=<value optimized out>, grab=176) at kernel/qkeymapper_x11.cpp:1831
#53 0x00007fd4f3eb3493 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6eb52fc0) at kernel/qapplication_x11.cpp:3443
#54 0x00007fd4f3edcd0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007fd4f2d78bce in g_main_dispatch (context=0x161b880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#56 IA__g_main_context_dispatch (context=0x161b880) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#57 0x00007fd4f2d7c598 in g_main_context_iterate (context=0x161b880, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#58 0x00007fd4f2d7c6c0 in IA__g_main_context_iteration (context=0x161b880, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#59 0x00007fd4f5ec61a6 in QEventDispatcherGlib::processEvents (this=0x157b040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#60 0x00007fd4f3edc4be in QGuiEventDispatcherGlib::processEvents (this=0x2200000001, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#61 0x00007fd4f5e9c532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#62 0x00007fd4f5e9c904 in QEventLoop::exec (this=0x7fff6eb532f0, flags=) at kernel/qeventloop.cpp:201
#63 0x00007fd4f5e9eab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#64 0x00007fd4e9a80d2d in kdemain () from /usr/lib/libkdeinit4_kate.so
#65 0x0000000000406da8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x15c60d3 "dima-ubuntu;1264626505;395059;10330_TIME501624401") at ../../kinit/kinit.cpp:677
#66 0x0000000000407aa0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#67 0x0000000000407f51 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#68 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-29 00:21:39 UTC
Merging with bug 215967. Regards

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