Skip to content

Segfault in highsSparseTranspose #2748

@jajhall

Description

@jajhall

A segfault in highsSparseTranspose on AWS Lambdas using ARM64 has been reported "when we submit problems with ridiculously high precision".

The only oddity in highsSparseTranspose is that it uses AcountX = Aindex.size(); to determine the number of nonzeros in the matrix - and hence resize ARindex and ARvalue, rather than Astart[numCol] - although both values should be the same. So, if the size of Aindex is incorrect, the size of ARindex and ARvalue is incorrect. However, it's only conceivable that AcountX is larger than Astart[numCol] - otherwise I'd have expected a segfault earlier - so size of ARindex and ARvalue would be larger than necessary, which wouldn't lead to a segfault.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions