-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
segfault when using fifo_map with json #810
Comments
I get an Address Sanitizer error:
|
I have a what I believe is a fix for this. It requires a changes to fifo_map.hpp. I have tested it in my application as well as the fifo_map project's test. Edit: I created a pull request in the fifo_map repo. |
I merged nlohmann/fifo_map#3. Thanks for helping! |
Glad to help! BTW, I was the co-worker that ran into the issue. We appreciate your work on this library. |
This bug was discovered by a coworker, I cleaned up the test program a bit and am posting it here.
I wasn't sure if I should post this under the fifo_map project or here, ultimately because the fifo_map integration workaround posted on the documentation was used I decided to post here. If you'd rather I post it under fifo_map instead I can.
Please note that without the fifo_map this code does not segfault and works fine.
Here is the stack trace I'm getting from gdb:
The text was updated successfully, but these errors were encountered: