[cmake-developers] [CMake 0013156]: getenv() is not thread safe, leads to segfault

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 20 10:51:19 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13156 
====================================================================== 
Reported By:                Orion Poplawski
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13156
Category:                   QtDialog
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-20 10:51 EDT
Last Modified:              2012-04-20 10:51 EDT
====================================================================== 
Summary:                    getenv() is not thread safe, leads to segfault
Description: 
See the following Fedora bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=814235

The upshot is that getenv()/setenv() are not thread safe and care must be taken
not to call them in multiple threads.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-20 10:51 Orion PoplawskiNew Issue                                    
======================================================================




More information about the cmake-developers mailing list