Bug 314031 - Crash due to too many file descriptors opened [KDevelop::ItemRepositoryRegistry::registerRepository]
Summary: Crash due to too many file descriptors opened [KDevelop::ItemRepositoryRegist...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 295766 314023 314111 314522 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-28 15:16 UTC by Sasa Kara
Modified: 2021-01-01 08:40 UTC (History)
6 users (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 Sasa Kara 2013-01-28 15:16:36 UTC
Application: kdevelop (4.3.90)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-22-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
I started KDevelop which was loading one of my projects. It crashed deterministically every time on restart.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f36dcef8780 (LWP 2690))]

Thread 8 (Thread 0x7f36d20af700 (LWP 2698)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f36ed1affa7 in wait (time=1000, this=0x220ac60) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x35b6110, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f36e9320f8b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x35b60f0) at ../../language/duchain/duchain.cpp:282
#4  0x00007f36ed1afaec in QThreadPrivate::start (arg=0x35b60f0) at thread/qthread_unix.cpp:338
#5  0x00007f36eb228e9a in start_thread (arg=0x7f36d20af700) at pthread_create.c:308
#6  0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f36c5d7f700 (LWP 2699)):
#0  0x00007f36ebec78f0 in pthread_mutex_unlock (mutex=0x7f36c0000a60) at forward.c:184
#1  0x00007f36e62dbc61 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36e629e60b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36e629ecab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f36e629eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f36ed2dac16 in QEventDispatcherGlib::processEvents (this=0x7f36c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f36ed2ab2bf in QEventLoop::processEvents (this=this@entry=0x7f36c5d7edc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f36ed2ab548 in QEventLoop::exec (this=0x7f36c5d7edc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f36ed1acb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f36ed28d478 in QDnotifySignalThread::run (this=0x3e64580) at io/qfilesystemwatcher_dnotify.cpp:179
#10 0x00007f36ed1afaec in QThreadPrivate::start (arg=0x3e64580) at thread/qthread_unix.cpp:338
#11 0x00007f36eb228e9a in start_thread (arg=0x7f36c5d7f700) at pthread_create.c:308
#12 0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f36b333b700 (LWP 2702)):
#0  0x00007f36ebeae303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f36e629ed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36e629eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36ed2dac16 in QEventDispatcherGlib::processEvents (this=0x7f36ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f36ed2ab2bf in QEventLoop::processEvents (this=this@entry=0x7f36b333ae00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f36ed2ab548 in QEventLoop::exec (this=0x7f36b333ae00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f36ed1acb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f36ed1afaec in QThreadPrivate::start (arg=0x41f7dd0) at thread/qthread_unix.cpp:338
#8  0x00007f36eb228e9a in start_thread (arg=0x7f36b333b700) at pthread_create.c:308
#9  0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f36b2b3a700 (LWP 2703)):
#0  0x00007f36ebeac8bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f36e62daf6f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36e629e914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36e629ed22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f36e629eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f36ed2dac16 in QEventDispatcherGlib::processEvents (this=0x7f36a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f36ed2ab2bf in QEventLoop::processEvents (this=this@entry=0x7f36b2b39e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f36ed2ab548 in QEventLoop::exec (this=0x7f36b2b39e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f36ed1acb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f36ed1afaec in QThreadPrivate::start (arg=0x220b390) at thread/qthread_unix.cpp:338
#10 0x00007f36eb228e9a in start_thread (arg=0x7f36b2b3a700) at pthread_create.c:308
#11 0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f36ab38f700 (LWP 2708)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36e86a2cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f36e86a2d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f36eb228e9a in start_thread (arg=0x7f36ab38f700) at pthread_create.c:308
#4  0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f36a8c9d700 (LWP 2788)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36e33e5b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f36e33e5c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f36eb228e9a in start_thread (arg=0x7f36a8c9d700) at pthread_create.c:308
#4  0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f36a949e700 (LWP 2789)):
#0  0x00007f36ebeae303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f36e629ed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36e629eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36ed2dac16 in QEventDispatcherGlib::processEvents (this=0x7f36980015c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f36ed2ab2bf in QEventLoop::processEvents (this=this@entry=0x7f36a949de00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f36ed2ab548 in QEventLoop::exec (this=0x7f36a949de00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f36ed1acb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f36ed1afaec in QThreadPrivate::start (arg=0x5b3af70) at thread/qthread_unix.cpp:338
#8  0x00007f36eb228e9a in start_thread (arg=0x7f36a949e700) at pthread_create.c:308
#9  0x00007f36ebeb9cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f36dcef8780 (LWP 2690)):
[KCrash Handler]
#6  0x00007f36ebdfc425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f36ebdffb8b in __GI_abort () at abort.c:91
#8  0x00007f36ebe3a39e in __libc_message (do_abort=2, fmt=0x7f36ebf41e5f "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f36ebed082c in __GI___fortify_fail (msg=<optimized out>) at fortify_fail.c:38
#10 0x00007f36ebecf700 in __GI___chk_fail () at chk_fail.c:29
#11 0x00007f36ebed07be in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:26
#12 0x00007f36ed287854 in QProcessPrivate::waitForStarted (this=0x6d7d450, msecs=-1) at io/qprocess_unix.cpp:1038
#13 0x00007f36ed241f53 in QProcess::waitForFinished (this=0x7fff671a9740, msecs=-1) at io/qprocess.cpp:1752
#14 0x00007f36ef14ad42 in KProcess::execute (this=0x7fff671a9740, msecs=-1) at ../../kdecore/io/kprocess.cpp:350
#15 0x00007f36d148a972 in ExternalScriptPlugin::executeCommandSync (this=<optimized out>, command=..., workingDirectory=...) at ../../../plugins/externalscript/externalscriptplugin.cpp:264
#16 0x00007f36d148c669 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./externalscriptplugin.moc:68
#17 ExternalScriptPlugin::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff671a9970) at ./externalscriptplugin.moc:59
#18 0x00007f36d148c7cb in ExternalScriptPlugin::qt_metacall (this=0x35c1d80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff671a9970) at ./externalscriptplugin.moc:113
#19 0x00007f36ed627ed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x220bfb0, object=object@entry=0x35c1d80, msg=..., metaTypes=..., slotIdx=13) at qdbusintegrator.cpp:947
#20 0x00007f36ed628f06 in QDBusConnectionPrivate::activateCall (this=this@entry=0x220bfb0, object=0x35c1d80, flags=16, msg=...) at qdbusintegrator.cpp:850
#21 0x00007f36ed629677 in QDBusConnectionPrivate::activateObject (this=0x220bfb0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1443
#22 0x00007f36ed629a2b in QDBusActivateObjectEvent::placeMetaCall (this=0x7c02ff0) at qdbusintegrator.cpp:1537
#23 0x00007f36ed2c143e in QObject::event (this=0x35c1d80, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x00007f36ec653e9c in QApplicationPrivate::notify_helper (this=this@entry=0x21796c0, receiver=receiver@entry=0x35c1d80, e=e@entry=0x7c02ff0) at kernel/qapplication.cpp:4562
#25 0x00007f36ec65830a in QApplication::notify (this=0x7fff671aaa10, receiver=0x35c1d80, e=0x7c02ff0) at kernel/qapplication.cpp:4423
#26 0x00007f36edaa81d6 in KApplication::notify (this=0x7fff671aaa10, receiver=0x35c1d80, event=0x7c02ff0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f36ed2ac56e in QCoreApplication::notifyInternal (this=0x7fff671aaa10, receiver=receiver@entry=0x35c1d80, event=event@entry=0x7c02ff0) at kernel/qcoreapplication.cpp:915
#28 0x00007f36ed2b03f1 in sendEvent (event=0x7c02ff0, receiver=0x35c1d80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x213f670) at kernel/qcoreapplication.cpp:1539
#30 0x00007f36ed2daa63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x21821f0) at kernel/qeventdispatcher_glib.cpp:279
#32 0x00007f36e629eab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f36e629ede8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f36e629eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f36ed2dabf6 in QEventDispatcherGlib::processEvents (this=0x2140b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007f36ec6f8c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f36ed2ab2bf in QEventLoop::processEvents (this=this@entry=0x7fff671aa4d0, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f36ed2ab548 in QEventLoop::exec (this=0x7fff671aa4d0, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f36ed2b0708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#40 0x000000000040e610 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:518

