On 7/2/12 8:17 AM, Caluca wrote:
I have written a simple Python program consisting of several .py files. The 
program runs perfectly in the IPython interpreter, however I get a segmentation 
fault whenever I try to run it with Sage. The exact error I get is:

/usr/lib/sage/local/lib/libcsage.so(print_backtrace+0x31)[0x7f47350a7f46]
/usr/lib/sage/local/lib/libcsage.so(sigdie+0x14)[0x7f47350a7f78]
/usr/lib/sage/local/lib/libcsage.so(sage_signal_handler+0x20c)[0x7f47350a7bc6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f473a94fcb0]
/usr/lib/sage/local/lib/libatlas.so(+0x66f0d)[0x7f472f43cf0d]

------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off(). You might
want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate.
------------------------------------------------------------------------
/usr/lib/sage/spkg/bin/sage: line 312:  5332 Segmentation fault      (core dumped) 
sage-ipython "$@" -i


The expected result is that the program runs exactly the same as in the IPython 
interpreter.


Having the actual script that is causing the problem would be a great help in trying to find out what is wrong. Can you attach it?

Jason

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to