Ask Your Question

Unhandled SIGSEGV in Sage 6.8

asked 2015-09-23 04:34:56 +0200

vincentl gravatar image

I am trying to use python multiprocessing to start worker threads that execute a complex algorithm and produce rows of a matrix. Along the way, worker threads attempt to row reduce the rows they have produced using the echelonize() method.

This works in some cases. However, when working with a 9 x 860 matrix over QQ, the worker thread crashes with

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().
Sage will now terminate.

If I comment out the echelonize() call, the crash does not happen.

I pickled the matrix and loaded into an interactive sage session and echelonize() succeeded.

Any suggestions for how to debug this situation are appreciated.


edit retag flag offensive close merge delete


I think we might need a little more information to help. Have you tried with the Sage debugger (sage -gdb or something like that)?

kcrisman gravatar imagekcrisman ( 2015-09-23 17:29:17 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-05 17:41:53 +0200

Jeroen Demeyer gravatar image

Could it be that you're running out of memory and Sage doesn't handle this properly?

edit flag offensive delete link more

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: 2015-09-23 04:34:56 +0200

Seen: 937 times

Last updated: Nov 05 '15