Hi guys,

I'm running jmeter tests in a non-gui manner and issuing a StopTestNow
(tried Shutdown too) command via the ShutdownClient if a test exceeds a
certain amount of time. In some of those case, the jmeter process seems
to hang forever (literally).

I am attaching a stack trace grabbed with jstack..hope someone will see
something I don't.
I'm using several versions of JMeter (min 2.3.4, max 2.7); this specific
trace comes from a version 2.6.

I'm getting nowhere with this...had anyone ever faced such a problem?
Any hint?

Thanks,
-Dimi
Attaching to process ID 31624, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 14.0-b16
Deadlock Detection:

No deadlocks found.

Thread 31635: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be 
imprecise)
Error occurred during stack walking:
java.lang.NullPointerException
        at sun.jvm.hotspot.runtime.Frame.addressOfStackSlot(Frame.java:224)
        at 
sun.jvm.hotspot.runtime.x86.X86Frame.senderForCompiledFrame(X86Frame.java:342)
        at sun.jvm.hotspot.runtime.x86.X86Frame.sender(X86Frame.java:283)
        at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:194)
        at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:199)
        at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:119)
        at 
sun.jvm.hotspot.runtime.CompiledVFrame.sender(CompiledVFrame.java:168)
        at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:146)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
        at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
        at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
        at sun.tools.jstack.JStack.main(JStack.java:102)


Thread 31634: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, 
int, int) @bci=0 (Interpreted frame)
 - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=146 
(Interpreted frame)
 - java.io.BufferedInputStream.read1(byte[], int, int) @bci=39, line=273 
(Interpreted frame)
 - java.io.BufferedInputStream.read(byte[], int, int) @bci=49, line=334 
(Interpreted frame)
 - sun.net.www.MeteredStream.read(byte[], int, int) @bci=16, line=134 
(Interpreted frame)
 - java.io.FilterInputStream.read(byte[], int, int) @bci=7, line=133 
(Interpreted frame)
 - sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(byte[], 
int, int) @bci=4, line=2582 (Interpreted frame)
 - org.apache.commons.io.input.ProxyInputStream.read(byte[], int, int) @bci=12, 
line=99 (Interpreted frame)
 - java.io.BufferedInputStream.read1(byte[], int, int) @bci=39, line=273 
(Interpreted frame)
 - java.io.BufferedInputStream.read(byte[], int, int) @bci=49, line=334 
(Interpreted frame)
 - java.io.FilterInputStream.read(byte[]) @bci=5, line=107 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(org.apache.jmeter.samplers.SampleResult,
 java.io.InputStream, int) @bci=93, line=1620 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(org.apache.jmeter.samplers.SampleResult,
 java.io.BufferedInputStream, int) @bci=7, line=236 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.readResponse(java.net.HttpURLConnection,
 org.apache.jmeter.samplers.SampleResult) @bci=400, line=282 (Interpreted frame)
 - org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(java.net.URL, 
java.lang.String, boolean, int) @bci=331, line=512 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(java.net.URL, 
java.lang.String, boolean, int) @bci=47, line=62 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(org.apache.jmeter.protocol.http.sampler.HTTPSampleResult,
 org.apache.jmeter.protocol.http.sampler.HTTPSampleResult, int) @bci=421, 
line=1173 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(boolean,
 int, org.apache.jmeter.protocol.http.sampler.HTTPSampleResult) @bci=161, 
line=1473 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(boolean,
 int, org.apache.jmeter.protocol.http.sampler.HTTPSampleResult) @bci=7, 
line=244 (Interpreted frame)
 - org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(java.net.URL, 
java.lang.String, boolean, int) @bci=763, line=586 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(java.net.URL, 
java.lang.String, boolean, int) @bci=47, line=62 (Interpreted frame)
 - org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample() @bci=13, 
line=1054 (Interpreted frame)
 - 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(org.apache.jmeter.samplers.Entry)
 @bci=1, line=1043 (Interpreted frame)
 - 
org.apache.jmeter.threads.JMeterThread.process_sampler(org.apache.jmeter.samplers.Sampler,
 org.apache.jmeter.samplers.Sampler, org.apache.jmeter.threads.JMeterContext) 
@bci=260, line=416 (Interpreted frame)
 - org.apache.jmeter.threads.JMeterThread.run() @bci=49, line=271 (Interpreted 
frame)
 - java.lang.Thread.run() @bci=11, line=636 (Interpreted frame)


Thread 31625: (state = BLOCKED)


Thread 31633: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
imprecise)
Error occurred during stack walking:
java.lang.NullPointerException
        at sun.jvm.hotspot.runtime.Frame.addressOfStackSlot(Frame.java:224)
        at 
sun.jvm.hotspot.runtime.x86.X86Frame.senderForCompiledFrame(X86Frame.java:342)
        at sun.jvm.hotspot.runtime.x86.X86Frame.sender(X86Frame.java:283)
        at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:194)
        at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:199)
        at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:119)
        at 
sun.jvm.hotspot.runtime.CompiledVFrame.sender(CompiledVFrame.java:168)
        at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:146)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
        at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
        at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at sun.tools.jstack.JStack.runJStackTool(JStack.java:136)
        at sun.tools.jstack.JStack.main(JStack.java:102)


Thread 31629: (state = BLOCKED)


Thread 31628: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=133 (Interpreted 
frame)
 - java.lang.ref.ReferenceQueue.remove() @bci=2, line=149 (Interpreted frame)
 - java.lang.ref.Finalizer$FinalizerThread.run() @bci=3, line=177 (Interpreted 
frame)


Thread 31627: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.Object.wait() @bci=2, line=502 (Interpreted frame)
 - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, line=133 
(Interpreted frame)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to