Ask Your Question

sage stopped working suddenly

asked 2012-06-13 05:58:46 +0200

ebs gravatar image

updated 2013-06-03 11:35:00 +0200

tmonteil gravatar image

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.


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.        |
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/".
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/
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-06-13 08:00:31 +0200

ebs gravatar image

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!

edit flag offensive delete link more



Looks like your file system is damaged. Check smart data and make sure your backups are in order :-)

Volker Braun gravatar imageVolker Braun ( 2012-06-13 11:54:35 +0200 )edit

answered 2012-06-13 07:01:02 +0200

Volker Braun gravatar image

Did yesterday's upgrade pull in a new glibc version by any chance? Your best bet is probably to recompile Sage.

edit flag offensive delete link more


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 gravatar imageebs ( 2012-06-13 07:56:47 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-06-13 05:58:46 +0200

Seen: 555 times

Last updated: Jun 13 '12