To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107887 Issue #|107887 Summary|[STL] xmloff: error: attempt to copy-construct an iter |ator from a singular iterator. Component|xml Version|DEV300m67 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mba Reported by|dtardon
------- Additional comments from dtar...@openoffice.org Fri Dec 25 09:45:47 +0000 2009 ------- I've built oo.o with libstdc++ in debug mode. When saving a presentation containing a picture oo.o crashed with the following message: /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/debug/safe_iterator.h:126: error: attempt to copy-construct an iterator from a singular iterator. Objects involved in the operation: iterator "this" @ 0x0xbf9ea698 { type = N11__gnu_debug14_Safe_iteratorISt17_Rb_tree_iteratorISt4pairIKN3com3sun4star3uno9ReferenceINS5_7drawing7XShapesEEENSt7__debug6vectorI22ImplXMLShapeExportInfoSaISE_EEEEENSC_3mapISA_SG_St4lessISA_ESaISH_EEEEE (mutable iterator); state = singular; } iterator "other" @ 0x0xaa0b33c0 { type = N11__gnu_debug14_Safe_iteratorISt17_Rb_tree_iteratorISt4pairIKN3com3sun4star3uno9ReferenceINS5_7drawing7XShapesEEENSt7__debug6vectorI22ImplXMLShapeExportInfoSaISE_EEEEENSC_3mapISA_SG_St4lessISA_ESaISH_EEEEE (mutable iterator); state = singular; } /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/debug/safe_iterator.h:126: error: attempt to copy-construct an iterator from a singular iterator. Objects involved in the operation: iterator "this" @ 0x0xbf9e7df8 { type = N11__gnu_debug14_Safe_iteratorISt17_Rb_tree_iteratorISt4pairIKN3com3sun4star3uno9ReferenceINS5_7drawing7XShapesEEENSt7__debug6vectorI22ImplXMLShapeExportInfoSaISE_EEEEENSC_3mapISA_SG_St4lessISA_ESaISH_EEEEE (mutable iterator); state = singular; } iterator "other" @ 0x0xaa16c2c4 { type = N11__gnu_debug14_Safe_iteratorISt17_Rb_tree_iteratorISt4pairIKN3com3sun4star3uno9ReferenceINS5_7drawing7XShapesEEENSt7__debug6vectorI22ImplXMLShapeExportInfoSaISE_EEEEENSC_3mapISA_SG_St4lessISA_ESaISH_EEEEE (mutable iterator); state = singular; } Attached is a patch initializing maCurrentShapesIter so this crash is avoided. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@xml.openoffice.org For additional commands, e-mail: issues-h...@xml.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org