From: <sy...@us...> - 2005-04-20 20:05:36
|
Hi, I am trying to memcheck with valgrind a python script using the ctypes 0.9.6 module: --------------------------------------------------------------------------- $ valgrind --tool=memcheck --log-file=log --trace-syscalls=yes \ python -c 'import ctypes' Traceback (most recent call last): File "<string>", line 1, in ? File "ctypes/__init__.py", line 13, in ? from _ctypes import Union, Structure, Array ImportError: ./_ctypes.so: cannot enable executable stack as shared object requires: Invalid argument --------------------------------------------------------------------------- I tried with valgrind 2.2, valgrind 2.4, and valgrin 2.4 from CVS (just extracted it Wed Apr 20 15:43:31 EDT 2005 -- I could not run valgrind 3.0 from subversion, because I ran into a unrelated 'Illegal Instruction in /lib/ld-2.3.4.so' no matter how I configured it). All three versions report the same problem[1]. Looking at `_ctypes.so`, I coudn't see any blattant error with stack permission either[2]. Of course, the same script: # python -c 'import ctypes' run without problem by itself. I have nothing special, like PaX, installed or running on my linux 2.6.11 system, running glibc 2.3.4 (nptl only) on a x86 (athlon-tbird)... Any idea? -- Sylvain Fourmanoit <sy...@us...> Simulations are like miniskirts, they show a lot and hide the essentials. -- Hubert Kirrman [1] http://adesklets.sf.net/verbatim/log.pid16866 [2] http://adesklets.sf.net/verbatim/objdump.log |