[Libreoffice] Debug compilation fails in sal module

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Jun 27 13:47:30 PDT 2011

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110627/3fd74d28/attachment.htm>

More information about the LibreOffice mailing list