https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63617

            Bug ID: 63617
           Summary: Crash in libstdc++ on AIX.
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: adivilceanu at yahoo dot com

Hello,

We have a program "myapp" build with gcc 4.6.3 on AIX 6.1 Tl05.

At runtime the program crashed once very weird with the following stack:

pth_signal.pthread_kill(??, ??) at 0xd053c8d4
pth_signal._p_raise(??) at 0xd053bd64
raise.raise(??) at 0xd01209a0
abort.abort() at 0xd017c164
unnamed block in vterminate._ZN9__gnu_cxx27__verbose_terminate_handlerEv(),
line 95 in "vterminate.cc"
vterminate._ZN9__gnu_cxx27__verbose_terminate_handlerEv(), line 95 in
"vterminate.cc"
eh_terminate._ZN10__cxxabiv111__terminateEPFvvE(handler = ??), line 40 in
"eh_terminate.cc"
eh_terminate._ZSt9terminatev(), line 50 in "eh_terminate.cc"
unnamed block in
bitmap_allocator._ZN9__gnu_cxx8__detail13__mini_vectorISt4pairIPNS_16bitmap_allocatorIwE12_Alloc_blockES6_EE6insertEPS7_RKS7_(this
= @0x32d17f78, __pos = ??, __x = ??), line 116 in "bitmap_allocator.cc"
bitmap_allocator._ZN9__gnu_cxx8__detail13__mini_vectorISt4pairIPNS_16bitmap_allocatorIwE12_Alloc_blockES6_EE6insertEPS7_RKS7_(this
= @0x32d17f78, __pos = ??, __x = ??), line 116 in "bitmap_allocator.cc"
thread._ZN6Thread11mainFEPv(??) at 0xd114422c

The "Thread::mainF" is a thread routine that was passed to pthread_create.
We consider our code inside this method clean.

Please advise what kind of system call from our side could have generated this
stack. I mean we do not call directly any "bitmap_allocator".

Our program(myapp) has the following dependencies:
bash-4.2# ldd myapp
myapp needs:
         /usr/lib/threads/libc.a(shr.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /usr/mypath/libstdc++.a(libstdc++.so.6)
         /usr/mypath/libgcc_s.a(shr.o)
         /usr/lib/libiconv.a(shr4.o)
         /usr/lib/libpthread.a(shr_comm.o)
         /usr/lib/libqb.a(shr.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)
         /usr/lib/libpthreads_compat.a(shr.o)
         /usr/lib/libz.a(libz.so.1)
         /usr/lib/libpthreads.a(shr.o)
The libstdc++.a and libgcc_s.a are taken from the gcc 4.6.3 compiler.

Thank you !

Reply via email to