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. I am running: Kubuntu 12.04 (64-bit) Sage Version 5.0.1, Release Date: 2012-06-10 Python 2.7.3 IPython 0.12.1 -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
