-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fx_ver::parse SIGABRTs on Mac with new toolset update #68927
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue Details
Might be allocator confusion.
|
I wonder - are we using In my experience allocator is typically right, but also I do not think this code is new. |
I tried commenting out Also weird why it started asserting with toolset update. Did we change c++ compiler version, by any chance? (could be a compiler bug) |
Yup, we are. This somehow looks unique to this location. |
I don't think so. #67771 looks like it doesn't directly change with the native toolset. Can't completely rule it out though. |
|
We're using the same machines and it's not failing in main, so it would have to be brought down by that PR. That PR does bring down a new SDK version, but I don't know how that could make a difference. I suppose it is interesting that the actual version number that's being passed to |
I have seen this on my machine when working on singlefile fix. I do not think I have the PR. My baseline was relatively recent main, perhaps a few days old. |
stringstream is locale dependent and is slower than append: https://stackoverflow.com/a/19845594/863980. Maybe we should switch |
Oh, in that case it may definitely be a machine or toolchain thing. I'll try to get it to repro for main on x64. |
@am I do not think the use is very perf sensitive, but we could change if otherwise it is the same. I think we still need to understand the issue though. Just in case if we may have more cases. |
I debugged through this and found |
@agocke we've had this kind of a problem multiple times in the past. It can be triggered e.g. when some code from the STL headers gets inlined and some comes from the libc++ library. The inlined code can pick our operator implementation. Might be due to our headers of utilcode being included in a bad order w.r.t. the STL ones or just being included by accident. |
Happens on both x64 and ARM64
Might be allocator confusion.
The text was updated successfully, but these errors were encountered: