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

(2x3)\(2x2) crashes inside LAPACK #63

Closed
JeffBezanson opened this issue Jun 19, 2011 · 1 comment
Closed

(2x3)\(2x2) crashes inside LAPACK #63

JeffBezanson opened this issue Jun 19, 2011 · 1 comment
Assignees
Labels
kind:bug Indicates an unexpected problem or unintended behavior

Comments

@JeffBezanson
Copy link
Sponsor Member

Looks like something is causing dgels to write outside an array:

julia> A=rand(2,3);b=rand(2,2)
0.15240817408192342 0.68197511458982851 
0.28618656967918277 0.85123727301755281 

julia> A\b
==31381== Invalid write of size 8
==31381==    at 0x12114FF0: dgels_ (in /home/jeff/src/julia-master/julia/external/root/lib/libLAPACK.so)
==31381==    by 0x76F10C3: ???
@ghost ghost assigned ViralBShah Jun 19, 2011
@ViralBShah
Copy link
Member

Fixed in commit d5abe85

julia> rand(2,3) \ rand(2,2)
0.65713735504665283 0.01469730971033037
0.44896694069597876 0.39050349636098097
0.27183963895270702 0.16800828330112461

julia> a = rand(2,3); b = rand(2,2);

julia> x = a \ b
15.64808214355044313 2.24266591089133138
-27.86728714367731641 -3.97176232211137004
-0.50339127090780345 -0.06232994717219131

julia> norm (a*x-b)
8.32373713042688455e-15

StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
WIP: atsign-compat for Tuple{a, b} syntax
StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
cmcaine pushed a commit to cmcaine/julia that referenced this issue Sep 24, 2020
…uliaLang#63)

* Unskip tests when testing the examples

* Unskip tests when testing the examples

* Change optional tasks to test_skip from comments
LilithHafner pushed a commit to LilithHafner/julia that referenced this issue Oct 11, 2021
Other half of code-coverage PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants