Skip to content
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

segfault in degenerate matrix multiply #5972

Closed
williamstein opened this issue May 4, 2009 · 5 comments
Closed

segfault in degenerate matrix multiply #5972

williamstein opened this issue May 4, 2009 · 5 comments

Comments

@williamstein
Copy link
Contributor

OUCH:

wstein@sage:~$ sage
----------------------------------------------------------------------
| Sage Version 3.4.1, Release Date: 2009-04-21                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
matrix(QQ,2,0)sage: matrix(QQ,2,0)*matrix(QQ,0,2)


------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or 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 (sorry).
------------------------------------------------------------

Component: linear algebra

Issue created by migration from https://trac.sagemath.org/ticket/5972

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 4, 2009

Attachment: trac_5972.patch.gz

William's patch rebased

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 4, 2009

comment:1

Nice catch.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 4, 2009

comment:2

Merged in Sage 3.4.2.final.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed May 4, 2009
@williamstein
Copy link
Contributor Author

the rebased patch michael posted doesn't work for me on 3.4.2.rc0, but this patch does, so I'm posting it.

@williamstein
Copy link
Contributor Author

Attachment: trac_5972-3.4.2.rc0.patch.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant