On Monday, 2 July 2012 21:17:25 UTC+8, 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. > well, it's not necessary what you should expect. Sage is an extension of Python, and overloads some of Python functionality with its own versions. The error message indicates that the crash happens in numerical linear algebra... But, indeed, such crashes should not happen normally. Thanks for the report.
> 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 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