当我试图在python代码中导入clr时,出现以下错误:*** Error in `python': free(): invalid pointer: 0xb0f1a120 ***
Stacktrace:
at <0xffffffff>
at (wrapper managed-to-native) Python.Runtime.Runtime.Py_Initialize () <0xffffffff>
at Python.Runtime.Runtime.Initialize () <0x00023>
at Python.Runtime.PythonEngine.Initialize () <0x00047>
at Python.Runtime.PythonEngine.InitExt () <0x0000b>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
/usr/lib/libmonoboehm-2.0.so.1(+0xcb5f4) [0xb1b5e5f4]
[0xb7745d14]
[0xb7745d1e]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x47) [0xb7592607]
/lib/i386-linux-gnu/libc.so.6(abort+0x143) [0xb7595a33]
/lib/i386-linux-gnu/libc.so.6(+0x68e53) [0xb75cce53]
/lib/i386-linux-gnu/libc.so.6(+0x7333a) [0xb75d733a]
/lib/i386-linux-gnu/libc.so.6(+0x73fad) [0xb75d7fad]
/usr/lib/i386-linux-gnu/libpython2.7.so(PyString_InternInPlace+0x97) [0xb0b3a157]
/usr/lib/i386-linux-gnu/libpython2.7.so(PyString_InternFromString+0x2f) [0xb0ad78ef]
/usr/lib/i386-linux-gnu/libpython2.7.so(PyType_Ready+0xb50) [0xb0b356e0]
/usr/lib/i386-linux-gnu/libpython2.7.so(_Py_ReadyTypes+0xcd) [0xb0b3d47d]
/usr/lib/i386-linux-gnu/libpython2.7.so(Py_InitializeEx+0x6d) [0xb0b5d5dd]
/usr/lib/i386-linux-gnu/libpython2.7.so(Py_Initialize+0x1b) [0xb0b5df7b]
[0xb481553c]
[0xb4814f2c]
[0xb480af98]
[0xb480ae84]
[0xb480af0d]
/usr/lib/libmonoboehm-2.0.so.1(+0x29723) [0xb1abc723]
Debug info from gdb:
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
任何提示或帮助将不胜感激。在
本文链接:https://my.lmcjl.com/post/4853.html
4 评论