Ask Your Question
1

Unhandled SIGSEGV in Sage 6.8

asked 9 years ago

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.

Vince

Preview: (hide)

Comments

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 ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

Jeroen Demeyer gravatar image

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

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 9 years ago

Seen: 1,035 times

Last updated: Nov 05 '15