[Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
--- Comment #5 from alessandro dot mei at elsagdatamat dot com 2007-06-12 15:41 --- (In reply to comment #4) > And why do you think GCC is at fault? It is hard to debug this huge sources > really. Have you tried to pin point exactly where the issue. Do you have any > uninitialized variables? Are you going over array bounds? Do you take an > address of a local variable and keep it around even after it goes out of > scope? We have tried to pin point exactly where the crash occurs. It is hard to debug the source really, we agree, however there is nothing strange at that line and that code works fine on the test server. We are using GCC 4.1.1 downloaded from aixpdslib UCLA ftp website. We suspect that the GCC binary downloaded from this ftp site had been compiled on an AIX 5.3 version different from the one we are using in the production server. So we are now asking support if our suspect could explain the crash. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32288
[Bug c++/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
--- Comment #3 from alessandro dot mei at elsagdatamat dot com 2007-06-12 13:48 --- the exact version of GCC; the system type; the options given when GCC was configured/built; gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.1.1/configure --disable-nls Thread model: aix gcc version 4.1.1 -- alessandro dot mei at elsagdatamat dot com changed: What|Removed |Added CC||alessandro dot mei at ||elsagdatamat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32288
[Bug c++/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
--- Comment #2 from alessandro dot mei at elsagdatamat dot com 2007-06-12 13:42 --- (From update of attachment 13685) the complete command line that triggers the bug: /home/mag/sviluppo/bin/bkeuti /home/mag/sviluppo/config/bkeuti.xml /home/mag/sviluppo/config/processi.dtd > /dev/null & The stack content relative to the core file is the following: (gdb) where #0 0xd1514a98 in _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base ( __x=) at ../../../../gcc-4.1.1/libstdc++-v3/src/tree.cc:68 #1 0x10019fac in _ZNSt17_Rb_tree_iteratorISt4pairIKSsP6CTimerEEppEi ( this=) at /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../../include/c++/4 .1.1/bits/stl_tree.h:190 #2 0x100200b0 in _ZN13bus_CProcesso17azioniDiBackGroudEv ( this=) at bus_CProcesso.cpp:838 #3 0x10022750 in _ZN13bus_CProcesso3vaiEbi (this=, bSync=false, intSec=1) at bus_CProcesso.cpp:458 #4 0x10022e18 in _ZN22bus_CProcessoExceptionC1Ev (this=) at bus_CProcesso.hpp:88 #5 0x10005054 in main (argc=3, argv=0x2ff22934, envp=0x2ff22944) at bkeuti.cpp:655 #6 0x1214 in __start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32288
[Bug c++/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
--- Comment #1 from alessandro dot mei at elsagdatamat dot com 2007-06-12 13:30 --- Created an attachment (id=13685) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13685&action=view) compiler output and warnings; the preprocessed file (*.ii) that triggers the bug the complete command line that triggers the bug; /home/mag/sviluppo/bin/bkeuti /home/mag/sviluppo/config/bkeuti.xml /home/mag/sviluppo/config/processi.dtd > /dev/null & The stack content relative to the core file is the following: (gdb) where #0 0xd1514a98 in _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base ( __x=) at ../../../../gcc-4.1.1/libstdc++-v3/src/tree.cc:68 #1 0x10019fac in _ZNSt17_Rb_tree_iteratorISt4pairIKSsP6CTimerEEppEi ( this=) at /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../../include/c++/4 .1.1/bits/stl_tree.h:190 #2 0x100200b0 in _ZN13bus_CProcesso17azioniDiBackGroudEv ( this=) at bus_CProcesso.cpp:838 #3 0x10022750 in _ZN13bus_CProcesso3vaiEbi (this=, bSync=false, intSec=1) at bus_CProcesso.cpp:458 #4 0x10022e18 in _ZN22bus_CProcessoExceptionC1Ev (this=) at bus_CProcesso.hpp:88 #5 0x10005054 in main (argc=3, argv=0x2ff22934, envp=0x2ff22944) at bkeuti.cpp:655 #6 0x1214 in __start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32288
[Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
Our C++ program compiled with gcc 4.1.1 on Aix 5.3 terminates abnormally with a core dump. This happens in the initialization phase of the program. The program is the core process of our application. We can reproduce it at will. This problem occurs with a binary compiled in the production environment. If we run the binary compiled in the test environment, we have no problem, both in the production server and in the test one. Moreover, the program crash is not occuring if we use a higher tracing level. The production server has an Aix patch set newer than the test server; however the servers have same version and maintanance level of the operating system, namely: production server Aix V5.3.0.0-05-05 test server Aix V5.3.0.0-05 -- Summary: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alessandro dot mei at elsagdatamat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32288