Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 442522

Summary: boost::unordered_multimap<>::erase(iterator, iterator) broken in boost1.49-1.51
Product: Gentoo Linux Reporter: Björn Michaelsen <bjoern.michaelsen>
Component: New packagesAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1017125
See Also: https://launchpad.net/bugs/1017125
Whiteboard:
Package list:
Runtime testing required: ---

Description Björn Michaelsen 2012-11-09 23:14:14 UTC
boost::unordered_multimap<>::erase(iterator, iterator) broken in boost1.49-1.51 causing spurious segfaults in applications using it including LibreOffice



Reproducible: Always

Steps to Reproduce:
compile and run https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1017125/+attachment/3271642/+files/lp1017125.cxx
Actual Results:  
crash

Expected Results:  
no crash
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-10 03:33:40 UTC
Lovely.

Well, 1.52 is in ~arch right now ... but it'll take a while to get this in stable I'm afraid. Is there a patch?
Comment 2 Björn Michaelsen 2012-11-10 10:30:03 UTC
For 1.49:
https://svn.boost.org/trac/boost/attachment/ticket/7618/boost-1.49-fixes.patch

as applied on Ubuntu:

http://launchpadlibrarian.net/122403924/boost1.49_1.49.0-3.1ubuntu3_1.49.0-3.1ubuntu4.diff.gz

I havent tried yet to apply that to 1.50/1.51
Comment 3 David Seifert gentoo-dev 2016-10-22 12:38:58 UTC
oldest boost in tree is 1.55. Test code works for me.