Possible duplicates by query: bug 313361, bug 311748, bug 311040, bug 310392, bug 309355.

Reported using DrKonqi
Comment 1 Milian Wolff 2013-01-28 15:20:50 UTC
Application: kdevelop (4.3.90) <-- thats old, could you please update to recent master and see whether the crash persists?
Comment 2 Sasa Kara 2013-01-28 16:12:24 UTC
Tried again with 4.4.1, same crash.
Comment 3 Milian Wolff 2013-01-28 16:59:00 UTC
Do you see anything on the CLI that indicates odd behavior? Esp. this output:

#8  0x00007f36ebe3a39e in __libc_message (do_abort=2, fmt=0x7f36ebf41e5f "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201

With the arguments substituted should be interesting. Also please enable the KDevplatform (external scrip) debug area in kdebugdialog to see which command it tries to execute in which directory.

cheers
Comment 4 Sasa Kara 2013-01-28 17:51:24 UTC
I enabled KDevplaftorm (External script) debug in kdebugdialog and KDevelop started fine (took a long time). After that, I tried 4 times (2 times with debugging, 2 times without) and it didn't crash. I will keep an eye on it but maybe it was caused by some saved state which now got overwritten.

One more thing: it appeared while populating "Projects" view with the file tree before anything was shown there. Once you got files shown there and progress bar in lower right corner showing something (blue column moving left-right), it works fine.
Comment 5 Milian Wolff 2013-01-28 18:52:38 UTC
OK, please provide the information above once you can reproduce it. Thanks
Comment 6 Milian Wolff 2013-01-30 15:09:50 UTC
*** Bug 314023 has been marked as a duplicate of this bug. ***
Comment 7 Milian Wolff 2013-01-30 15:43:02 UTC
actually this might be a duplicate of bug 306908
Comment 8 Adam Lyall 2013-01-30 16:08:28 UTC
I've just ran a session from the console using "kdevelop --ps" that is crashing atm. I've pasted the out to the bottom of this comment.

I noticed it is complaining about being able to add paths to files that I can confirm are there. Also of interest is near the end where it says 'Could not open file "/usr/share/kde4/apps/kdevphpsupport/phpfunctions.php"'. I can confirm this file does exist and upon a quick inspection, looks correct.

I have another Kdevelop project open and am running a couple of activities. One of them had a lot of Chrome browser windows open with lots of tabs. Those windows have all been closed before this and Chrome restarted but do you think this could be a number of open inodes limitation as both Kdevelop session have a quite a lot of open files (about 40 each). Its probably worth mentioning that these are PHP projects (Drupal infact).

--Output from terminal
WARNING: deleting stale lockfile /home/magicmyth/.kde/share/apps/kdevelop/sessions//{3ad124e9-09b2-407f-b609-cbb35072ee14}/lock
WARNING: deleting stale lockfile /home/magicmyth/.kdevduchain/{3ad124e9-09b2-407f-b609-cbb35072ee14}/0/lock
qrc:/main.qml:23:1: QML QDeclarativeRectangle_QML_0: Binding loop detected for property "areaName"
QDeclarativeComponent(0x8ae42f0)
QDeclarativeComponent(0x8ae42f0)
kdevelop(20748)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/home/magicmyth/.kde/share/apps/kdevelop/sessions/{3ad124e9-09b2-407f-b609-cbb35072ee14}/recovery/current" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x7600021
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom/devinfo
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom/fieldgroup_element
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom/stuff
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/action_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/ajax_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/batch_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/block_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/cache_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/contextual_links_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/cron_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/dbtng_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/email_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/field_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/field_permission_example/tests
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/field_permission_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/file_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/filter_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/form_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/image_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/js_example/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/js_example/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/js_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/menu_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/node_access_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/node_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/nodeapi_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/page_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/pager_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/queue_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/rdf_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/render_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/simpletest_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/tabledrag_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/tablesort_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/theming_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/token_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/trigger_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/vertical_tabs_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/xmlrpc_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default/fluid
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default/narrow
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default/wide
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_fluid/normal
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_fluid
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/includes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/includes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_onecol
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_threecol_4_4_4
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_threecol_4_4_4_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_3_9
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_6_6
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_6_6_bricks
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_6_6_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_9_3
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_onecol
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_threecol_5_6_5
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_threecol_5_6_5_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_12_4
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_4_12
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_8_8
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_8_8_bricks
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_8_8_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_onecol
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_threecol_8_8_8
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_threecol_8_8_8_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_12_12
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_12_12_bricks
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_12_12_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_18_6
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_6_18
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/preprocess
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/process
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/preprocess
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/process
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/preprocess
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/process
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega_countrygardener
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rt-admin/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rt-admin/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rt-admin
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/tao/drupal
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/tao/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/tao
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/images-source
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/zen-internals/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/zen-internals/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/zen-internals
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/color/bartik-86ba9ba6
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/color
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/ctools/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/ctools
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/fontyourface/local_fonts/FontAwesome-normal-normal
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/fontyourface/local_fonts
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/fontyourface
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/js/wysiwyg
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/large/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/large
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/linkit_thumb/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/linkit_thumb
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/medium/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/medium
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/square_thumbnail/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/square_thumbnail
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/thumbnail/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/thumbnail
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/color
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/engines/phptemplate
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/engines
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/garland/color
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/garland/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/garland
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/seven/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/seven
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/stark
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2
kdevelop(20748)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
kdevelop(20748)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could not open file "/usr/share/kde4/apps/kdevphpsupport/phpfunctions.php" (path "/usr/share/kde4/apps/kdevphpsupport/phpfunctions.php" ) 
kdevelop(20748)/kdevplatform (language): failed to open a repository 
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
kdevelop: Fatal IO error: client killed
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/magicmyth/.kde/socket-MM-THINK/kdeinit4__0
kdevelop(20748)/konsole Konsole::SessionManager::~SessionManager: Konsole SessionManager destroyed with sessions still alive
Comment 9 Milian Wolff 2013-01-30 17:17:39 UTC
Probably related to too many file descriptors being opened by KDevelop. 

lsof -a -p $(pidof kdevelop) | wc -l
1750
lsof -a -p $(pidof kdevelop) | grep REG | wc -l
358

Now if I edit a C++ file I start to load the topducontext files:

$ lsof -a -p $(pidof kdevelop) | grep REG | wc -l
405

I.e. the files stored in $HOME/.cache/kdevduchain/$SESSIONID/topcontexts/ - which can be quite a few...

Can you try to increase /proc/sys/fs/file-max and see whether that work-arounds the issue of the crash? If so, we should try to refactor the code to reduce the number of file descriptors required... Not an easy task probably.
Comment 10 Adam Lyall 2013-01-30 17:31:34 UTC
@Milian Wolff FYI I posted responses on bug #306908.

When I do: "lsof -a -p $(pidof kdevelop) | wc -l" I get:
lsof: status error on 6287: No such file or directory
lsof: status error on 6197: No such file or directory
lsof: status error on 6124: No such file or directory
lsof: status error on 6034: No such file or directory
lsof: status error on 5961: No such file or directory
lsof: status error on 5757: No such file or directory
lsof: status error on 5684: No such file or directory
lsof: status error on 4672: No such file or directory
lsof 4.86
 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
 latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
 latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
 usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
 [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
0

Any idea why that is? If I can get this bit of info going I'll try and keep an eye on the count and watch for a crash. Then I'll up my file-max limit.
Comment 11 Adam Lyall 2013-01-30 17:34:38 UTC
BTW if I am running out of file descriptors would I not start seeing problems with other applications? I tend to have a lot of browser windows and tabs open and I would think if I open more when I start seeing these problems that the browser would start to freak?
Comment 12 Milian Wolff 2013-01-30 17:39:48 UTC
Ah, you seem to have a lot of KDevelop processes running. That would indicate the error of bug 274246 - which is probably related. As I said above, please do this:

"Also please enable the KDevplatform (external scrip) debug area in kdebugdialog to see which command it tries to execute in which directory."

This should give us a hint at what process we fail to execute and then leak.
Comment 13 Adam Lyall 2013-01-30 17:51:47 UTC
You are correct. I had multiple Kdevelop sessions running to stress test things. With one open I can run the lsof command.

$ lsof -a -p $(pidof kdevelop) | wc -l
464

$ lsof -a -p $(pidof kdevelop) | grep REG | wc -l
432

After editing one PHP file by adding the following:
  $var = 'testing';
  drupal_set_message($var);

$ lsof -a -p $(pidof kdevelop) | grep REG | wc -l
1254

So a big increase. I have the "KDevplatform (external scrip)" enabled in kdebugdialog now. Does that produce extra output in the console that I need to keep an eye on or improves the backtrace output?
Comment 14 Adam Lyall 2013-01-30 19:20:01 UTC
Just got a crash on firing up a second existing session. Not that I had re-enable a few kded services:
* Input actions
*Keyboad Deamon
* Removable device Automounter

Anyway I had created a simple logger to keep an eye on the file count from "lsof -a -p $(pidof kdevelop) | grep REG | wc -l". FYI the crash happen at 19:10 (And note I still have the first running):
TIME: 2013-01-30--19-06:12 - LSOF COUNT: 399
TIME: 2013-01-30--19-06:22 - LSOF COUNT: 399
TIME: 2013-01-30--19-06:32 - LSOF COUNT: 399
TIME: 2013-01-30--19-06:42 - LSOF COUNT: 399
TIME: 2013-01-30--19-06:52 - LSOF COUNT: 399
TIME: 2013-01-30--19-07:02 - LSOF COUNT: 399
TIME: 2013-01-30--19-07:12 - LSOF COUNT: 399
TIME: 2013-01-30--19-07:22 - LSOF COUNT: 399
TIME: 2013-01-30--19-07:32 - LSOF COUNT: 399
TIME: 2013-01-30--19-07:42 - LSOF COUNT: 399
TIME: 2013-01-30--19-07:52 - LSOF COUNT: 399
TIME: 2013-01-30--19-08:02 - LSOF COUNT: 399
TIME: 2013-01-30--19-08:12 - LSOF COUNT: 399
TIME: 2013-01-30--19-08:22 - LSOF COUNT: 399
TIME: 2013-01-30--19-08:32 - LSOF COUNT: 399
TIME: 2013-01-30--19-08:43 - LSOF COUNT: 399
TIME: 2013-01-30--19-08:53 - LSOF COUNT: 399
TIME: 2013-01-30--19-09:03 - LSOF COUNT: 399
TIME: 2013-01-30--19-09:13 - LSOF COUNT: 399
TIME: 2013-01-30--19-09:23 - LSOF COUNT: 399
TIME: 2013-01-30--19-09:33 - LSOF COUNT: 399
TIME: 2013-01-30--19-09:43 - LSOF COUNT: 399
TIME: 2013-01-30--19-09:53 - LSOF COUNT: 399
TIME: 2013-01-30--19-10:03 - LSOF COUNT: 399
TIME: 2013-01-30--19-10:13 - LSOF COUNT: 399
TIME: 2013-01-30--19-10:23 - LSOF COUNT: 399
TIME: 2013-01-30--19-10:33 - LSOF COUNT: 399
TIME: 2013-01-30--19-10:43 - LSOF COUNT: 0
TIME: 2013-01-30--19-10:53 - LSOF COUNT: 0
TIME: 2013-01-30--19-11:03 - LSOF COUNT: 399
TIME: 2013-01-30--19-11:13 - LSOF COUNT: 0
TIME: 2013-01-30--19-11:23 - LSOF COUNT: 0
TIME: 2013-01-30--19-11:33 - LSOF COUNT: 0
TIME: 2013-01-30--19-11:43 - LSOF COUNT: 0
TIME: 2013-01-30--19-11:53 - LSOF COUNT: 0
TIME: 2013-01-30--19-12:03 - LSOF COUNT: 0
TIME: 2013-01-30--19-12:13 - LSOF COUNT: 0
TIME: 2013-01-30--19-12:23 - LSOF COUNT: 0
TIME: 2013-01-30--19-12:33 - LSOF COUNT: 0
TIME: 2013-01-30--19-12:43 - LSOF COUNT: 0
TIME: 2013-01-30--19-12:53 - LSOF COUNT: 0
TIME: 2013-01-30--19-13:03 - LSOF COUNT: 0
TIME: 2013-01-30--19-13:13 - LSOF COUNT: 0
TIME: 2013-01-30--19-13:23 - LSOF COUNT: 0

--Console output
$ kdevelop --ps
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
WARNING: deleting stale lockfile /home/magicmyth/.kde/share/apps/kdevelop/sessions//{3ad124e9-09b2-407f-b609-cbb35072ee14}/lock
WARNING: deleting stale lockfile /home/magicmyth/.kdevduchain/{3ad124e9-09b2-407f-b609-cbb35072ee14}/0/lock
qrc:/main.qml:23:1: QML QDeclarativeRectangle_QML_0: Binding loop detected for property "areaName"
QDeclarativeComponent(0x96ab800)
QDeclarativeComponent(0x96ab800)
kdevelop(9375)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/home/magicmyth/.kde/share/apps/kdevelop/sessions/{3ad124e9-09b2-407f-b609-cbb35072ee14}/recovery/current" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x7600021
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom/devinfo
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom/fieldgroup_element
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom/stuff
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/custom
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/action_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/ajax_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/batch_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/block_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/cache_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/contextual_links_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/cron_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/dbtng_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/email_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/field_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/field_permission_example/tests
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/field_permission_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/file_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/filter_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/form_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/image_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/js_example/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/js_example/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/js_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/menu_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/node_access_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/node_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/nodeapi_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/page_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/pager_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/queue_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/rdf_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/render_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/simpletest_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/tabledrag_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/tablesort_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/theming_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/token_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/trigger_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/vertical_tabs_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples/xmlrpc_example
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules/examples
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/modules
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default/fluid
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default/narrow
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default/wide
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_default
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_fluid/normal
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid/alpha_fluid
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css/grid
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/includes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/alpha
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/includes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_onecol
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_threecol_4_4_4
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_threecol_4_4_4_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_3_9
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_6_6
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_6_6_bricks
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_6_6_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12/omega_12_twocol_9_3
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_12
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_onecol
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_threecol_5_6_5
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_threecol_5_6_5_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_12_4
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_4_12
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_8_8
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_8_8_bricks
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16/omega_16_twocol_8_8_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_16
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_onecol
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_threecol_8_8_8
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_threecol_8_8_8_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_12_12
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_12_12_bricks
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_12_12_stacked
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_18_6
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24/omega_24_twocol_6_18
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts/omega_24
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels/layouts
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/omega/panels
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/preprocess
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/process
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/alpha-xhtml
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/preprocess
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/process
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-html5
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/preprocess
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/process
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits/omega-xhtml
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega/starterkits
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/omega_countrygardener
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rt-admin/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rt-admin/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rt-admin
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/rubik
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/tao/drupal
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/tao/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/tao
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/images-source
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/STARTERKIT
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/zen-internals/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/zen-internals/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen/zen-internals
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes/zen
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all/themes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/all
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/color/bartik-86ba9ba6
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/color
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/ctools/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/ctools
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/fontyourface/local_fonts/FontAwesome-normal-normal
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/fontyourface/local_fonts
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/fontyourface
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/js/wysiwyg
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/js
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/large/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/large
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/linkit_thumb/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/linkit_thumb
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/medium/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/medium
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/square_thumbnail/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/square_thumbnail
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/thumbnail/public
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles/thumbnail
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files/styles
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default/files
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites/default
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/sites
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/color
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/css
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik/templates
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/bartik
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/engines/phptemplate
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/engines
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/garland/color
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/garland/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/garland
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/seven/images
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/seven
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes/stark
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2/themes
QFileSystemWatcher: failed to add paths: /var/www/drupal/drupal7-admintest2
kdevelop(9375)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
kdevelop(9375)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could not open file "/usr/share/kde4/apps/kdevphpsupport/phpfunctions.php" (path "/usr/share/kde4/apps/kdevphpsupport/phpfunctions.php" ) 
kdevelop(9375)/kdevplatform (language): failed to open a repository 
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/magicmyth/.kde/socket-MM-THINK/kdeinit4__0
kdevelop: Fatal IO error: client killed
kdevelop(9375)/konsole Konsole::SessionManager::~SessionManager: Konsole SessionManager destroyed with sessions still alive 

[1]+  Stopped                 kdevelop --ps

--Backtrace output
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7f6e042af780 (LWP 9375))]

Thread 10 (Thread 0x7f6dfb22b700 (LWP 9386)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f6e14569fa7 in wait (time=1000, this=0x26ffd10) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x369b7b0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6e106d7f8b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x369b790) at ../../language/duchain/duchain.cpp:282
#4  0x00007f6e14569aec in QThreadPrivate::start (arg=0x369b790) at thread/qthread_unix.cpp:338
#5  0x00007f6e125e2e9a in start_thread (arg=0x7f6dfb22b700) at pthread_create.c:308
#6  0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6deee75700 (LWP 9387)):
#0  0x00007f6e13268303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6e0d655d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6e0d655ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6e14694c16 in QEventDispatcherGlib::processEvents (this=0x7f6de80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6e146652bf in QEventLoop::processEvents (this=this@entry=0x7f6deee74dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6e14665548 in QEventLoop::exec (this=0x7f6deee74dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6e14566b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6e14647478 in QDnotifySignalThread::run (this=0x3ef4960) at io/qfilesystemwatcher_dnotify.cpp:179
#8  0x00007f6e14569aec in QThreadPrivate::start (arg=0x3ef4960) at thread/qthread_unix.cpp:338
#9  0x00007f6e125e2e9a in start_thread (arg=0x7f6deee75700) at pthread_create.c:308
#10 0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f6de74da700 (LWP 9388)):
#0  0x00007f6e13268303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6e0d655d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6e0d655ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6e14694c16 in QEventDispatcherGlib::processEvents (this=0x7f6de00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6e146652bf in QEventLoop::processEvents (this=this@entry=0x7f6de74d9e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6e14665548 in QEventLoop::exec (this=0x7f6de74d9e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6e14566b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6e14569aec in QThreadPrivate::start (arg=0x3f38210) at thread/qthread_unix.cpp:338
#8  0x00007f6e125e2e9a in start_thread (arg=0x7f6de74da700) at pthread_create.c:308
#9  0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6de5a97700 (LWP 9389)):
#0  0x00007f6e1326d023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6e14644fe2 in QProcessManager::run (this=0x7f6e149be520 <processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007f6e14569aec in QThreadPrivate::start (arg=0x7f6e149be520 <processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007f6e125e2e9a in start_thread (arg=0x7f6de5a97700) at pthread_create.c:308
#4  0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6ddd823700 (LWP 9391)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e0fa59cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f6e0fa59d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f6e125e2e9a in start_thread (arg=0x7f6ddd823700) at pthread_create.c:308
#4  0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6dd7382700 (LWP 9460)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e0a79cb2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6e0a79cc39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6e125e2e9a in start_thread (arg=0x7f6dd7382700) at pthread_create.c:308
#4  0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6dd6b81700 (LWP 9461)):
#0  0x00007f6e13268303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6e0d655d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6e0d655ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6e14694c16 in QEventDispatcherGlib::processEvents (this=0x7f6dd0021f20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6e146652bf in QEventLoop::processEvents (this=this@entry=0x7f6dd6b80e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6e14665548 in QEventLoop::exec (this=0x7f6dd6b80e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6e14566b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6e14569aec in QThreadPrivate::start (arg=0x727b220) at thread/qthread_unix.cpp:338
#8  0x00007f6e125e2e9a in start_thread (arg=0x7f6dd6b81700) at pthread_create.c:308
#9  0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6dd5064700 (LWP 9494)):
#0  0x00007f6e1323f83d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6e1326d774 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f6e107166c2 in lockForRead (timeout=0, this=0x3680088) at ../../language/duchain/duchainlock.cpp:133
#3  KDevelop::DUChainLock::lockForRead (this=0x3680088, timeout=0) at ../../language/duchain/duchainlock.cpp:111
#4  0x00007f6e107169f1 in KDevelop::DUChainReadLocker::lock (this=0x7f6dd5063a40) at ../../language/duchain/duchainlock.cpp:257
#5  0x00007f6de7be5fcb in ?? () from /usr/lib/kde4/kdevphplanguagesupport.so
#6  0x00007f6e0b18cf9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f6dd5063db0, th=th@entry=0xb55a850, job=job@entry=0xadf68e0) at ../../../threadweaver/Weaver/Job.cpp:106
#7  0x00007f6e0b18d111 in ThreadWeaver::Job::execute (this=0xadf68e0, th=0xb55a850) at ../../../threadweaver/Weaver/Job.cpp:135
#8  0x00007f6e0b18c76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f6dd5063e00, parent=0x2731970, th=th@entry=0xb55a850) at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0x00007f6e0b18c82b in ThreadWeaver::Thread::run (this=0xb55a850) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f6e14569aec in QThreadPrivate::start (arg=0xb55a850) at thread/qthread_unix.cpp:338
#11 0x00007f6e125e2e9a in start_thread (arg=0x7f6dd5064700) at pthread_create.c:308
#12 0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6dd4863700 (LWP 9495)):
[KCrash Handler]
#6  0x00007f6e131b6425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6e131b9b8b in __GI_abort () at abort.c:91
#8  0x00007f6e10790bf1 in KDevelop::ItemRepositoryRegistry::registerRepository (this=0x27e8070, repository=0x7f6e10a496b0 <KDevelop::FileModificationSetRepositoryRepresenter::repository()::fileModificationSetRepository+16>, manager=0x0) at ../../language/duchain/repositories/itemrepository.cpp:152
#9  0x00007f6e107de874 in SetDataRepository (registry=0x27e8070, name=..., _setRepository=0x7f6e10a496a0 <KDevelop::FileModificationSetRepositoryRepresenter::repository()::fileModificationSetRepository>, this=0x7f6e10a496b0 <KDevelop::FileModificationSetRepositoryRepresenter::repository()::fileModificationSetRepository+16>) at ../../language/util/basicsetrepository.h:138
#10 Utils::BasicSetRepository::BasicSetRepository (this=0x7f6e10a496a0 <KDevelop::FileModificationSetRepositoryRepresenter::repository()::fileModificationSetRepository>, name=..., registry=0x27e8070, delayedDeletion=<optimized out>) at ../../language/util/setrepository.cpp:908
#11 0x00007f6e10698059 in FileModificationSetRepository (this=0x7f6e10a496a0 <KDevelop::FileModificationSetRepositoryRepresenter::repository()::fileModificationSetRepository>) at ../../language/editor/modificationrevisionset.cpp:113
#12 KDevelop::FileModificationSetRepositoryRepresenter::repository () at ../../language/editor/modificationrevisionset.cpp:122
#13 0x00007f6e1069913d in repository () at ../../language/editor/modificationrevisionset.cpp:122
#14 KDevelop::ModificationRevisionSet::addModificationRevision (this=0x7f6dcc048f18, url=..., revision=...) at ../../language/editor/modificationrevisionset.cpp:150
#15 0x00007f6e10727b3c in KDevelop::ParsingEnvironmentFile::addModificationRevision (this=0x7f6dcc048f40, url=..., revision=...) at ../../language/duchain/parsingenvironment.cpp:332
#16 0x00007f6e10727d5b in KDevelop::ParsingEnvironmentFile::ParsingEnvironmentFile (this=0x7f6dcc048f40, url=...) at ../../language/duchain/parsingenvironment.cpp:134
#17 0x00007f6de798536c in Php::ContextBuilder::newTopContext(KDevelop::RangeInRevision const&, KDevelop::ParsingEnvironmentFile*) () from /usr/lib/libkdev4phpduchain.so
#18 0x00007f6de7987aa2 in Php::ContextBuilder::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext) () from /usr/lib/libkdev4phpduchain.so
#19 0x00007f6de797e5ec in Php::DeclarationBuilder::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext) () from /usr/lib/libkdev4phpduchain.so
#20 0x00007f6de7be6316 in ?? () from /usr/lib/kde4/kdevphplanguagesupport.so
#21 0x00007f6e0b18cf9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f6dd4862db0, th=th@entry=0xb4a31b0, job=job@entry=0x36748d0) at ../../../threadweaver/Weaver/Job.cpp:106
#22 0x00007f6e0b18d111 in ThreadWeaver::Job::execute (this=0x36748d0, th=0xb4a31b0) at ../../../threadweaver/Weaver/Job.cpp:135
#23 0x00007f6e0b18c76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f6dd4862e00, parent=0x2731970, th=th@entry=0xb4a31b0) at ../../../threadweaver/Weaver/Thread.cpp:95
#24 0x00007f6e0b18c82b in ThreadWeaver::Thread::run (this=0xb4a31b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#25 0x00007f6e14569aec in QThreadPrivate::start (arg=0xb4a31b0) at thread/qthread_unix.cpp:338
#26 0x00007f6e125e2e9a in start_thread (arg=0x7f6dd4863700) at pthread_create.c:308
#27 0x00007f6e13273cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6e042af780 (LWP 9375)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e1456a04b in wait (time=18446744073709551615, this=0x3efe5a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3eef8d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6e145696bc in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00007f6e146474eb in QDnotifySignalThread::~QDnotifySignalThread (this=0x3ef4960, __in_chrg=<optimized out>) at io/qfilesystemwatcher_dnotify.cpp:145
#5  0x00007f6e14647559 in QDnotifySignalThread::~QDnotifySignalThread (this=0x3ef4960, __in_chrg=<optimized out>) at io/qfilesystemwatcher_dnotify.cpp:147
#6  0x00007f6e14649fe5 in QGlobalStaticDeleter<QDnotifySignalThread>::~QGlobalStaticDeleter (this=0x7f6e149be5a8 <dnotifySignal()::cleanup>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1950
#7  0x00007f6e131bb901 in __run_exit_handlers (status=1, listp=0x7f6e135386a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#8  0x00007f6e131bb985 in __GI_exit (status=<optimized out>) at exit.c:100
#9  0x00007f6e13a77b78 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#10 0x00007f6e14e60fd8 in KApplication::xioErrhandler (this=0x7fff870db750, dpy=0x1dd2390) at ../../kdeui/kernel/kapplication.cpp:419
#11 0x00007f6e0e93759e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f6e0e93503d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f6e0e92660b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f6e13ab2ad7 in x11EventSourcePrepare (s=0x1da0570, timeout=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#15 0x00007f6e0d655618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f6e0d655cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f6e0d655ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f6e14694bf6 in QEventDispatcherGlib::processEvents (this=0x1d68b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00007f6e13ab2c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f6e146652bf in QEventLoop::processEvents (this=this@entry=0x7fff870db210, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f6e14665548 in QEventLoop::exec (this=0x7fff870db210, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f6e1466a708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#23 0x000000000040e6da in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:519

