Bugs item #1598536, was opened at 2006-11-17 19:17
Message generated for change (Comment added) made by dums
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1598536&group_id=146814
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Operational Environment/Compiler specific code
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Superlexx (superlexx)
Assigned to: Nobody/Anonymous (nobody)
Summary: mvctor test fails on ARM
Initial Comment:
compiler: Microsoft VC8
processor: Intel ARM920T-PXA27x
OS: WinCE 5.0, custom SDK
STLPort: v5.1.0 RC3 and v5.0.2
mvctor_test causes access violation (see details) if debug informations are disabled (v5.1.0 RC3 only), c++ optimisation set to "maximize speed" and whole program optimisation enabled ("enable link-time code generation").
by the way, mvctor_test causes an internal compiler error when compiled with eVC3, so I can't check if it's rather an ARM compiler bug (it's MIPS = eVC3 and ARM = eVC4/VC8 here).
Due to the aggresive optimization setting which is required to reproduce this, it's not a real problem for us, but I thought I should share this experience here.
details:
output window:
Data Abort: Thread=80209568 Proc=801a7330 'WinCE.exe'
AKY=00002001 PC=00051c58(WinCE.exe+0x00041c58) RA=00000000(???+0x00000000) BVA=1c000000 FSR=00000007
Unhandled exception at 0x00051c58 in WinCE.exe: 0xC0000005: Access violation reading location 0x00000000.
Stack:
WinCE.exe!stlp_std::hashtable<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> >,stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> >,stlp_std::hash<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > >,stlp_std::priv::_UnorderedMultisetTraitsT<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > >,stlp_std::priv::_Identity<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > >,stlp_std::equal_to<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > >,stlp_std::allocator<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > > >::erase(stlp_std::priv::_Ht_iterator<stlp_std::priv::_Slist_iterator<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> >,stlp_std::_Nonconst_traits<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > > >,stlp_std::priv::_ConstNonLocalUnorderedMultisetTraitsT<stlp_std::basic_string<char,stlp_std::char_traits<char>,stlp_std::allocator<char> > > >* __it = 0x001c45d0) Line: 311, Byte Offsets: 0xf4 C++
WinCE.exe!MoveConstructorTest::vector_test(void) Line: 815, Byte Offsets: 0x23a4 C++
WinCE.exe!MoveConstructorTest::myRun(const char* in_name = 0x001c45d0, bool invert = false) Line: 44, Byte Offsets: 0x134 C++
----------------------------------------------------------------------
>Comment By: Francois Dumont (dums)
Date: 2007-01-28 12:27
Message:
Logged In: YES
user_id=1096600
Originator: NO
Compiler specific bug, ARM port is known to have several issue. Use some
#pragma to disable optimization when necessary.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1598536&group_id=146814
|