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.

Bug 133480 - Unable to create PHP project
Summary: Unable to create PHP project
Status: CLOSED DUPLICATE of bug 122202
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2008-04-21 16:16 UTC by Mikhail Matveev
Modified: 2011-02-28 14:08 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (18.80 KB, text/plain)
2008-04-21 16:20 UTC, Mikhail Matveev
Details
Thread Dump (13.07 KB, text/plain)
2008-04-21 19:34 UTC, tonybeckham
Details
Thread dump confirming duplicity with 122202. (13.37 KB, text/plain)
2008-04-22 10:44 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Matveev 2008-04-21 16:16:12 UTC
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.
Comment 1 Mikhail Matveev 2008-04-21 16:20:52 UTC
Created attachment 60501 [details]
Thread dump
Comment 2 _ hong_lin 2008-04-21 16:25:52 UTC
The same steps were fine on last Friday's EA build. Tomas and Petr P., please try to see if you can reproduce it.
Comment 3 Mikhail Matveev 2008-04-21 16:37:22 UTC
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)
Comment 4 _ hong_lin 2008-04-21 16:38:09 UTC
Sorry, I might not click the second "Next" before clicking "Finish" last Friday.
Comment 5 Mikhail Matveev 2008-04-21 16:55:53 UTC
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
Comment 6 Andrei Badea 2008-04-21 17:17:52 UTC
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.
Comment 7 tonybeckham 2008-04-21 19:28:36 UTC
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
Comment 8 tonybeckham 2008-04-21 19:33:58 UTC
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)
Comment 9 tonybeckham 2008-04-21 19:34:32 UTC
Created attachment 60512 [details]
Thread Dump
Comment 10 Petr Pisl 2008-04-21 21:28:37 UTC
Probably it can be connected with issue #122202
Comment 11 Lukas Hasik 2008-04-21 21:47:36 UTC
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?

Comment 12 Petr Jiricka 2008-04-21 22:06:19 UTC
> pjiricka, what NB version is the PHP EA based on?

It is pretty much 6.1 - changes against 6.1 are minimal.
Comment 13 Jiri Skrivanek 2008-04-22 10:44:20 UTC
Created attachment 60538 [details]
Thread dump confirming duplicity with 122202.
Comment 14 Jiri Skrivanek 2008-04-22 10:50:07 UTC
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 ***