Exception at test::intenal::MakeAndRegisterTestInfo #4147
Unanswered
chenzhengda
asked this question in
Community Help
Replies: 2 comments
-
The following variable appears to be the cause of the core dump. The diagram above represents a normal running Test program, and the diagram below represents a Test program that is causing a core dump. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Some kind of conflict between Torch and GTest has led to this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am building my project using cmake and introducing Gtest from FetchContent. One of the tests is causing a test core dump (not yet run to the test code snippet).
First of all it was related to a piece of code in the test program, once I commented out this piece of code the core dump would no longer occur.
Also, when I compile with Debug and MinSizeRel, the core dump does not occur.
The call stack information is as follows. How do I debug this further?
Beta Was this translation helpful? Give feedback.
All reactions