sagemath crash!
Hi experts.
I use sagemath 4 months ago. Now, when i louch any .sage file this appears:
------------------------------------------------------------------------
/usr/lib/sagemath/local/lib/libcsage.so(print_backtrace+0x31)[0x7facbdcaf7a0]
/usr/lib/sagemath/local/lib/libcsage.so(sigdie+0x37)[0x7facbdcaf939]
/usr/lib/sagemath/local/lib/libcsage.so(sage_signal_handler+0x196)[0x7facbdcaf184]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0)[0x7facc1998bd0]
/usr/lib/sagemath/local/lib/python2.7/site-packages/matplotlib/backends/_backend_agg.so(+0x3643b)[0x7fac7fc0143b]
/usr/lib/sagemath/local/lib/python2.7/site-packages/matplotlib/backends/_backend_agg.so(_ZN11RendererAggC2Ejjdi+0x619)[0x7fac7fc067b9]
/usr/lib/sagemath/local/lib/python2.7/site-packages/matplotlib/backends/_backend_agg.so(_ZN19_backend_agg_module12new_rendererERKN2Py5TupleERKNS0_4DictE+0x1f7)[0x7fac7fc12747]
/usr/lib/sagemath/local/lib/python2.7/site-packages/matplotlib/backends/_backend_agg.so(_ZN2Py15ExtensionModuleI19_backend_agg_moduleE21invoke_method_keywordEPvRKNS_5TupleERKNS_4DictE+0x29)[0x7fac7fc12c19]
/usr/lib/sagemath/local/lib/python2.7/site-packages/matplotlib/backends/_backend_agg.so(method_keyword_call_handler+0x1a5)[0x7fac7fbffa15]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4565)[0x7facc1c99545]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(+0x77ad6)[0x7facc1c1dad6]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(+0x5ab80)[0x7facc1c00b80]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7facc1c94a57]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyInstance_New+0x7b)[0x7facc1c0686b]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1bee)[0x7facc1c96bce]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45ed)[0x7facc1c995cd]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(+0x77ad6)[0x7facc1c1dad6]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(+0x5ab80)[0x7facc1c00b80]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1bee)[0x7facc1c96bce]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(+0x77be7)[0x7facc1c1dbe7]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1289)[0x7facc1c96269]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(+0x77be7)[0x7facc1c1dbe7]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7facc1bf265e]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1289)[0x7facc1c96269]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45ed)[0x7facc1c995cd]
/usr/lib/sagemath/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x822)[0x7facc1c9b902]
/usr ...
Which version of sage are you running? Not the best advice, but have you tried reinstalling sage? Also, could you provide more details, such as a small `.sage` file which produces this? It seems like there is some gdb output, are you running sage under gdb?
Im using sage 5.11. I tryed reinstall this but doesnt work. Im using sage like always do: Open terminal in ubuntu --> sage. Before, with version 5.10 there wasnt problem. Please help! Tks
Any small `.sage` file which causes sage to crash?
Hi! Comparing two similar .sage codes i note that the porblem maybe is in the 'grah' module like this: import numpy as np number_sticks=np.array([200]) b=50. h=b N=5 u=1 number_experiments=1 stick_density =number_sticks/(b**2) array_x1=np.array([1,2,3,4,5]) array_y1=np.array([1,2,3,4,5]) array_x2= np.array([2,3,4,7,29]) array_y2= np.array([2,3,4,7,29]) lineas=[] for j in xrange(N): lineas.append(line([(array_x1[j],array_y1[j]),(array_x2[j],array_y2[j])],rgbcolor=(0,0,1), thickness=3)) grafico=sum(lineas) grafico.axes_range=[-0.5*1.3*b,0.5*1.3*b,-0.5*1.3*h,0.5*1.3*h] #xmin, xmax, ymin, ymax save(grafico,'/home/joseluismietta/Escritorio/grafico_numero {0}{1}.png'.format(int(N),int(u)), figsize=[b,h], axes=False, dpi=600)
can't find the problem, the code works for me (modulo some syntax errors removed) :s