This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Segfault in SparseQR solver

Tags: None
(comma "," separated)
sweeneychris
Registered Member
Posts
8
Karma
0

Segfault in SparseQR solver

Wed Jun 08, 2016 12:36 am
I have a user of my Theia library reporting a segmentation fault in the SparseQR solver. The debugger reveals that the segfault occurs in the solve() function at this line. This seems to be a very odd since I ensure info() == Success right beforehand. For some more context of the code: lhs is a M x N matrix, rhs is a M x 3 matrix, and solution is a N x 3 matrix. The stack trace of the debugger can be found here.

Any thoughts here? I am not even sure how to debug this further...
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Segfault in SparseQR solver  Topic is solved

Wed Jun 08, 2016 7:26 am
Your user seems to be using a pretty old version, so first update to latest 3.2.8 release. The problem might have already been solved.

If the problem is still there, then this should be quite easy to debug as this is not a segfault but an assertion saying that we taking a submatrix with invalid ranges.
sweeneychris
Registered Member
Posts
8
Karma
0

Re: Segfault in SparseQR solver

Thu Jun 09, 2016 9:18 pm
Upgrading to the latest Eigen version fixed it -- thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]