Hide Forgot
Description of problem: A valid c++ program like this segfaults: #include <algorithm> int main() { double mm[] = {2, 2, 3, 2}; size_t ms = sizeof(mm) / sizeof(double); std::nth_element(mm, mm+1, mm+ms); } because nth_element is broken The bug has been reported and fixed upstream http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800 The same problem affects Fedora 20 and has been reported there as bug #1029217.
A lot of components of the Computational Geometry Algorithms Library (www.cgal.org) segfault because of that bug. The package CGAL-devel-4.2-1.fc19 is impacted. Ubuntu has released a patched version: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1246802 I do not know about other Linux distributions, so far.
Seems fixed in libstdc++-devel-4.8.2-7.fc19