Reopening, finally found the root cause of this it seems and LibreOffice is not really innocent. At:
http://opengrok.libreoffice.org/xref/core/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx#229 we are generating an equal_range on an unsorted container, just to delete those in the next line. As erasing elements from that container invalidates iterators that is clearly illegal and one has to wonder how that ever worked at all. Replacing line 229-230 with "mpLinks->erase(pWindow)" is not only simpler, cleaner and easier to read, it might actually be legal. There are some other abuses in that file that need a close look too. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1017125 Title: boost::unordered_multimap<>::erase(iterator, iterator) broken on quantal Status in LibreOffice Productivity Suite: Won't Fix Status in “boost1.49” package in Ubuntu: Confirmed Status in “gcc-4.7” package in Ubuntu: New Status in “libreoffice” package in Ubuntu: In Progress Bug description: subsequentcheck sometimes crashes in xmloff.Impress.XMLContentImporter::com::sun::star::document::XImporter Testcode: http://opengrok.libreoffice.org/xref/core/qadevOOo/tests/java/ifc/document/_XImporter.java against service: http://opengrok.libreoffice.org/xref/core/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java steps to reproduce: cd xmloff echo "-o xmloff.Impress.XMLContentImporter" > qa/unoapi/xmloff.sce echo > qa/unoapi/knownissues.xcl << EOF xmloff.Impress.XMLContentImporter::com::sun::star::lang::XInitialization xmloff.Impress.XMLContentImporter::com::sun::star::document::XFilter xmloff.Impress.XMLContentImporter::com::sun::star::container::XNamed EOF R=T; while test "$R" = "T"; do make subsequentcheck || R=F; done expected result: test passes without a crash actual result: crash To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1017125/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

