public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/51845] New: [4.6 regression] 23_containers/unordered_multimap/erase/24061-multimap.cc segfault Date: Fri, 13 Jan 2012 09:29:00 -0000 [thread overview] Message-ID: <bug-51845-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51845 Bug #: 51845 Summary: [4.6 regression] 23_containers/unordered_multimap/erase/24061-multimap. cc segfault Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: krebbel@gcc.gnu.org The failure has been introduced between revisions r181648 r181683. gdb --args ./24061-multimap.exe GNU gdb (GDB) Fedora (7.2.50.20110206-18.fc13) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "s390-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /build/gcc-head-build/s390-ibm-linux-gnu/libstdc++-v3/testsuite/24061-multimap.exe...done. (gdb) r Starting program: /build/gcc-head-build/s390-ibm-linux-gnu/libstdc++-v3/testsuite/24061-multimap.exe Program received signal SIGSEGV, Segmentation fault. malloc_consolidate (av=0x77e123c8) at malloc.c:5161 5161 malloc.c: No such file or directory. in malloc.c (gdb) bt #0 malloc_consolidate (av=0x77e123c8) at malloc.c:5161 #1 0x77d0ba7e in _int_free (av=0x77e123c8, p=0x4044d0, have_lock=1) at malloc.c:5034 #2 0x77d0e4da in _int_realloc (av=0x77e123c8, oldp=0x404420, oldsize=<optimized out>, nb=<optimized out>) at malloc.c:5367 #3 0x77d0e7f4 in __libc_realloc (oldmem=0x404428, bytes=172) at malloc.c:3821 #4 0x77d027d0 in _IO_vasprintf (result_ptr=0x7fffea3c, format=<optimized out>, args=0x7fffe9b8) at vasprintf.c:86 #5 0x77ce49a4 in ___asprintf (string_ptr=<optimized out>, format=<optimized out>) at asprintf.c:37 #6 0x77cbbbe8 in __assert_fail (assertion=0x4025d2 "mm1.size() == 0", file=0x4024fc "/build/gcc-head/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc", line=99, function=<optimized out>) at assert.c:63 #7 0x00401ff2 in test01 () at /build/gcc-head/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc:99 #8 0x004009fe in main () at /build/gcc-head/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc:106
next reply other threads:[~2012-01-13 9:28 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-13 9:29 krebbel at gcc dot gnu.org [this message] 2012-01-13 9:53 ` [Bug libstdc++/51845] [4.7 " rguenth at gcc dot gnu.org 2012-01-13 10:57 ` paolo.carlini at oracle dot com 2012-01-13 11:44 ` dominiq at lps dot ens.fr 2012-01-13 12:43 ` krebbel at gcc dot gnu.org 2012-01-13 12:45 ` krebbel at gcc dot gnu.org 2012-01-13 12:57 ` paolo.carlini at oracle dot com 2012-01-13 13:40 ` krebbel at gcc dot gnu.org 2012-01-13 17:27 ` jakub at gcc dot gnu.org 2012-01-13 20:37 ` pinskia at gcc dot gnu.org 2012-01-13 23:01 ` ebotcazou at gcc dot gnu.org 2012-01-15 14:05 ` schwab@linux-m68k.org 2012-01-15 17:22 ` krebbel at gcc dot gnu.org 2012-01-15 21:47 ` fdumont at gcc dot gnu.org 2012-01-15 22:42 ` schwab@linux-m68k.org 2012-01-15 23:17 ` dominiq at lps dot ens.fr 2012-01-16 0:07 ` paolo.carlini at oracle dot com 2012-01-18 19:31 ` jakub at gcc dot gnu.org 2012-01-18 21:14 ` fdumont at gcc dot gnu.org 2012-01-18 22:01 ` jakub at gcc dot gnu.org 2012-01-19 10:51 ` jakub at gcc dot gnu.org 2012-01-19 11:04 ` jakub 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-51845-4@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).