jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60743] New: Stopping / Shutting down Test might create a deadlock
Date Fri, 17 Feb 2017 22:22:45 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60743

            Bug ID: 60743
           Summary: Stopping / Shutting down Test might create a deadlock
           Product: JMeter
           Version: 3.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

Thread Dump:
Found one Java-level deadlock:
=============================
"Thread-225":
  waiting for ownable synchronizer 0x00000007bd3b9968, (a
java.util.concurrent.locks.ReentrantLock$NonfairSync),
  which is held by "Thread Group 1-4"
"Thread Group 1-4":
  waiting to lock monitor 0x00007f87de802888 (object 0x00000007bd62bcc8, a
org.apache.http.pool.AbstractConnPool$2),
  which is held by "ResDownload-Thread-191"
"ResDownload-Thread-191":
  waiting for ownable synchronizer 0x00000007bd3c1968, (a
java.util.concurrent.locks.ReentrantLock$NonfairSync),
  which is held by "Thread Group 1-4"

Java stack information for the threads listed above:
===================================================
"Thread-225":
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000007bd3b9968> (a
java.util.concurrent.locks.ReentrantLock$NonfairSync)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
        at
java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)
        at
java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
        at
org.apache.jmeter.threads.JMeterThread.interrupt(JMeterThread.java:704)
        at
org.apache.jmeter.threads.ThreadGroup.stopThread(ThreadGroup.java:414)
        at
org.apache.jmeter.threads.ThreadGroup.tellThreadsToStop(ThreadGroup.java:451)
        at
org.apache.jmeter.engine.StandardJMeterEngine$StopTest.tellThreadGroupsToStop(StandardJMeterEngine.java:294)
        at
org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEngine.java:326)
        at java.lang.Thread.run(Thread.java:745)
"Thread Group 1-4":
        at
org.apache.http.pool.AbstractConnPool$2.cancel(AbstractConnPool.java:207)
        - waiting to lock <0x00000007bd62bcc8> (a
org.apache.http.pool.AbstractConnPool$2)
        at
org.apache.http.pool.RouteSpecificPool.shutdown(RouteSpecificPool.java:155)
        at
org.apache.http.pool.AbstractConnPool.shutdown(AbstractConnPool.java:152)
        at
org.apache.http.impl.conn.JMeterPoolingClientConnectionManager.shutdown(JMeterPoolingClientConnectionManager.java:308)
        at
org.apache.http.impl.client.AbstractHttpClient.close(AbstractHttpClient.java:965)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.closeThreadLocalConnections(HTTPHC4Impl.java:1553)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.threadFinished(HTTPHC4Impl.java:1540)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.threadFinished(HTTPSamplerProxy.java:83)
        at
org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:671)
        at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
        at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
        at
org.apache.jmeter.threads.JMeterThread.threadFinished(JMeterThread.java:643)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:308)
        at java.lang.Thread.run(Thread.java:745)
"ResDownload-Thread-191":
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000007bd3c1968> (a
java.util.concurrent.locks.ReentrantLock$NonfairSync)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
        at
org.apache.http.pool.AbstractConnPool.getPoolEntryBlocking(AbstractConnPool.java:377)
        at
org.apache.http.pool.AbstractConnPool.access$200(AbstractConnPool.java:67)
        at
org.apache.http.pool.AbstractConnPool$2.get(AbstractConnPool.java:243)
        - locked <0x00000007bd62bcc8> (a
org.apache.http.pool.AbstractConnPool$2)
        at
org.apache.http.pool.AbstractConnPool$2.get(AbstractConnPool.java:191)
        at
org.apache.http.impl.conn.JMeterPoolingClientConnectionManager.leaseConnection(JMeterPoolingClientConnectionManager.java:239)
        at
org.apache.http.impl.conn.JMeterPoolingClientConnectionManager$2.getConnection(JMeterPoolingClientConnectionManager.java:226)
        at
org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuringConnectionRequest.getConnection(MeasuringConnectionManager.java:90)
        at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:422)
        at
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:660)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:414)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase$ASyncSample.call(HTTPSamplerBase.java:2018)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase$ASyncSample.call(HTTPSamplerBase.java:1986)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

Found 1 deadlock.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message