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

            Bug ID: 57426
           Summary: Application core dumps at
                    __gnu_cxx::__exchange_and_add
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rajagopal.maddi at plintron dot com

We have an application; compiled with "gcc 3.4.3" on "SunOS solaris2 5.10
Generic_144488-07 sun4v sparc SUNW,SPARC-Enterprise-T1000".

The application dumps core on the execution of a destructor. The same piece of
code runs quite fine many times, but it rarely dumps. Is there a gcc fix
available?

A loadobject was found with an unexpected checksum value.
See `help core mismatch' for details, and run `proc -map'
to see what checksum values were expected and found.
dbx: warning: Some symbolic information might be incorrect.
t@1 (l@1) terminated by signal ABRT (Abort)
0xffffffff7aadb3d8: __lwp_kill+0x0008:  bcc,a,pt  %icc,__lwp_kill+0x18  !
0xffffffff7aadb3e8
Current function is catch_sig_core
  455         abort();
(dbx) up
0xffffffff7aad7498: __sighndlr+0x000c:  call     %i3
(dbx) up
Current function is __gnu_cxx::__exchange_and_add
dbx: can't find file
"/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3-build/sparc-sun-solaris2.10/sparcv9/libstdc++-v3/include/sparc-sun-solaris2.10/bits/atomic_word.h"
-- see `help finding-files'
(dbx) up
Current function is TdrData::~TdrData
  217               if (__gnu_cxx::__exchange_and_add(&this->_M_refcount, -1)
<= 0)
(dbx)

Reply via email to