stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: Crash with using a std::vector
Date Wed, 07 Nov 2007 14:35:36 GMT
> -----Original Message-----
> From: Jeremy Dean [mailto:Jeremy.Dean@roguewave.com] 
> Sent: Wednesday, November 07, 2007 4:21 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Crash with using a std::vector
> 
> I have a customer that is getting the following core dump. It 
> apperas to be throwing an assertion in the reference 
> operator* () const function.
> Any thoughts as to what might be causing this error?
>  
> Platform:
> AIX 5.3
> xlC++ 8.0
> Multi Threaded Shared Release Library.
>  
> Core output as follows:
>  
> OT/Abort trap in pthread_kill at 0xd0128514 ($t5)
> 0xd0128514 (pthread_kill+0x88) 80410014         lwz   r2,0x14(r1)
> (dbx) where
> pthread_kill(??, ??) at 0xd0128514
> _p_raise(??) at 0xd0127fac
> raise.raise(??) at 0xd0353a98
> abort() at 0xd03b1c78
> __rw_assert_fail(const char*,const char*,int,const 
> char*)(expr = "_C_is_dereferenceable ()", file = 
> "/usr/opt/RogueWave/SourcePro/Ed9/include/rw/_iterbase.h",
> line = 428, func = (nil)), line 96 in "assert.cpp"
> SysTranIdMgr.operator*() const(0x31301d08), line 428 in "_iterbase.h"
> SysKosinLogStatMdlBroker.operator[](unsigned long)(0x31301d58, 0x8),
line 478 in "vector"

  It seems that index in operator[] is out of range.

Farid.

Mime
View raw message