public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/58800] [4.8 regression, I think] std::nth_element segfaults on valid input Date: Fri, 18 Oct 2013 23:17:00 -0000 [thread overview] Message-ID: <bug-58800-4-oCQd1bdBlb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58800-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800 --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- I can also reproduce with something this simple: std::vector<int> v = { 207089, 202585, 180067, 157549, 211592, 216096, 207089 }; -D_GLIBCXX_DEBUG reveals that we are dereferencing a past-the-end iterator. We badly need a quick fix. Say 2-3 day max or we have to revert the fix for 58437.
next prev parent reply other threads:[~2013-10-18 23:17 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-18 22:21 [Bug libstdc++/58800] New: " luto at mit dot edu 2013-10-18 22:22 ` [Bug libstdc++/58800] " luto at mit dot edu 2013-10-18 22:48 ` paolo.carlini at oracle dot com 2013-10-18 23:05 ` paolo.carlini at oracle dot com 2013-10-18 23:17 ` paolo.carlini at oracle dot com [this message] 2013-10-18 23:53 ` paolo.carlini at oracle dot com 2013-10-19 0:13 ` [Bug libstdc++/58800] [4.8.2/4.9 Regression] " luto at mit dot edu 2013-10-19 0:20 ` luto at mit dot edu 2013-10-19 0:22 ` paolo.carlini at oracle dot com 2013-10-19 0:35 ` luto at mit dot edu 2013-10-19 7:36 ` glisse at gcc dot gnu.org 2013-10-19 7:48 ` paolo.carlini at oracle dot com 2013-10-19 7:55 ` [Bug libstdc++/58800] [4.7.4/4.8.2/4.9 " chris at bubblescope dot net 2013-10-19 8:05 ` paolo.carlini at oracle dot com 2013-10-19 8:15 ` glisse at gcc dot gnu.org 2013-10-19 8:49 ` chris at bubblescope dot net 2013-10-19 8:54 ` chris at bubblescope dot net 2013-10-19 10:02 ` paolo.carlini at oracle dot com 2013-10-19 11:06 ` chris at bubblescope dot net 2013-10-19 12:11 ` chris at bubblescope dot net 2013-10-19 17:47 ` paolo.carlini at oracle dot com 2013-10-19 18:07 ` paolo.carlini at oracle dot com 2013-10-20 9:07 ` paolo at gcc dot gnu.org 2013-10-20 9:08 ` paolo at gcc dot gnu.org 2013-10-20 9:08 ` paolo at gcc dot gnu.org 2013-10-20 9:09 ` paolo.carlini at oracle dot com 2013-10-21 8:39 ` rguenth at gcc dot gnu.org 2013-11-13 15:59 ` [Bug libstdc++/58800] [4.7/4.8/4.9 " glisse at gcc dot gnu.org 2013-12-19 16:12 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58800-4-oCQd1bdBlb@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).