-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
<forward_list>
, <string>
, <vector>
: Debug mode STL causes terminate()
to be called under low memory
#1035
Comments
Yep - I have a fix stranded in our vNext branch in TFS (that avoids allocating the "proxy" object; I implemented the fix for all containers except |
Currently In vNext, it seems that the proxy becomes a subobject of the container object. However, if the proxy is still self-referential, there will still be inconsistency:
This inconsistency is already present for libstdc++'s |
The iterator debugging overhaul that I wrote for vNext (in our stranded Team Foundation Version Control branch) entirely eliminated the proxy object, instead taking a lock whenever it needs to update all children. (I didn't get around to overhauling |
<forward_list>
, <string>
, <vector>
: Debug mode STL causes terminate()
to be called under low memory
Describe the bug
std::basic_string
,std::vector
default constructor isnoexcept
, which corresponds to the standard, but it allocates during construction, and thus may throwCommand-line test case
9525-ms-bug-repros.zip
STL version
Additional context
Also tracked by DevCom-77779 and VSO-466800 / AB#466800
Similar issue is also tracked by Also tracked by DevCom-246249 and VSO-470756 / AB#470756
The text was updated successfully, but these errors were encountered: