RE:problem with gcc3.2.3 on AIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 

I'm running my application on AIX (compiled with gcc3.2.3) and get a
segmentation fault when delaring: 
typedef std::list<IObjectUpdateRequestInfo *> ObjectRequestStr;
ObjectRequestStr  mUpdateRequests;

in the creation of an ObjectInstance as line #2
It does not fail on the first ObjectInstance creation.

Here is the stack:

Program terminated with signal 11, Segmentation fault:
#0  0xd352f0f0 in
std::_List_base<com_cae::rti::IObjectUpdateRequestInfo*,std::allocator<com_c
ae::rti::IObjectUpdateRequestInfo*>>::_List_base(std::allocator<com_cae::rti
::IObjectUpdateRequestInfo*>const&) (this=0x202ba630, __a=@0x200517d0)at
/cae/3rdparty/include/c++/3.2.3/bits/stl_list.h:263
263             _M_node->_M_next = _M_node;
#1  0xd352b60c in
std::list<com_cae::rti::IObjectUpdateRequestInfo*,std::allocator<com_cae::rt
i::IObjectUpdateRequestInfo*>>::list(std::allocator<com_cae::rti::IObjectUpd
ateRequestInfo*> const&)(this=0x202ba630, __a=@0x200517d0)
    at /cae/3rdparty/include/c++/3.2.3/bits/stl_list.h:361
#2  0xd3523948 in
com_cae::rti::OM::ObjectInstance::ObjectInstance(com_cae::rti::OM::IObjectMg
r*, com_cae::msfx::guid, unsigned long const&, char const*)
(this=0x202ba608, iObjMgr=0x200bb4b0, iFederate={mID = {1098299153,215732,
11538, 174494465}}, iClass=@0x2005197c, iName=0x0)
    at /cae/cae1/ship/long/mrti/dev/src/OM/CaeRti_ObjectInstance.cxx:50
#3  0xd353b6c0 in
com_cae::rti::OM::ObjectMgr::registerObjectInstance(unsigned long, char
const*) (this=0x200bb428, iClass=41, iObjectName=0x0)
    at /cae/cae1/ship/long/mrti/dev/src/OM/CaeRti_ObjectMgr.cxx:466
#4  0xd353bc30 in
com_cae::rti::OM::ObjectMgr::registerObjectInstance(unsigned
long)(this=0x200bb428, iClass=41)
    at /cae/cae1/ship/long/mrti/dev/src/OM/CaeRti_ObjectMgr.cxx:484
#5  0xd353bd14 in
com_cae::rti::OM::ObjectMgr::registerObjectInstance(unsigned
long)(this=0x200bb49c, iClass=41)
    at /cae/cae1/ship/long/mrti/dev/src/OM/CaeRti_ObjectMgr.h:485
#6  0xd3869e60 in RTI::RTIambassador::registerObjectInstance(unsigned long)
(this=0x0, theClass=41)
    at
/cae/cae1/ship/long/mrti/dev/src/libCaeRti/CaeRti_RTIAmbassador.cxx:476
#7  0xd359e24c in
com_cae::rti::RtiAmbStatsWrapper::registerObjectInstance(unsigned
long)(this=0x200558b8, theClass=41)
    at
/cae/cae1/ship/long/mrti/dev/src/RtiStatistic/CaeRti_RtiAmbStatsWrapper.cxx:
519
#8  0x100118ac in
com_cae::rti::Object::Object(com_cae::rti::RtiAmbStatsWrapper*,
int)(this=0x202ba5e8, iRti=0x200558b8, iMaxClsHandle=48)
    at /cae/cae1/ship/long/mrti/dev/src/SimpleFederate/CaeRti_Object.cxx:39
#9  0x10003438 in startSimpleFederate(void*) (iArg=0x2ff22728)
    at
/cae/cae1/ship/long/mrti/dev/src/SimpleFederate/CaeRti_SimpleFederate.cxx:65
2
#10 0xd35f1d88 in com_cae::msfx::CCallback(void*) (iParam=0x20034df8)
    at /cae/cae1/ship/long/mrti/dev/src/SfxPort/msfx_Thread.cxx:81
#11 0xd00080cc in _pthread_body () from /usr/lib/libpthreads.a(shr_xpg5.o)


Any ideas?

Thanks & regards

Long

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux