-
Notifications
You must be signed in to change notification settings - Fork 285
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
BodyNode::createShapeNodeWith() access violation on Windows 10 #1431
Comments
It works fine with /vd2 compiler option. |
I have the same crash on Adding |
Related issue (I guess): #1522 . |
Thanks to @ryo-y-murakami, I confirm that adding /vd2 in the root CMakeLists.txt makes the Windows build work, Visual Studio 2019. |
I believe this issue is fixed by #1541 |
I previously used DART on Ubuntu and it works fine with this C++ piece of code I have. However, I need to bring some of my code to Windows 10. The compilation of DART and my project on VS2019 went well. Unfortunately, a line of code produces an access violation error during runtime.
This is the independent code section that causes the problem
This is the error log.
Exception thrown at 0x00007FFBA46F7319 (vcruntime140d.dll) in ConsoleApplication1.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
By tracing, I've found that the error occurs in FixedFrame.cpp in the createAspect()
And the last tracable line is in Aspect.hpp during the dynamic_cast of function setComposite()
At this line, The FixedFrame object inside the newComposite seems to point to nowhere as the debugger is unable to read the memory inside that object.
As it is related to dynamic_cast, Run-Time Type Information (/GR) has been enabled but the problem still exist.
Bug Report
Environment
The text was updated successfully, but these errors were encountered: