On 2011-05-21 15:37, Thomas Kluyver wrote:
On 21 May 2011 12:35, Laurent Gautier <lgaut...@gmail.com
<mailto:lgaut...@gmail.com>> wrote:
Out of curiosity, do people experiencing problems have 32-bit or
64-bit OS ?
My OS is 32-bit, although I believe that the hardware is x86-64.
Like you, I only see problems on 2.7. NA_Real behaves as expected on
3.2. The import problem also only affects 2.7.
Thomas
The plot thickens and the issue is definitely not trivial, and the
difference in behaviour between python2.7 and python2.7-dbg is not helping.
To trigger a segfault (segfault upon import has been reported but I
could not reproduce them):
Python 2.7.1+ (r271:86832, Mar 24 2011, 00:37:39)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy2.rinterface as rinterface
>>> import sys, os, subprocess, time, tempfile
Program received signal SIGSEGV, Segmentation fault.
0x000000000047bb2e in PyObject_Malloc ()
(gdb) bt
#0 0x000000000047bb2e in PyObject_Malloc ()
#1 0x0000000000458d93 in ?? ()
#2 0x00000000004fe03b in PyParser_ASTFromFile ()
#3 0x000000000042cd00 in PyRun_InteractiveOneFlags ()
#4 0x000000000042cebd in PyRun_InteractiveLoopFlags ()
#5 0x000000000042d2e1 in PyRun_AnyFileExFlags ()
#6 0x0000000000418c9e in Py_Main ()
#7 0x00007ffff69c2eff in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#8 0x00000000004c6305 in _start ()
Would anyone know how the Python binaries in are built (i.e., which
flags specified during the ./configure step) ?
L.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list