Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326029

Summary: Environment variable access through env executable hangs
Product: [Eclipse Project] Platform Reporter: Aleksander Bandelj <aleksander.bandelj>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: jamesblackburn+eclipse, remy.suen, wojciech.galanciak
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=257172
Whiteboard:

Description Aleksander Bandelj CLA 2010-09-23 05:47:15 EDT
Build Identifier: I20100608-0911

Caused by patch in bug 257172. Hung unix process locks up UnixProxyProvider and workbench file operations, making IDE unusable.

Worker-159" prio=10 tid=0x0a158800 nid=0xe09 in Object.wait() [0xa7131000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.UNIXProcess$Gate.waitForExit(UNIXProcess.java:64)
        - locked <0x4ece9250> (a java.lang.UNIXProcess$Gate)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:145)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
        at java.lang.Runtime.exec(Runtime.java:593)
        at java.lang.Runtime.exec(Runtime.java:466)
        at
org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider.getEnv(UnixProxyProvider.java:195)
        - locked <0x636ad988> (a org.eclipse.core.net.ProxyProvider)
        at
org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider.getSystemProxyInfo(UnixProxyProvider.java:135)
    at
org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider.getProxyData(UnixProxyProvider.java:58)

Reproducible: Always

Steps to Reproduce:
JVM data:

java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
Comment 1 James Blackburn CLA 2011-01-11 12:23:39 EST
Fixed in 3.7M5

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