From: Fabien V. <re...@bu...> - 2019-09-05 11:59:56
|
New submission from Fabien Viale <fab...@ac...>: >From time to time, the Jython script engine hangs during initialization in our environment. The attached java stack shows where the jython engine is blocked: "main" #1 prio=5 os_prio=0 tid=0x00007fc9b400e800 nid=0x116bb runnable [0x00007fc9b8e80000] java.lang.Thread.State: RUNNABLE at org.python.modules.posix.PosixModule$StatFunction.__call__(PosixModule.java:1273) at org.python.core.PyObject.__call__(PyObject.java:465) at genericpath$py.isfile$2(/tibco/proactive/dist/lib/jython-standalone-2.7.0.jar/Lib/genericpath.py:32) at genericpath$py.call_function(/tibco/proactive/dist/lib/jython-standalone-2.7.0.jar/Lib/genericpath.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:138) at org.python.core.PyFunction.__call__(PyFunction.java:413) at sysconfig$py.is_python_build$2(/tibco/proactive/dist/lib/jython-standalone-2.7.0.jar/Lib/sysconfig.py:143) at sysconfig$py.call_function(/tibco/proactive/dist/lib/jython-standalone-2.7.0.jar/Lib/sysconfig.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:124) at org.python.core.PyFunction.__call__(PyFunction.java:403) at sysconfig$py.f$0(/tibco/proactive/dist/lib/jython-standalone-2.7.0.jar/Lib/sysconfig.py:719) at sysconfig$py.call_function(/tibco/proactive/dist/lib/jython-standalone-2.7.0.jar/Lib/sysconfig.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:436) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:163) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:46) at org.python.core.imp.loadFromLoader(imp.java:587) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:840) at org.python.core.imp.import_module_level(imp.java:959) at org.python.core.imp.importName(imp.java:1062) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:431) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1156) at org.python.core.imp.importFrom(imp.java:1132) ... Additionnally, the standard error of the process shows: Error in `java': malloc(): memory corruption: 0x00007fcb68beb690 Have you ever encountered before this issue and do you know what could cause it? ---------- components: Core files: 71348_jstack.log messages: 12648 nosy: fviale severity: normal status: open title: Jython script engine hangs on "genericpath.isfile" during its initialization type: crash versions: Jython 2.7 Added file: https://bugs.jython.org/file1675/71348_jstack.log _______________________________________ Jython tracker <re...@bu...> <https://bugs.jython.org/issue2800> _______________________________________ |