New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sage crashes trying to find kernel of large rational matrices #11581
Comments
comment:1
Thanks for the report. Works for me on 64-bit Ubuntu 10.10 on Intel i7-2600 with the latest Sage alpha release. The matrix kernel routines were refactored between 4.7 and now (#10746), but I suspect that is totally unrelated (famous last words).
Looks like failure is in the Integer Matrix Library (IML) code (nullspaceMP routine) which appers to be using ATLAS. Are you constrained for memory? Suggestions you could try. (a) Looks like you have a pre-built binary? You could build a copy of Sage from source, which is quite easy (but takes hours). See http://groups.google.com/group/sage-release for links to the latest alpha release. (b) Install the upcoming improved ATLAS spkg at #10226 (positive review). (c) You could apply #10746, but I think that would be irrelevant in this case. |
comment:2
Hi, I tried building Sage (the release, not the alpha) on the Core 2 machine. It solved the problem. I also tried the alpha on the other machine; it also solved the problem and performance seems to be better as well. Thanks for the help. |
comment:3
Replying to @sagetrac-hdevalence:
Great! Glad to hear building from source worked for you. Thanks for following up. 'For Jeroen Dmeyer - (release manager): Should we close this? Seems like maybe a one-off problem, until we hear of other similar experiences? |
comment:4
Replying to @rbeezer:
This sounds like a problem with binary releases so I don't think we should simply ignore this report. |
comment:5
Replying to @jdemeyer:
Right. Here's a confirmation of sorts. My configuration is not too different from that of the original poster. 64-bit Ubuntu 10.10 on Intel i7-2600 Using latest binary, which unpacks to directory: sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux
I'll be useless doing much more to debug this unless led by the hand. But I could call for more testing, via IRC or sage-devel, with any reports posted here. If so, is the gdb trace the best thing to post (besides OS)? What would you advise? That's probably about as much more as I can contribute. Rob |
comment:6
Replying to @rbeezer:
Could you try version sage-4.7.1.alpha1 and check whether that works? (the last version without #10746) If NO, try the released sage-4.7. If YES, try sage-4.7.1.alpha2 or later. |
comment:7
I just realized I misinterpreted the report. The problematic version is sage-4.7, so you should try the most recent alpha version instead. Currently, this is sage-4.7.1.alpha4 |
This comment has been minimized.
This comment has been minimized.
comment:8
A similar problem is discussed at: http://groups.google.com/group/sage-support/browse_thread/thread/4b421d04fb2d2297 |
comment:9
It would perhaps be helpful to know on what kind of machine the binaries were built. On the other hand unsupported instructions should raise a |
Changed keywords from rational matrix segmentation fault to rational matrix segmentation fault ATLAS |
comment:10
Another segfault presumably caused by ATLAS with large matrices (this time NumPy, 512x512), and this time clearly in |
comment:11
ping because trac notifications seem to work again. |
comment:12
Let's assume this is fixed... |
Reviewer: Leif Leonhardy |
comment:14
I think this was also just caused by the binary distribution being built on redhawk, which ran the obsolete Ubuntu 10.04.1 LTS, with an apparently incompatible / broken libpthread. (It's now at 10.04.4, so this should no longer happen.) |
On Ubuntu 11.04 64-bit, Sage 4.7 crashes trying to find the kernel of a large rational matrix.
This happens every time, and on two machines -- one a Core 2 Duo T5250 and the other a
The crashes happen on my Core 2 Duo machine when the matrix is larger than 101x101.
CC: @jdemeyer
Component: linear algebra
Keywords: rational matrix segmentation fault ATLAS
Reviewer: Leif Leonhardy
Issue created by migration from https://trac.sagemath.org/ticket/11581
The text was updated successfully, but these errors were encountered: