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 191954 - Installer hangs on Solaris
Summary: Installer hangs on Solaris
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 09:43 UTC by Egor Ushakov
Modified: 2012-02-22 11:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2010-11-15 09:43:00 UTC
OpenSolaris b134b
Java 1.6.0_22
Netbeans trunk 201011150001 (Java)

Installer hangs after you specify where to install and hit next.
There is a message in the console "NFS server ... not resonding still trying".
Anyway install dir is accessible.

stack trace:
2010-11-15 12:44:28
Full thread dump Java HotSpot(TM) Server VM (17.1-b03 mixed mode):

"Attach Listener" daemon prio=3 tid=0x08278c00 nid=0x27 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"process reaper" daemon prio=3 tid=0x0872bc00 nid=0x26 runnable [0xe06de000]
   java.lang.Thread.State: RUNNABLE
        at java.lang.UNIXProcess.waitForProcessExit(Native Method)
        at java.lang.UNIXProcess.access$900(UNIXProcess.java:17)
        at java.lang.UNIXProcess$2$1.run(UNIXProcess.java:86)

"Thread-7" prio=3 tid=0x08264400 nid=0x25 in Object.wait() [0xe049c000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xf591c2a0> (a java.awt.EventQueue$1AWTInvocationLock)
        at java.lang.Object.wait(Object.java:485)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:993)
        - locked <0xf591c2a0> (a java.awt.EventQueue$1AWTInvocationLock)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1320)
        at org.netbeans.installer.wizard.containers.SwingFrameContainer.updateWizardUi(SwingFrameContainer.java:214)
        at org.netbeans.installer.wizard.Wizard.next(Wizard.java:607)
        at org.netbeans.installer.wizard.Wizard.next(Wizard.java:615)
        at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:127)

"DestroyJavaVM" prio=3 tid=0x08070000 nid=0x2 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"TimerQueue" daemon prio=3 tid=0x08407000 nid=0x14 in Object.wait() [0xe068d000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xf6937508> (a javax.swing.TimerQueue)
        at javax.swing.TimerQueue.run(TimerQueue.java:232)
        - locked <0xf6937508> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:662)

"AWT-EventQueue-0" prio=3 tid=0x0845b400 nid=0x12 waiting on condition [0xe3e6d000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.installer.utils.SystemUtils.executeCommand(SystemUtils.java:240)
        at org.netbeans.installer.utils.SystemUtils.executeCommand(SystemUtils.java:206)
        at org.netbeans.installer.utils.system.UnixNativeUtils.getFileSystemRoots(UnixNativeUtils.java:1122)
        at org.netbeans.installer.utils.SystemUtils.getFileSystemRoots(SystemUtils.java:506)
        at org.netbeans.installer.wizard.components.panels.netbeans.NbPreInstallSummaryPanel$NbPreInstallSummaryPanelSwingUi.validateInput(NbPreInstallSummaryPanel.java:469)
        at org.netbeans.installer.wizard.components.panels.ErrorMessagePanel$ErrorMessagePanelSwingUi.updateErrorMessage(ErrorMessagePanel.java:249)
        - locked <0xf58e6f98> (a org.netbeans.installer.wizard.components.panels.netbeans.NbPreInstallSummaryPanel$NbPreInstallSummaryPanelSwingUi)
        at org.netbeans.installer.wizard.components.panels.ErrorMessagePanel$ErrorMessagePanelSwingUi.initialize(ErrorMessagePanel.java:227)
        at org.netbeans.installer.wizard.components.panels.netbeans.NbPreInstallSummaryPanel$NbPreInstallSummaryPanelSwingUi.initialize(NbPreInstallSummaryPanel.java:462)
        at org.netbeans.installer.wizard.components.WizardComponent$WizardComponentUi.getSwingUi(WizardComponent.java:444)
        at org.netbeans.installer.wizard.components.WizardPanel$WizardPanelUi.getSwingUi(WizardPanel.java:167)
        at org.netbeans.installer.wizard.components.panels.ErrorMessagePanel$ErrorMessagePanelUi.getSwingUi(ErrorMessagePanel.java:99)
        at org.netbeans.installer.wizard.components.panels.netbeans.NbPreInstallSummaryPanel$NbPreInstallSummaryPanelUi.getSwingUi(NbPreInstallSummaryPanel.java:186)
        at org.netbeans.installer.wizard.containers.SwingFrameContainer.updateWizardUi(SwingFrameContainer.java:228)
        at org.netbeans.installer.wizard.containers.SwingFrameContainer$1.run(SwingFrameContainer.java:216)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

"AWT-Shutdown" prio=3 tid=0x08576400 nid=0x11 in Object.wait() [0xe3ebe000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xf6ae7cd0> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
        - locked <0xf6ae7cd0> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:662)

"AWT-XAWT" daemon prio=3 tid=0x084e6800 nid=0x10 runnable [0xe550e000]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(XToolkit.java:559)
        at sun.awt.X11.XToolkit.run(XToolkit.java:523)
        at java.lang.Thread.run(Thread.java:662)

"Java2D Disposer" daemon prio=3 tid=0x08497000 nid=0xf in Object.wait() [0xe5bde000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xf6881878> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
        - locked <0xf6881878> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
        at sun.java2d.Disposer.run(Disposer.java:127)
        at java.lang.Thread.run(Thread.java:662)

"Low Memory Detector" daemon prio=3 tid=0x08160000 nid=0xd runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=3 tid=0x0815e000 nid=0xc waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=3 tid=0x0815b400 nid=0xb waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=3 tid=0x08159c00 nid=0xa runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=3 tid=0x08148400 nid=0x9 in Object.wait() [0xe6811000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xeb2720a0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
        - locked <0xeb2720a0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=3 tid=0x08143800 nid=0x8 in Object.wait() [0xe6862000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xeb272058> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0xeb272058> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=3 tid=0x08141400 nid=0x7 runnable 

"GC task thread#0 (ParallelGC)" prio=3 tid=0x08077000 nid=0x3 runnable 

"GC task thread#1 (ParallelGC)" prio=3 tid=0x08078400 nid=0x4 runnable 

"GC task thread#2 (ParallelGC)" prio=3 tid=0x08079800 nid=0x5 runnable 

"GC task thread#3 (ParallelGC)" prio=3 tid=0x0807ac00 nid=0x6 runnable 

"VM Periodic Task Thread" prio=3 tid=0x08162400 nid=0xe waiting on condition 

JNI global references: 1832
Comment 1 Ondrej Vrabec 2010-11-15 14:12:42 UTC
Please run with --verbose and attach the output. Do you have any mounted NFS drives? Could you run 'df' in commandline and tell me how long it takes to finish?
Comment 2 Egor Ushakov 2010-11-15 14:29:20 UTC
yes, it hangs on df -k:
[2010-11-15 17:32:32.744]: executing command: df -k, in directory: .
NFS server peter-home2.russia not responding still trying

df works very long time
Comment 3 Ondrej Vrabec 2010-11-15 14:56:14 UTC
I checked the code more closely and there seems to be a switch for these kind of cases. Try to run the installer with --nospacecheck, that should suppress the long-lasting check and the installing process should go on normally.
I'll try to study more deeply, we may be able to call something like 'df INSTALL_DIR'.
Comment 4 Egor Ushakov 2010-11-15 15:17:59 UTC
thanks!
df on run dir really does not make sense
Comment 5 Libor Fischmeistr 2012-02-20 08:55:14 UTC
core-main/rev/dcc8cc396aaf

As it was mentioned earlier df is called only for necessary directories. So if there is some unavailable mounted nfs filesystem, instalation should correctly go through.
Comment 6 Quality Engineering 2012-02-21 10:55:14 UTC
Integrated into 'main-golden', will be available in build *201202210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/dcc8cc396aaf
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #191954: Installer hangs on Solaris
Comment 7 Quality Engineering 2012-02-22 11:00:29 UTC
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/dcc8cc396aaf
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #191954: Installer hangs on Solaris