-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fatal crash executing run-tests. #301
Comments
Can you post the stack trace? |
Well, after some further investigation, this seems to be a MinGW + Google Test + pthread problem. A similar more commonly reported problem occurs on Fortunately, building with Google Test CMake flag Since the support seems iffy with regard to gtest's pthread usage in MinGW, may I suggest a default setting of this flag as |
Have you filed/found a bug with gtest? If they're nonresponsive, then this seems reasonable. But the best place to handle this would be with them, I think. |
I'm working on a concise failing example to report to them. I just offered this as a work around since it's the test (not the library proper) and the turn around on gtest tends to be pretty slow. Another option might be to move the conditional to the gtest CMakeList.txt so that when the next gtest version (which might have a fix) gets integrated, this hackish fix is overwritten? Otherwise, I'll just remember to add the flag myself. I tried on a few mingw distros with same effect, so it looks like I'm probably the only one effected by virtue of the fact I appear to be the only one using mingw and running the tests, lol. |
Not sure I understand the question. I think the flag will only effect the gtest build. I don't think that yaml-cpp is multi-threaded anyway so it shouldn't matter in any case. |
@harrish27, is this related to yaml-cpp? Sounds like a question for the gmock team. |
Apart from the fact that you haven't supplied enough information for anyone to resolve the problem, this really isn't the forum for this type of question. Try www.stackoverflow.com and see if they can address your issue. |
It may be unrelated however the current pull from master gives me a SEGFAULT when running the testing suite (I'm on Arch Linux btw):
How do I go about getting a stack trace? running |
@theNerd247 try just |
Reported in Gentoo as well: Info provided by reporter: |
Get this when running the tests.
Windows 7 x64 using MinGW-W64; compiler info:
The text was updated successfully, but these errors were encountered: