Message10676
Here's the jstack. The full output is rather large since the script creates 60ish threads but the deadlock is at the end so I've just included that.
Found one Java-level deadlock:
=============================
"Thread-80717":
waiting to lock monitor 0x00007fd8e6041c28 (object 0x00000006c0fa89b0, a java.lang.Class),
which is held by "MainThread"
"MainThread":
waiting to lock monitor 0x00007fd8e2b39b28 (object 0x000000079c93fcd8, a org.python.modules._io.Closer),
which is held by "Thread-80671"
"Thread-80671":
waiting to lock monitor 0x00007fd8e6041c28 (object 0x00000006c0fa89b0, a java.lang.Class),
which is held by "MainThread"
Java stack information for the threads listed above:
===================================================
"Thread-80717":
at org.python.core.PySystemState$PySystemStateCloser.registerCloser(PySystemState.java:1531)
- waiting to lock <0x00000006c0fa89b0> (a java.lang.Class for org.python.core.PySystemState$PySystemStateCloser)
at org.python.core.PySystemState$PySystemStateCloser.access$100(PySystemState.java:1508)
at org.python.core.PySystemState.registerCloser(PySystemState.java:1495)
at org.python.modules._io.Closer.<init>(Closer.java:38)
at org.python.modules._io.PyIOBase.<init>(PyIOBase.java:59)
at org.python.modules._io.PyIOBase.<init>(PyIOBase.java:53)
at org.python.modules._io.PyIOBase._IOBase___new__(PyIOBase.java:80)
at org.python.modules._io.PyIOBase$exposed___new__.new_impl(Unknown Source)
at org.python.core.PyType.invokeNew(PyType.java:494)
at org.python.core.PyType.type___call__(PyType.java:1708)
at org.python.core.PyType.__call__(PyType.java:1698)
at org.python.core.PyObject.__call__(PyObject.java:464)
at org.python.core.PyObject.__call__(PyObject.java:468)
at org.python.pycode._pyx0.create_gc$1(repro.py:9)
at org.python.pycode._pyx0.call_function(repro.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:461)
at org.python.core.PyObject._callextra(PyObject.java:620)
at threading$py.run$52(/Users/nick/workspace/git/jython/dist/Lib/threading.py:361)
at threading$py.call_function(/Users/nick/workspace/git/jython/dist/Lib/threading.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:139)
at org.python.core.PyFunction.__call__(PyFunction.java:413)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at threading$py._Thread__bootstrap$36(/Users/nick/workspace/git/jython/dist/Lib/threading.py:266)
at threading$py.call_function(/Users/nick/workspace/git/jython/dist/Lib/threading.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
at org.python.core.PyBaseCode.call(PyBaseCode.java:199)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:218)
at org.python.core.PyMethod.__call__(PyMethod.java:213)
at org.python.core.FunctionThread.run(FunctionThread.java:25)
"MainThread":
at org.python.modules._io.Closer.call(Closer.java:58)
- waiting to lock <0x000000079c93fcd8> (a org.python.modules._io.Closer)
at org.python.modules._io.Closer.call(Closer.java:27)
at org.python.core.PySystemState$PySystemStateCloser.runClosers(PySystemState.java:1584)
- locked <0x00000006c0fa89b0> (a java.lang.Class for org.python.core.PySystemState$PySystemStateCloser)
at org.python.core.PySystemState$PySystemStateCloser.cleanup(PySystemState.java:1562)
- locked <0x00000006c0fa89b0> (a java.lang.Class for org.python.core.PySystemState$PySystemStateCloser)
- locked <0x00000006c0f59f18> (a org.python.core.PySystemState$PySystemStateCloser)
at org.python.core.PySystemState$PySystemStateCloser.access$300(PySystemState.java:1508)
at org.python.core.PySystemState.cleanup(PySystemState.java:1503)
at org.python.util.PythonInterpreter.cleanup(PythonInterpreter.java:409)
at org.python.util.jython.run(jython.java:426)
at org.python.util.jython.main(jython.java:142)
"Thread-80671":
at org.python.core.PySystemState$PySystemStateCloser.unregisterCloser(PySystemState.java:1539)
- waiting to lock <0x00000006c0fa89b0> (a java.lang.Class for org.python.core.PySystemState$PySystemStateCloser)
at org.python.core.PySystemState$PySystemStateCloser.access$200(PySystemState.java:1508)
at org.python.core.PySystemState.unregisterCloser(PySystemState.java:1499)
at org.python.modules._io.Closer.dismiss(Closer.java:47)
- locked <0x000000079c93fcd8> (a org.python.modules._io.Closer)
at org.python.modules._io.PyIOBase._IOBase_close(PyIOBase.java:233)
at org.python.modules._io.PyIOBase$_IOBase_close_exposer.__call__(Unknown Source)
at org.python.core.PyObject.__call__(PyObject.java:468)
at org.python.pycode._pyx0.call_close$2(repro.py:16)
at org.python.pycode._pyx0.call_function(repro.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
at org.python.core.PyFunction.function___call__(PyFunction.java:471)
at org.python.core.PyFunction.__call__(PyFunction.java:466)
at org.python.core.PyFunction.__call__(PyFunction.java:461)
at org.python.core.PyObject._callextra(PyObject.java:620)
at threading$py.run$52(/Users/nick/workspace/git/jython/dist/Lib/threading.py:361)
at threading$py.call_function(/Users/nick/workspace/git/jython/dist/Lib/threading.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:139)
at org.python.core.PyFunction.__call__(PyFunction.java:413)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at threading$py._Thread__bootstrap$36(/Users/nick/workspace/git/jython/dist/Lib/threading.py:266)
at threading$py.call_function(/Users/nick/workspace/git/jython/dist/Lib/threading.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
at org.python.core.PyBaseCode.call(PyBaseCode.java:199)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:218)
at org.python.core.PyMethod.__call__(PyMethod.java:213)
at org.python.core.FunctionThread.run(FunctionThread.java:25)
Found 1 deadlock. |
|
Date |
User |
Action |
Args |
2016-02-02 01:31:11 | nickmbailey | set | messageid: <1454376671.43.0.623914281543.issue2457@psf.upfronthosting.co.za> |
2016-02-02 01:31:11 | nickmbailey | set | recipients:
+ nickmbailey, zyasoft, stefan.richthofer |
2016-02-02 01:31:11 | nickmbailey | link | issue2457 messages |
2016-02-02 01:31:10 | nickmbailey | create | |
|