-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Tests fail on Fedora with gcc 6.1.1 #325
Comments
Use GDB |
I know 0 about the tests and how they're run. So I need some info like:
|
I played around a bit and figured out how to run the failing test in GDB. Here's what I ran:
And here's the stacktrace:
|
Thanks for the bug report. I was able to reproduce it and will look into it. As an interesting detail, this seems to only occur in the release version. |
The problem is caused by "delete this" in GMock when this is a null pointer. It is related to google/googletest#705. Should be fixed in d00b43c I should probably submit the fix to GMock to fix this once and for all. |
Ok, I applied the patch from d00b43c and the tests pass. Thanks. |
This might have been fixed in Google Test too, at least Result InvokeWith(const ArgumentTuple& args)
GTEST_LOCK_EXCLUDED_(g_gmock_mutex) {
scoped_ptr<ResultHolder> holder(
DownCast_<ResultHolder*>(this->UntypedInvokeWith(&args)));
return holder->Unwrap();
} |
I just started working on packaging fmt library for Fedora and the test 9 fails on Rawhide with gcc 6.1.1. Here's the output:
What can I do to help diagnose the source of this issue?
The text was updated successfully, but these errors were encountered: