Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442522 - boost::unordered_multimap<>::erase(iterator, iterator) broken in boost1.49-1.51
Summary: boost::unordered_multimap<>::erase(iterator, iterator) broken in boost1.49-1.51
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 23:14 UTC by Björn Michaelsen
Modified: 2016-10-22 12:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.