Closed dmbates closed 11 years ago
@dmbates Is this still an issue? I believe that the latest iteration of your cholmod wrapper solved many such issues.
@ViralBShah I haven't seen this behavior for a long time. Let's close the issue and cross our fingers :-)
Mostly so that I have a record of the problem - I have experienced intermittent segfaults when solving positive-definite sparse systems using
cholfact
which calls CHOLMOD functions through the code inbase/linalg/cholmod.jl
.I haven't isolated the problem yet but it seems to be related to using the LL' form of the Cholesky factorization, as opposed to the LDL' form. For symmetric sparse matrices the CHOLMOD code allows either type with the default being LDL'. When I use the LL' form I sometimes get segfault during subsequent solves. I added a test in
`test/suitesparse.jl
that uses the LL' form but the test doesn't segfault reliably for me.The segfault is usually preceded by a CHOLMOD error message of an invalid xtype (a field in the cholmod_* structs). For example, using the matrix A and vector B defined in
test/suitesparse.jl
This was using