Comment 8 for bug 845158

Revision history for this message
Xerxes RĂ„nby (xranby) wrote :

I am able to trigger a similar looking bug (java process entered uninterruptible sleep) while running NetBeans.

Steps to reproduce:
#go to netbeans download page http://netbeans.org/downloads/start.html?platform=zip&lang=en&option=javase
wget http://download.netbeans.org/netbeans/7.0.1/final/zip/netbeans-7.0.1-201107282000-ml-javase.zip
unzip netbeans-7.0.1-201107282000-ml-javase.zip
cd netbeans/bin/
./netbeans
#Manually accept the GPL license.
#The stall hits after the loading modules and plugins "spash screen" when the main gui and welcome screen are visible
#A popup bubble gets displayed indicating that 17 updates (or more ) are available.
#try click on Help menu -> About and verify that you are running jamvm. (you cant the gui are stalled)
#check dmesg and observe that the kernel have detected the freeze

I am able to reproduce this bug on a ac100 that makes java enter the uninterruptible sleep (D) state without any output from netbeans. kernel

I was not able to trigger the uninterruptible stall on a pandaboard running oneiric. kernel
Here instead I see a "regular stall" like this:
xranby@panda:~/netbeans/bin$ ./netbeans
jmm_GetInputArgumentArray
jmm_GetBoolAttribute: Unknown attribute 24
jmm_DumpThreads
jmm_DumpThreads
jmm_DumpThreads
jmm_DumpThreads
jmm_DumpThreads
jmm_DumpThreads
... <endless loop> netbeans gui are stalled.

The testcase above do work fine on ia32 when using jamvm. here the output are:
xranby@xranby-ESPRIMO-P7935:~/netbeans/bin$ ./netbeans
jmm_GetInputArgumentArray
jmm_GetMemoryUsage
jmm_GetMemoryUsage
jmm_GetMemoryUsage
... <gets displayed a lot> netbeans remains responsive.

I will forward this testcase to jamvm upstream and check if the stalls are related to the three unimplemented jmm_* JMX management extensions.