[CONC-483] Workaround for MSAN bug needed Created: 2020-07-02 Updated: 2021-10-05 Resolved: 2021-10-05 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
marko is hitting MSAN issues with C/C due to a bug in MSAN and needs the following workaround applied:
|
| Comments |
| Comment by Marko Mäkelä [ 2020-07-02 ] | |||||||||||||||||
|
Note: The patch that I supplied is not addressing the problem. Hopefully it gives an idea what should be done. I believe that the problem could be in MSAN itself. Here is what I saw (see
In one of the /dev/shm/msan.* files, there would be the following output:
I basically tried to adapt the | |||||||||||||||||
| Comment by Marko Mäkelä [ 2020-10-30 ] | |||||||||||||||||
|
I am not seeing a change after the There is also another error, which I filed and fixed as
Applying the patch in the Description does not make any difference to either error. | |||||||||||||||||
| Comment by Marko Mäkelä [ 2021-10-05 ] | |||||||||||||||||
|
I think that fixing See | |||||||||||||||||
| Comment by Marko Mäkelä [ 2021-10-05 ] | |||||||||||||||||
|
No work-around for MSAN seems to be necessary anymore. I was not able to run the server’s ./mtr --suite=unit under MemorySanitizer, though. It complained about some unresolved MSAN symbol. |