This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Run IDE. 2. New project -> PHP -> PHP Application -> Next -> Next -> Finish. Result: IDE hangs up. Same for Sample Project: New project -> Samples -> PHP -> Air Alliance Sample Application -> Next -> Finish. Attaching thread dump for the last case.
Created attachment 60501 [details] Thread dump
The same steps were fine on last Friday's EA build. Tomas and Petr P., please try to see if you can reproduce it.
Note: this happens on Linux Ubuntu. Detailed system info: Product Version: NetBeans IDE Early Access for PHP (Build 200804190002) Java: 1.7.0; IcedTea Client VM 1.7.0-b24 System: Linux version 2.6.24-3-generic running on i386; ANSI_X3.4-1968; en_US (php)
Sorry, I might not click the second "Next" before clicking "Finish" last Friday.
Update: the issue is NOT reproducible for the last uild: http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/netbeans-hudson-trunk-1690-php.zip
mikhailmatveev: the attached thread dump doesn't match the steps in the original description. According to the steps, the deadlock should have happened while creating the project, but the thread dump shows it happened while closing the IDE. Are you sure you attached the right deadlock? Anyway, the deadlock is between LocalFileSystemEx and MultiFileObject, not in the PHP area. LocalFileSystemEx could perhaps compute the set of names to remove without holding the allLocks lock.
Not reproducible for me with current build and java 1.6.0_04 I will try using IcedTea java next. System Info: Product Version: NetBeans IDE Early Access for PHP (Build 200804190002) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (php
The issue is reproducible when using IcedTea java only (see attached thread dump). System Info: Product Version: NetBeans IDE Early Access for PHP (Build 200804190002) Java: 1.7.0; IcedTea Client VM 1.7.0-b21 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (php)
Created attachment 60512 [details] Thread Dump
Probably it can be connected with issue #122202
it reminded me issue 122202 but the thread dumpsare different. Reassigning to filesystems for evaluation, cc'ing Jarda. There are FS and startup involved in the deadlocked threads. pjiricka, what NB version is the PHP EA based on?
> pjiricka, what NB version is the PHP EA based on? It is pretty much 6.1 - changes against 6.1 are minimal.
Created attachment 60538 [details] Thread dump confirming duplicity with 122202.
I attached thread dump which confirms it is duplicate of issue 1222202. Actually AWT thread is not locked but cycles in a loop. Try to generate thread dumps repeatedly and you get a different one everytime. I filed a new issue 133616 for a deadlock which is in thread dump from mikhailmatveev. It is not related with this issue and with creating PHP projects. *** This issue has been marked as a duplicate of 122202 ***