Issue2537
Created on 2016年12月02日.14:36:11 by stefan.richthofer, last changed 2017年04月14日.18:49:20 by stefan.richthofer.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | Remove |
| test_java_integration_hangs.txt | stefan.richthofer, 2016年12月02日.14:36:10 | jstack output while test_java_integration is hanging | ||
| test_pythoninterpreter_jy-hanging.txt | stefan.richthofer, 2017年01月06日.15:34:16 | |||
| Messages | |||
|---|---|---|---|
| msg10999 (view) | Author: Stefan Richthofer (stefan.richthofer) | Date: 2016年12月02日.14:36:10 | |
It appears that test_java_integration hangs sometimes, when launched by 'ant regrtest'. This is likely related to http://bugs.jython.org/issue2536, however jstack output (attached) is different in this case. It doesn't detect a deadlock, but still test_java_integration hangs indefinitely. However there are some similarities to jstack output of http://bugs.jython.org/issue2536: - sun.misc.Unsafe.park is involved - java.util.concurrent.locks.ReentrantLock$NonfairSync is involved - Jython-Netty-Client is involved |
|||
| msg11006 (view) | Author: Stefan Richthofer (stefan.richthofer) | Date: 2017年01月06日.15:34:16 | |
Meanwhile I also observed a rather similar behavior happening in test_pythoninterpreter_jy. jstack output attached. |
|||
| msg11218 (view) | Author: Jeff Allen (jeff.allen) | Date: 2017年03月12日.20:09:44 | |
I'm not seeing it hang, that I recall: it produces a warning:
dist\bin\jython Lib\test\test_java_integration.py
test_issue1833 (__main__.BeanPropertyTest) ... ok
test_awt_hack (__main__.BeanTest) ... ok
...
test_nonexistent_import_with_security (__main__.SecurityManagerTest) ... console: Failed to install 'org.python.util.JLineConsole': java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "readFileDescriptor").
ok
...
The occurs in the same test function as your jstack MainThread seems to be in.
|
|||
| msg11308 (view) | Author: Stefan Richthofer (stefan.richthofer) | Date: 2017年04月14日.18:49:20 | |
This issue has most likely common cause with #2536. #2536 was (empirically) solved as a consequence of https://hg.python.org/jython/rev/17e40de9a541 A detailed fix of #2536 is of low priority. So closing this issue as duplicate of #2536. Reopen, if this issue pops up again even after https://hg.python.org/jython/rev/17e40de9a541. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017年04月14日 18:49:20 | stefan.richthofer | set | status: open -> closed resolution: duplicate messages: + msg11308 versions: + Jython 2.7 |
| 2017年03月12日 20:09:45 | jeff.allen | set | nosy:
+ jeff.allen messages: + msg11218 |
| 2017年01月06日 15:34:18 | stefan.richthofer | set | files:
+ test_pythoninterpreter_jy-hanging.txt messages: + msg11006 |
| 2016年12月02日 14:37:07 | stefan.richthofer | set | nosy:
+ zyasoft components: + Core |
| 2016年12月02日 14:36:11 | stefan.richthofer | create | |
Supported by Python Software Foundation,
Powered by Roundup