On Sun, Sep 16, 2012 at 1:59 AM, P Purkayastha <[email protected]> wrote: > Works in 5.2 and 5.4beta1. I don't have 5.3 to test against right now.
I think the relevant code hasn't changed in years; all it does is allocate an array of doubles and put the entries in there. I'm guessing the original poster's Sage install might have some much deeper issue... William > > > On 09/16/2012 12:50 PM, Rolandb wrote: >> >> doc/live/reference/sage/finance/time_series.html example >> >> v = finance.TimeSeries([5,4,1.3,2,8,10,3,-5]) >> >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libcsage.so(print_backtrace+0x31)[0x7f010766e16a] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libcsage.so(sigdie+0x14)[0x7f010766e19c] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libcsage.so(sage_signal_handler+0x216)[0x7f010766dd56] >> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f010b6c6cb0] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyObject_GetAttr+0x18)[0x7f010b95f8b8] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/finance/time_series.so(+0x1c712)[0x7f00dad08712] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(+0xa8458)[0x7f010b97c458] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f010b91f7a3] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3fcd)[0x7f010b9c1a6d] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x855)[0x7f010b9c4a95] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f010b9c4bd2] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x515f)[0x7f010b9c2bff] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x855)[0x7f010b9c4a95] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f010b9c4bd2] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0xb0)[0x7f010b9e7340] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(+0xe6cb8)[0x7f010b9bacb8] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x53a5)[0x7f010b9c2e45] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x855)[0x7f010b9c4a95] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f010b9c4bd2] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x515f)[0x7f010b9c2bff] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x855)[0x7f010b9c4a95] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f010b9c4bd2] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0xb0)[0x7f010b9e7340] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(+0xe6cb8)[0x7f010b9bacb8] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x53a5)[0x7f010b9c2e45] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x855)[0x7f010b9c4a95] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f010b9c4bd2] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyRun_InteractiveOneFlags+0x182)[0x7f010b9e82c2] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyRun_InteractiveLoopFlags+0x4e)[0x7f010b9e84fe] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(PyRun_AnyFileExFlags+0x4c)[0x7f010b9e8aac] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libpython2.7.so.1.0(Py_Main+0xbe5)[0x7f010b9fb295] >> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f010b31b76d] >> >> /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/bin/python[0x400661] >> >> ------------------------------------------------------------------------ >> 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. >> ------------------------------------------------------------------------ >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "sage-support" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> Visit this group at http://groups.google.com/group/sage-support?hl=en. >> >> > > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/sage-support?hl=en. > > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
