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

Arnaud Versini arnaud.versini at gmail.com
Sun Dec 22 11:04:16 PST 2013


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 :-)


-- 
Arnaud Versini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131222/ea9b1ad3/attachment.html>


More information about the LibreOffice mailing list