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

Stack around the variable 'T_wc' was corrupted #480

Closed
bakelew opened this issue Feb 13, 2019 · 2 comments
Closed

Stack around the variable 'T_wc' was corrupted #480

bakelew opened this issue Feb 13, 2019 · 2 comments

Comments

@bakelew
Copy link

bakelew commented Feb 13, 2019

I get an exception saying "Run-Time Check Failure #2 - Stack around the variable 'T_wc' was corrupted." and programs breaks at line 185 of handler.cpp

Error happens when clicking into the pangolin window (triggering the handler).

Found using the vcpkg version of pangolin VS 2017 x64 Debug.

Possibly caused by the call to LieApplySO3 which seems to be expecting a 3x3 array, but being passed a 3x4 array?

This error does not occur in release mode.

@stevenlovegrove
Copy link
Owner

Thanks for the info. That 3x4 matrix is column major and the first 3x3 elements are the rotation matrix, so that should be okay. Not sure of the cause...

@stevenlovegrove
Copy link
Owner

If you can reproduce this on the master branch, please reopen ideally with a minimal test case. I can't reproduce on my own Windows build.

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

No branches or pull requests

2 participants