Community
Participate
Working Groups
Created attachment 252912 [details] eclipse installation information I use the nightly dltk and PDT versions on Ubuntu 14.10 64-bit using the 32-bit Sun JVM version 1.6. I update the PDT plugin regularly. Since a couple weeks or months (I don't remember) the IDE hangs sometimes when I save a PHP file. The program is unresponsive and Ubuntu applies a semitransparent overlay to indicate that the program doesn't respond. After about 10 seconds the delay is over. I'll attach files that hopefully lead to a cause for this problem, but perhaps my JVM is too old?
Created attachment 252913 [details] eclipse log file, containing an exception that might be of interest
Created attachment 252914 [details] visualvm thread dump, the main thread seems to be waiting on something
Based on logs I see you haven't nightly DLTK, but ancient 5.0 dltk h2 index (current nightly is 5.2, 5.1.1 is latest stable with many h2 improvements). Can you upgrade? DLTK update sites: DLTK 5.1.1 (stable): http://download.eclipse.org/technology/dltk/updates-dev/5.1.1/ DLTK 5.2 (nightly) http://download.eclipse.org/technology/dltk/updates-dev/5.2 PDT update sites: Latest stable (3.4) http://download.eclipse.org/tools/pdt/updates/latest/ Latest nightly (3.5) http://download.eclipse.org/tools/pdt/updates/latest-nightly
Thank you very much for your quick comment and insight. I stumbled upon a link to a feed of nightly DLTK versions, but it seemed to be an outdated link. Thanks for the DLTK links. Where could I have found those on eclipse.org? The DLTK subsite seems to be very outdated. I'll mark this bug as INVALID.
List of recent and upcoming releases are available in pmi : https://projects.eclipse.org/projects/technology.dltk update site will be at: http://download.eclipse.org/technology/dltk/updates-dev/${version-number} you can also use unofficial community repository: http://p2-dev.pdt-extensions.org/ it contain PDT/DLTK nightlies and many other plugins
Thanks, I did not know about https://projects.eclipse.org/.
After upgrading DLTK, I still have this issue. I will attach a new thread dump and eclipse installation info.
Created attachment 253371 [details] new thread dump
Created attachment 253372 [details] new eclipse installation information
Is there anything I can do to help investigage this problem?
Might be related to bug 443468, SVN decorator works in similar way like GIT decorator. If you are using workspace from previous version, you should close all projects and reopen. Did you activated any mylyn task? If yes can you try without any context? And last, can you attach example file? Thank you
Thanks for your response. I will close all projects and reopen them. I am using activated Mylyn tasks all the time, I will try to see if not having them activated makes any difference. If that doesn't give results, I'll attach a file.
Reopening and closing didn't help. Not using Mylyn tasks didn't help. I imported the project in a new workspace and I noticed different behavior: when I save a file about 500 PHO files are rebuilt. Perhaps this causes the freeze in my other workspace. I tried disabling the builders in the project settings and noticed weird behavior: the builders automatically get readded, causing builders to appear multiple times. I'll attach a screenshot. I think attaching a single file doesn't help, I tried copying a file to a workspace with a simple project and the bug did not appear there. The freeze occurs in a very large project with thousands of PHP files.
Created attachment 254278 [details] screenshot of builders problem
Script project build cannot be disabled due bug 255365. On save only changed file should rebuild. Can do more thread dumps? And maybe have you additional error logs?
Today I realized that I still run Kepler, while Juno is released and Mars is coming later this month. I think I try again later this month with a fresh installation. I have received the freeze more often, the thread dumps were similar, at least for the main thread.
Based on current dump I see that it's related to mylyn. After deactivate task, please restart eclipse (DLTKEdititngMonitor is still active after first activation).
Moving to DLTK. DLTKEditingEditor force reconcile in UI. This might be quiet expensive and should be moved into separate job.