Hope you find that helpful?
Comment 15 Adam Lyall 2013-01-30 19:35:55 UTC
So here is a bit of into you might find useful. After that last crash I upped my ulimit from 2048 to 4000 and KDevelop started just fine. I closed it and started again and still fine. Changed my ulimit back to 2048 and bam! Crashed right after startup again. I suppose that definitley confirms the inode/file-descriptor issue on my setup?

FYI for anyone who wants a possible temp workaround. Try upping your ulimit with the following:
$ ulimit -Sn 4000
And start Kdevelop from the same console (it will only apply to that running console session). So you could just enter the following in Konsole or krunner:
$ ulimit -Sn 4000 && kdevelop --ps
Note that the max number you can set that to is defined in /etc/security/limits.conf and can be viewed with:
$ ulimit -Hn
On Ubuntu this seems to be set to 4096 by default. If you want higher you will have to set the hard limit in limits.conf.
Comment 16 Adam Lyall 2013-01-30 19:48:44 UTC
Ok that session soon crashed even with "ulimit -Sn 4000 && kdevelop" with the following showing in the terminal:
File size limit exceeded (core dumped)
BTW it did not create a debug window with the backtrace. Does "core dumped" mean some log was saved somewhere?
Comment 17 Christoph Feck 2013-01-31 00:53:30 UTC
This is related to the kded4 crash, but probably not a duplicate, unless kdevelop and a kded4 module use the same code somewhere (e.g. Nepomuk, or whatever).
Comment 18 Adam Lyall 2013-01-31 08:33:28 UTC
Is there a workaround for the time being? I've already ran with kded4 killed and with a bare minimal set of modules and still get the crash. The only answer seems to be restart the system and it will work for a while.
Comment 19 Sasa Kara 2013-01-31 08:38:03 UTC
I have it again 100% reproducable with "KDevplatform (External Script)" checked in kdebugdialog. The backtrace looks the same (QProcessPrivate::waitForStarted()). What additional info should I include?

