Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello Julien,


Error: File /home/maryline/compile-**libreoffice/libo/clone/ure/**
sal/cpprt/operators_new_**delete.cxx, Line 96: operator delete mismatch
/usr/include/c++/4.6/debug/**safe_iterator.h:193:error: attempt to
    dereference a past-the-end iterator.

Objects involved in the operation:
iterator "this" @ 0x0xbe966380 {
type = N11__gnu_debug14_Safe_**iteratorIN9__gnu_cxx17__**
normal_iteratorIPSsNSt9__**cxx19986vectorISsN3rtl9Allocat**
orISsEEEEEENSt7__**debug6vectorISsS8_EEEE (mutable iterator);
  state = past-the-end;
  references sequence with type `NSt7__**debug6vectorISsN3rtl9Allocator**ISsEEEE'
@ 0x0xbe966380
}


this helps a lot. We had a similar situation some days ago. When built with
debug symbols some additional checks are performed to ensure that iterators
are not missused. So it would be a good step if you could debug the unit
test and as soon as you get a SIG ABORT get a backtrace and post it here or
fix the problem. I think that we derefence vector::end() or something like
this.

http://wiki.documentfoundation.org/Development/How_to_debug#Debugging_cppunit_tests

Regards,
Markus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.