Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2004-08-27 04:47:07


Hi

On Tue, Aug 17, 2004 at 09:56:21PM -0700, Victor A. Wagner Jr. wrote:
> At Tuesday 2004-08-17 13:29, you wrote:
> >Hi,
> >
> >
> >
> >On Tue, Aug 17, 2004 at 12:56:22PM -0700, Victor A. Wagner Jr. wrote:
 
> Sure..... from the file <list> line 278 on my system
>
> #if _HAS_ITERATOR_DEBUGGING
> void _Compat(const const_iterator& _Right) const
> { // test for compatible iterator pair
> if (_Mycont == 0 || _Mycont != _Right._Mycont)
> {
> _DEBUG_ERROR("list iterators incompatible");
> _SCL_SECURE_INVALID_ARGUMENT;
> }
> }
>
> Looking at the variables _Mycont == 0 for both *this and _Right
> I believe that means an empty list, though I didn't investigate further...
> running UP the call stack we find:
>
> _SCL_SECURE_VALIDATE(_Mycont != NULL && _Mycont == _Right._Mycont);
> g:\program files\microsoft visual studio 8\vc\include\list:262
>
> if (_First == begin() && _Last == end())
> g:\program files\microsoft visual studio 8\vc\include\list:740
>
> return Input.erase( From, To );
> c:\boost\include\boost-_32\boost\algorithm\string\detail\sequence.hpp:56
>
> erase( Input, InsertIt, end(Input) );
> c:\boost\include\boost-1_32\boost\algorithm\string\detail\find_format_all.hpp:247
>
> find_format_all_impl2(
> Input,
> Finder,
> Formatter,
> FindResult,
> Formatter(FindResult) );
> c:\boost\include\boost-1_32\boost\algorithm\string\detail\find_format_all.hpp:177-182
>
> Finder(begin(Input), end(Input)));
> c:\boost\include\boost-1_32\boost\algorithm\string\find_format.hpp:248
>
> const_formatter(Format) );
> c:\boost\include\boost-1_32\boost\algorithm\string\replace.hpp:647
>
> TEST_ALGO( replace_all, "", string("") C_ string("XXXX"), string("") );
> c:\Projects\boost\libs\algorithm\string\test\replace_test.cpp:127
>
> =================================================
> hope that helps

It seems, that I have fixed this error, but there is another one. Regression tests fails with
similar reason, but on a different place.

Could you try it out and give me the stack. It would help a lot.

Thanks,

Pavol.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk