[Bug libstdc++/70794] vector.push_back() crashes with std::bad_alloc after 2^32 calls

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 26 10:58:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70794

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2016-04-26
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I can't reproduce this on x86_64 GNU/Linux. I see a very slight pause around
the 4GB mark, and again at 8GB (probably as the allocated pages actually get
touched) but it keeps going well past that. This is a 64GB machine, so it
suggests that the problem is local to your system.

Please provide the missing information requested when you created this bug, see
https://gcc.gnu.org/bugs/


More information about the Gcc-bugs mailing list