public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/51845] New: [4.6 regression] 23_containers/unordered_multimap/erase/24061-multimap.cc segfault
@ 2012-01-13  9:29 krebbel at gcc dot gnu.org
  2012-01-13  9:53 ` [Bug libstdc++/51845] [4.7 " rguenth at gcc dot gnu.org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: krebbel at gcc dot gnu.org @ 2012-01-13  9:29 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-01-19 10:55 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13  9:29 [Bug libstdc++/51845] New: [4.6 regression] 23_containers/unordered_multimap/erase/24061-multimap.cc segfault krebbel at gcc dot gnu.org
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

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).