# sage stopped working suddenly

 0 I didn't do anything to the sage install.(I have upgraded by system yesterday) And suddenly today sage stopped working and this is being displayed. /opt/sage/local/lib/libpython2.7.so.1.0(+0x10b0de)[0x7f38414160de] /opt/sage/local/lib/libpython2.7.so.1.0(+0x10b353)[0x7f3841416353] /opt/sage/local/lib/libpython2.7.so.1.0(+0x10b8bc)[0x7f38414168bc] /opt/sage/local/lib/libpython2.7.so.1.0(PyImport_ImportModuleLevel+0x3a)[0x7f3841416e2a] /opt/sage/local/lib/libpython2.7.so.1.0(+0xeb52f)[0x7f38413f652f] /opt/sage/local/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7f384135690e] /opt/sage/local/lib/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f38413f7ff7] /opt/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1f1d)[0x7f38413fa49d] /opt/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x848)[0x7f38413fee68] /opt/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f38413fefa2] /opt/sage/local/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0xaa)[0x7f38414207ca] /opt/sage/local/lib/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xdb)[0x7f38414211fb] /opt/sage/local/lib/libpython2.7.so.1.0(Py_Main+0xb82)[0x7f3841436342] /lib/libc.so.6(__libc_start_main+0xf5)[0x7f3840673455] python[0x4006b1] ------------------------------------------------------------------------ Unhandled SIGBUS: A bus error 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. ------------------------------------------------------------------------ /opt/sage/spkg/bin/sage: line 671: 10989 Bus error sage-notebook "\$@"  I am using arch linux x86_64 running sage 5.0.1(manually compiled). How can I get it working again? THis is the output of sage -gdb: ---------------------------------------------------------------------- | Sage Version 5.0, Release Date: 2012-05-14 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- /opt/sage/local/bin/sage-ipython GNU gdb (GDB) 7.4.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /opt/sage/local/bin/python...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Python 2.7.2 (default, May 19 2012, 19:46:00) [GCC 4.7.0 20120505 (prerelease)] on linux3 Type "help", "copyright", "credits" or "license" for more information. Program received signal SIGBUS, Bus error. 0x00007ffff30b674d in ?? () from /opt/sage/local/lib/python2.7/lib-dynload/_ctypes.so  asked Jun 13 '12 ebs 139 ● 3 ● 10 ● 19 tmonteil 3613 ● 3 ● 37 ● 83 http://wiki.sagemath.org/...

 0 Along with sage, other programs in my system were also behaving wierdly and showing errors like /tmp/ folder is full even though that partition had > 200GB free. I just cleared the folder /tmp/ (It has content of size 1.8 GB) and this problem is gone. Not sure how it works but, it worked! posted Jun 13 '12 ebs 139 ● 3 ● 10 ● 19 1Looks like your file system is damaged. Check smart data and make sure your backups are in order :-)Volker Braun (Jun 13 '12)
 0 Did yesterday's upgrade pull in a new glibc version by any chance? Your best bet is probably to recompile Sage. posted Jun 13 '12 Volker Braun 2666 ● 9 ● 24 ● 59 Actually glibc isn't there in the updates that were installed yesterday. I found out how to fix this problem. I"m going to post it as an answer.ebs (Jun 13 '12)

[hide preview]