mpfr is not compiled with --enable-thread-safe, and so crashes multi-threaded programs

Bug #730431 reported by Ido Tal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mpfr4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Please compile MPFR with --enable-thread-safe during ./configure. Thread safety is not turned on by default, since MPFR supports multiple platforms, and some can't handle threads properly. If this is not done, then MPFR's cache variables are shared between threads, leading to a crash (see Section 4.7, Memory Handling, in the MPFR documentation).

Technically, this is not a bug. But please do this, since it will save the next poor soul many frustrating hours debugging their code...

Revision history for this message
Matthias Klose (doko) wrote :

this is enabled upstream; works in 14.04 LTS and later releases

Changed in mpfr4 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.