[SERVER-77772] ASAN crashes on 5.0 with v3 clang Created: 02/Jun/23 Updated: 06/Jun/23 Resolved: 06/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Moody | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Operating System: | ALL |
| Steps To Reproduce: | git checkout v5.0 |
| Participants: |
| Description |
|
It appears there was some bug in our v3 clang ASAN which prevents this from happening: https://github.com/llvm/llvm-project/issues/55785. It seems related to this GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100114. The GCC bug was fixed and backported and the fix exists in our v3 gcc but not v3 clang. V4 clang has similar changes that represent the fix. Possibly we could backport some fix. The workaround is use_sigaltstack=false in ASAN_OPTIONS. |
| Comments |
| Comment by Alex Neben [ 06/Jun/23 ] |
|
This is a real bug but the workaround is simple enough that I don't think we are going to go through the work or backporting and creating a new toolchain for this. |