Error in debug mode svl/source/notify/broadcast.cxx

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Dec 23 14:49:01 PST 2013


Hey,


On Sun, Dec 22, 2013 at 8:04 PM, Arnaud Versini <arnaud.versini at gmail.com>wrote:

> Hi
>
> I got an error in LibreOffce debug build, seems due to your commits :
>
>     error: attempt to increment a singular iterator.
>
> Objects involved in the operation:
> iterator "this" @ 0x0x7fffffff2e90 {
> type =
> N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPP11SvtListenerNSt9__cxx19986vectorIS4_SaIS4_EEEEENSt7__debug6vectorIS4_S8_EEEE
> (mutable iterator);
>   state = singular;
>   references sequence with type
> `NSt7__debug6vectorIP11SvtListenerSaIS2_EEE' @ 0x0x7fffffff2e90
>
>
> Sorry I'm unable to understand why,, code seems ok for me, but the
> backtraceindicates this location
>
> #4  0x00002aaab50a352f in SvtBroadcaster::Broadcast (this=0x1def9e8,
> rHint=...) at
> /home/arnaud/libreoffice/src/svl/source/notify/broadcast.cxx:127
> #5  0x00002aaab023fa33 in ScBroadcastAreaSlot::AreaBroadcast
> (this=0x1def7f0, rHint=...) at
> /home/arnaud/libreoffice/src/sc/source/core/data/bcaslot.cxx:276
> #6  0x00002aaab02419be in ScBroadcastAreaSlotMachine::AreaBroadcast
> (this=0x1d91d20, rHint=...) at
> /home/arnaud/libreoffice/src/sc/source/core/data/bcaslot.cxx:677
>
> Reverting c8b624329caed68550fcb1fe197c8fa8107d079b and
> df9883411a5423793ad411ac05d7a28c355209aa seems to resolve the bug for now.
>
> Don't hesitate to ask something if you need more information :-)
>
>
>
I was hit by it as well and after some debugging (this code is really,
really nasty) I finally found the problem. Should be fixed now with
http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf1812806056349fd32785e1fa7ba7595c8c66fa

Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131223/cf804b03/attachment.html>


More information about the LibreOffice mailing list