This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22562] New: g++ 3.4.4 dumps core on code that built with 3.3.4


I get a core dump when I comple code with 3.4.4 that compiles fine with 3.3.4.

        /vol/gnu/gcc-3.4.4/bin/g++ -c -DSunOS -DSunOS5 -DSunOS5_8 -g -O3 -fPIC
-D_REENTRANT  -Wreturn-type  -Wnon-virtual-dtor  -I. -I/vobs/dx/local/include
-I/vobs/is_foundations/vendor/zregx/include -I/vobs/toe/local/include
-I/vobs/foot/local/include -I/vobs/moi/local/include -I/vobs/dx/src/lib/dmClient
-I/vobs/is_foundations/snacc/include   -munaligned-doubles -m64 -mcpu=ultrasparc
-o sun5g/64/DMServerClusterMap.o DMServerClusterMap.cc
g++: Internal error: Segmentation Fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 

g++ -v
Reading specs from /vol/gnu/gcc-3.4.4/lib/gcc/sparc-sun-solaris2.8/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/vol/gnu/gcc-3.4.4
--enable-shared --enable-threads --enable-cpp --enable-languages=c++
--with-gnu-as --with-as=/vol/gnu/gcc-3.4.4/bin/as --with-gnu-ld
--with-ld=/vol/gnu/gcc-3.4.4/bin/ld --host=sparc-sun-solaris2.8
Thread model: posix
gcc version 3.4.4

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Core was generated by
`/vol/gnu/gcc-3.4.4/libexec/gcc/sparc-sun-solaris2.8/3.4.4/cc1plus -I. -I/vobs/d'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/platform/SUNW,Sun-Fire/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Fire/lib/libc_psr.so.1
#0  splay_tree_delete_helper (sp=0x60e600, node=0x892ee0)
    at ../../gcc-3.4.4/libiberty/splay-tree.c:61
61      {
(gdb) where
#0  splay_tree_delete_helper (sp=0x60e600, node=0x892ee0)
    at ../../gcc-3.4.4/libiberty/splay-tree.c:61
#1  0x00321a44 in splay_tree_delete_helper (sp=0x60e600, node=0x892ee0)
    at ../../gcc-3.4.4/libiberty/splay-tree.c:65
#2  0x00321a44 in splay_tree_delete_helper (sp=Cannot access memory at address
0xff3efdc0
)
    at ../../gcc-3.4.4/libiberty/splay-tree.c:65
Cannot access memory at address 0xff3efdd8
(gdb) list
65        splay_tree_delete_helper (sp, node->left);
66        splay_tree_delete_helper (sp, node->right);
67
68        if (sp->delete_key)
69          (*sp->delete_key)(node->key);
70        if (sp->delete_value)
71          (*sp->delete_value)(node->value);
72
73        (*sp->deallocate) ((char*) node, sp->allocate_data);
74      }

-- 
           Summary: g++ 3.4.4 dumps core on code that built with 3.3.4
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: work at paul dot dubuc dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22562


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]