From the console log, it seems that "Too many open files" is the problem:
kdevelop(31234)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x64b56d0)
kdevelop(31234)/KDevplatform (External Script) ExternalScriptPlugin::executeCommandSync: executing command  "if ! [ -e /home/kara/.kde/share/apps/kdevelop/sessions//{4bb5b064-54e6-425c-8480-053fde7fe8d3}/default.sh ]; then touch /home/kara/.kde/share/apps/kdevelop/sessions//{4bb5b064-54e6-425c-8480-053fde7fe8d3}/default.sh; fi"  in working-dir  "/home/kara/projects/CoreLib/Skyper/utils/BuildLib"
QProcessPrivate::createPipe: Cannot create pipe 0x6b0f7f0: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x6b0f818: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x6b0f8a0: Too many open files
QProcessPrivate::createPipe: Cannot create pipe 0x6b0f8a8: Too many open files
QSocketNotifier: Invalid socket specified
QSocketNotifier: Invalid socket specified
*** buffer overflow detected ***: kdevelop terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f2e0882f82c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7f2e0882e700]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a7be)[0x7f2e0882f7be]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x153854)[0x7f2e09be6854]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN8QProcess15waitForFinishedEi+0x73)[0x7f2e09ba0f53]
/usr/lib/libkdecore.so.5(_ZN8KProcess7executeEi+0x22)[0x7f2e0baa9d42]
/usr/lib/kde4/kdevexternalscript.so(+0xc972)[0x7f2df02c9972]
/usr/lib/kde4/kdevexternalscript.so(+0xe669)[0x7f2df02cb669]
/usr/lib/kde4/kdevexternalscript.so(+0xe7cb)[0x7f2df02cb7cb]
/usr/lib/x86_64-linux-gnu/libQtDBus.so.4(+0x22ed3)[0x7f2e09f86ed3]
/usr/lib/x86_64-linux-gnu/libQtDBus.so.4(+0x23fd5)[0x7f2e09f87fd5]
/usr/lib/x86_64-linux-gnu/libQtDBus.so.4(+0x24677)[0x7f2e09f88677]
/usr/lib/x86_64-linux-gnu/libQtDBus.so.4(+0x24a2b)[0x7f2e09f88a2b]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26e)[0x7f2e09c2043e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0x7f2e08fb2e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x13a)[0x7f2e08fb730a]
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36)[0x7f2e0a4071d6]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e)[0x7f2e09c0b56e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x421)[0x7f2e09c0f3f1]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1a6a63)[0x7f2e09c39a63]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7f2e02bfcab5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x47de8)[0x7f2e02bfcde8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7f2e02bfcea4]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x66)[0x7f2e09c39bf6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x270c1e)[0x7f2e09057c1e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f)[0x7f2e09c0a2bf]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x138)[0x7f2e09c0a548]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88)[0x7f2e09c0f708]
kdevelop[0x40e6da]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f2e0874676d]
kdevelop[0x40ee21]
======= Memory map: ========
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/kara/.kde/socket-kara-T3500/kdeinit4__0
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
Comment 20 Milian Wolff 2013-01-31 09:44:44 UTC
Sorry Christoph, I didn't mean it was the "same" bug as in from the same code base, just the same issue at the core which leads to similar crashes.

Sasa, your last output shows a potential issue and I'll investigate that. Thanks.
Comment 21 Milian Wolff 2013-01-31 09:59:56 UTC
This simple test file leaks file descriptors:

#include <QtCore/QCoreApplication>
#include <QtCore/QProcess>

int main(int argc, char** argv)
{
  QCoreApplication app(argc, argv);

  for(int i = 0; i < 1000000; ++i) {
    QProcess p;
    p.start(" - garbage - ");
    p.waitForFinished();
  }
  return 0;
}

As a workaround we'll probably have to verify the argument of every QProcess in our code base for now. I hope it might also be fixed upstream somehow though.
Comment 22 Milian Wolff 2013-01-31 10:28:43 UTC
Upstream bug report: https://bugreports.qt-project.org/browse/QTBUG-27945
Comment 23 Adam Lyall 2013-01-31 13:53:00 UTC
@Milian Wolff I see in that bug report you linked to that the problem seems to stem from trying to execute binaries that are not there. Is it possible to find out what binaries KDevelop is making calls to that do not exist and then either disable the offending plugin or add a dummy executable file (e.g. something that just returns) just to satisfy Qt so that it does not leak a file descriptor?
Comment 24 Milian Wolff 2013-01-31 14:15:36 UTC
Wherever that comes from:

kdevelop(31234)/KDevplatform (External Script) ExternalScriptPlugin::executeCommandSync: executing command  "if ! [ -e /home/kara/.kde/share/apps/kdevelop/sessions//{4bb5b064-54e6-425c-8480-053fde7fe8d3}/default.sh ]; then touch /home/kara/.kde/share/apps/kdevelop/sessions//{4bb5b064-54e6-425c-8480-053fde7fe8d3}/default.sh; fi"  in working-dir  "/home/kara/projects/CoreLib/Skyper/utils/BuildLib"

It's being called over DBus so I'm not sure where it comes from. Maybe just disable the external script plugin...
Comment 25 Sasa Kara 2013-01-31 14:41:37 UTC
I changed the sessionrc file in ~/.kde/share/apps/kdevelop/sessions/* to:
kdevexecutescriptEnabled=false
kdevexternalscriptEnabled=false

Then I still got a crash:
kdevelop(21102)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
kdevelop(21102)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could not open file "<path>" (path "<path>" ) 
kdevelop(21102)/kdevplatform (language): failed to open a repository 
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 29 and type 'Read', disabling...
QSocketNotifier: Invalid socket 39 and type 'Read', disabling...
QSocketNotifier: Invalid socket 28 and type 'Read', disabling...
QSocketNotifier: Invalid socket 31 and type 'Read', disabling...
kdevelop: Fatal IO error: client killed
DUContextData::m_localDeclarations There were items left on destruction: 1

The <path> string was a full path to a file which existed and was readable for me.
Comment 26 Sasa Kara 2013-02-01 08:35:53 UTC
Not sure if it's still the same problem I am hitting but KDevelop is still reliably crashing at startup but output is different:
kdevelop(17279)/kdevelop (cpp support) PreprocessJob::sourceNeeded: PreprocessJob "<path-1>" : include not found: "<path-2>"
kdevelop(17279)/kdevelop (cpp support) CPPInternalParseJob::run: ===-- PARSING --===>  "<path-1>"
kdevelop(17279)/kdevelop (cpp support) CPPInternalParseJob::run: building duchain for "<path-1>"
kdevelop(17279)/kdevelop (cpp support) ContextBuilder::buildContexts: ContextBuilder::buildContexts: compiling
kdevelop(17279)/kdevplatform (language) KDevelop::allocateRepository: picked duchain directory "/home/kara/.kdevduchain/{4bb5b064-54e6-425c-8480-053fde7fe8d3}/0"
kdevelop(17279)/kdevplatform (language): failed to open a repository 
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 33 and type 'Read', disabling...
QSocketNotifier: Invalid socket 39 and type 'Read', disabling...
QSocketNotifier: Invalid socket 28 and type 'Read', disabling...
QSocketNotifier: Invalid socket 31 and type 'Read', disabling...
kdevelop: Fatal IO error: client killed
DUContextData::m_localDeclarations There were items left on destruction: 1
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/kara/.kde/socket-kara-T3500/kdeinit4__0

One thing I had is relative paths in .kdev_include_paths (content was ".\n..") but it still crashes after I renamed the .kdev_include_paths files.
Comment 27 Milian Wolff 2013-02-06 17:53:18 UTC
*** Bug 314522 has been marked as a duplicate of this bug. ***
Comment 28 stompdagger1 2013-02-08 06:15:40 UTC
in my work I use Ubuntu in which the bug reproduces, at my home I use Gentoo which doesn't reproduces, wouldn't it be more easy to pinpoint the issue on which pkg it happens on in Ubuntu and open a bug on this at Ubuntu?
Comment 29 stompdagger1 2013-02-12 08:18:46 UTC
it seams that latest kdevelop/kdeplatform from git + background parser doesn't crashes the system.

I've also removed all config files so this might be related.
Comment 30 stompdagger1 2013-02-12 08:19:13 UTC
(In reply to comment #29)
> it seams that latest kdevelop/kdeplatform from git + background parser
> doesn't crashes the system.
> 
> I've also removed all config files so this might be related.

correction, background parser disabled
Comment 31 Milian Wolff 2013-02-13 22:37:46 UTC
Git commit 6d5e7608c5b4fe675fb42e9467e7f1acc3395b8b by Milian Wolff.
Committed on 13/02/2013 at 23:35.
Pushed by mwolff into branch 'master'.

Increase the item repository version.

I think that I might have introduced an incompatiblity in the
recent changes to e.g. the SetDataRepository. This in turn then
resulted in strange crashes on startup like shown in bug 314031.

Lets keep that open for now but I think these crashes on startup in
KDevelop::ItemRepositoryRegistry::registerRepository should now be
resolved...

M  +1    -1    language/duchain/repositories/itemrepository.cpp

http://commits.kde.org/kdevplatform/6d5e7608c5b4fe675fb42e9467e7f1acc3395b8b
Comment 32 stompdagger1 2013-02-14 11:15:14 UTC
this commit made it worst, now I cannot even use kdevelop with parser off, it just crashes when I click a c or header file in the projects dock without even getting a crash report screen.

I get this when I run it:
(process:10983): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

10983 Trace/breakpoint trap   (core dumped) kdevelop
Comment 33 stompdagger1 2013-03-01 07:33:55 UTC
yesterday's git update seems to solve the issue.

thanks to the devs for solving this.
Comment 34 Milian Wolff 2014-07-28 12:21:57 UTC
seems to be fixed
Comment 35 Milian Wolff 2014-07-28 21:26:39 UTC
*** Bug 314111 has been marked as a duplicate of this bug. ***
Comment 36 Milian Wolff 2014-07-28 21:27:22 UTC
from bug 337854:

Olaf Bonorden 2014-07-28 14:51:28 UTC
project contains more than 600 directories, kdevelop opens 2 fds per directory...

Olaf Bonorden 2014-07-28 15:20:08 UTC
version kdevelop4-4.7.60git.1406365283-97.2.x86_64 still opens too many directories
Comment 37 Kevin Funk 2015-11-29 15:41:10 UTC
*** Bug 295766 has been marked as a duplicate of this bug. ***
Comment 38 Justin Zobel 2020-12-17 05:21:27 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 39 Bug Janitor Service 2021-01-01 04:34:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 40 Sasa Kara 2021-01-01 08:40:51 UTC
I haven't seen this in a while. I think it can be closed now, thanks!