public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/32288]  New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
@ 2007-06-11 16:32 alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:30 ` [Bug c++/32288] " alessandro dot mei at elsagdatamat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: alessandro dot mei at elsagdatamat dot com @ 2007-06-11 16:32 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug c++/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
@ 2007-06-12 13:30 ` alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:43 ` alessandro dot mei at elsagdatamat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: alessandro dot mei at elsagdatamat dot com @ 2007-06-12 13:30 UTC (permalink / raw)
  To: gcc-bugs



------- 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=<incomplete type>) at ../../../../gcc-4.1.1/libstdc++-v3/src/tree.cc:68
#1  0x10019fac in _ZNSt17_Rb_tree_iteratorISt4pairIKSsP6CTimerEEppEi (
    this=<incomplete type>)
    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=<incomplete type>) at bus_CProcesso.cpp:838
#3  0x10022750 in _ZN13bus_CProcesso3vaiEbi (this=<incomplete type>, 
    bSync=false, intSec=1) at bus_CProcesso.cpp:458
#4  0x10022e18 in _ZN22bus_CProcessoExceptionC1Ev (this=<incomplete type>)
    at bus_CProcesso.hpp:88
#5  0x10005054 in main (argc=3, argv=0x2ff22934, envp=0x2ff22944)
    at bkeuti.cpp:655
#6  0x10000214 in __start ()


-- 


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


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

* [Bug c++/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:30 ` [Bug c++/32288] " alessandro dot mei at elsagdatamat dot com
@ 2007-06-12 13:43 ` alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:48 ` alessandro dot mei at elsagdatamat dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: alessandro dot mei at elsagdatamat dot com @ 2007-06-12 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- 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=<incomplete type>) at ../../../../gcc-4.1.1/libstdc++-v3/src/tree.cc:68
#1  0x10019fac in _ZNSt17_Rb_tree_iteratorISt4pairIKSsP6CTimerEEppEi (
    this=<incomplete type>)
    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=<incomplete type>) at bus_CProcesso.cpp:838
#3  0x10022750 in _ZN13bus_CProcesso3vaiEbi (this=<incomplete type>, 
    bSync=false, intSec=1) at bus_CProcesso.cpp:458
#4  0x10022e18 in _ZN22bus_CProcessoExceptionC1Ev (this=<incomplete type>)
    at bus_CProcesso.hpp:88
#5  0x10005054 in main (argc=3, argv=0x2ff22934, envp=0x2ff22944)
    at bkeuti.cpp:655
#6  0x10000214 in __start ()


-- 


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


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

* [Bug c++/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:30 ` [Bug c++/32288] " alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:43 ` alessandro dot mei at elsagdatamat dot com
@ 2007-06-12 13:48 ` alessandro dot mei at elsagdatamat dot com
  2007-06-12 13:50 ` [Bug target/32288] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: alessandro dot mei at elsagdatamat dot com @ 2007-06-12 13:48 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 753 bytes --]



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


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

* [Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
                   ` (2 preceding siblings ...)
  2007-06-12 13:48 ` alessandro dot mei at elsagdatamat dot com
@ 2007-06-12 13:50 ` pinskia at gcc dot gnu dot org
  2007-06-12 14:01 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-12 13:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
          Component|c++                         |target
 GCC target triplet|                            |owerpc-ibm-aix5.3.0.0


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


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

* [Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
                   ` (3 preceding siblings ...)
  2007-06-12 13:50 ` [Bug target/32288] " pinskia at gcc dot gnu dot org
@ 2007-06-12 14:01 ` pinskia at gcc dot gnu dot org
  2007-06-12 15:42 ` alessandro dot mei at elsagdatamat dot com
  2008-01-26  0:42 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-12 14:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-06-12 14:01 -------
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?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
                   ` (4 preceding siblings ...)
  2007-06-12 14:01 ` pinskia at gcc dot gnu dot org
@ 2007-06-12 15:42 ` alessandro dot mei at elsagdatamat dot com
  2008-01-26  0:42 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: alessandro dot mei at elsagdatamat dot com @ 2007-06-12 15:42 UTC (permalink / raw)
  To: gcc-bugs



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


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

* [Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump
  2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
                   ` (5 preceding siblings ...)
  2007-06-12 15:42 ` alessandro dot mei at elsagdatamat dot com
@ 2008-01-26  0:42 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-26  0:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-01-25 23:46 -------
No activity for month.  Please re-open if there is more information.  Please
also use a newer 4.1 release such as 4.1.2 or even a release that is still
supported such as 4.2.2.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2008-01-25 23:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-11 16:32 [Bug c++/32288] New: Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump alessandro dot mei at elsagdatamat dot com
2007-06-12 13:30 ` [Bug c++/32288] " alessandro dot mei at elsagdatamat dot com
2007-06-12 13:43 ` alessandro dot mei at elsagdatamat dot com
2007-06-12 13:48 ` alessandro dot mei at elsagdatamat dot com
2007-06-12 13:50 ` [Bug target/32288] " pinskia at gcc dot gnu dot org
2007-06-12 14:01 ` pinskia at gcc dot gnu dot org
2007-06-12 15:42 ` alessandro dot mei at elsagdatamat dot com
2008-01-26  0:42 ` rguenth at gcc dot gnu dot 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).