Our program got an exception and abort when compiled and run on RHEL 4.6 with
gcc 4.5.1. It got this mysterious stack trace. It seems to occur due to
_Unwind_Resume doing something odd here.  
This code works with the gcc4.2.2 compiler.

#0  0x0000002a9890725d in raise () from /lib64/tls/libc.so.6
#1  0x0000002a98908a5e in abort () from /lib64/tls/libc.so.6
#2  0x0000002a987d4c6a in _Unwind_Resume () from /lib64/libgcc_s.so.1
#3  0x0000002a95941edd in Fw::CE::Variant::operator QList<Fw::CE::Variant> (
    this=0x2a95b853e0) at variant.cpp:2477
#4  0x0000002a9f49e8a0 in layout::oasisSaveOptions::parseVarList (var=...,
    a_compre...@0x7fbfff8a7c, a_compa...@0x7fbfff8a77,
    a_modalv...@0x7fbfff8a76, errString=...) at oasisSaveOptions.cpp:184
#5  0x0000002a9f49de5a in layout::oasisSaveOptions::toVariant (this=0xfb9f80,
    a_Var=...) at oasisSaveOptions.cpp:54
#6  0x0000002a9588f82c in defaultInfo (this=0xfb63e0, val=..., con=0xfb9f80,
    publicDefault=true, module=0x0) at default.h:116
#7  0x0000002a9588ee9c in Fw::Core::DefaultsManager::registerDefault (
    name=..., converter=0xfb9f80, overwrite=true, value=..., isPublic=true,
    module=0x0) at default.cpp:45
#8  0x0000002a9f3bf8c7 in layout::layoutModule::onLoad (this=0xd5c960)
    at layoutModule.cpp:3799
#9  0x0000002a958a0207 in Fw::Core::Framework::registerModule (this=0xaab1a0,
    module=0xd5c960) at framework.cpp:688
#10 0x0000002a9589ffd4 in Fw::Core::Framework::loadModule (this=0xaab1a0,
    path=...) at framework.cpp:640
#11 0x00000000004182e6 in icwbevApp::init (this=0x7fbfffe870) at main.cpp:305
#12 0x0000000000418e4d in icwbevGUIApp::init (this=0x7fbfffe830)
    at main.cpp:531
#13 0x00000000004190d3 in icwbevGUIApp::createQApplication (this=0x7fbfffe830)
    at main.cpp:597
#14 0x0000002a9753a7cb in TqApplication::exec() ()
#15 0x0000000000416fbe in main (argc=1, argv=0x7fbfffe9f8) at main.cpp:714

Even if we use the libgcc_s.so.1 that comes with the gcc 4.5.1, the program
gets the same abort.
Please provide some advices to this problem.

Gcc-4.5.1 was built on RHEL 4.6 O.S with the following configure switches:
Configured with: ../../src/gcc-4.5.1/configure
--enable-bootstrap --enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions
--enable-languages=c,c++,fortran --disable-libgcj --with-cpu=generic
Thread model: posix


           Summary: program abort after compiled with gcc-4.5.1
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wung at synopsys dot com
 GCC build triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


Reply via email to