[CDRIVER-1051] ASAN/UBSAN: misaligned address Created: 13/Dec/15 Updated: 25/Jul/22 Resolved: 18/Jul/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeroen Ooms [X] | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
CRAN reports some misaligned address errors for mongolite: I did compile the with
|
| Comments |
| Comment by Jeroen Ooms [X] [ 19/Jul/16 ] |
|
Actually the warnings appear without BSON_EXTRA_ALIGN. |
| Comment by Hannes Magnusson [ 18/Jul/16 ] |
|
There isn't anything we can do about the alignment warning when you compile with BSON_EXTRA_ALIGN. We recommend to set that to off. As for the overflow warning in the scram mechanism, if you can still reproduce that please file a separate ticket for it. We are working on automatic similar checks in our CI infrastructure btw, se linked tickets. |
| Comment by Jeroen Ooms [X] [ 29/Feb/16 ] |
|
FYI here are ASAN/UBSAN for GCC6:
My repo maintainers keep complaining about this; hopefully these can be fixed soon |