public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15607] New: Add threadsafe version of getenv()
@ 2013-06-12 14:45 hadess at hadess dot net
  2013-06-12 14:55 ` [Bug libc/15607] " ondra at iuuk dot mff.cuni.cz
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: hadess at hadess dot net @ 2013-06-12 14:45 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15607

            Bug ID: 15607
           Summary: Add threadsafe version of getenv()
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hadess at hadess dot net
                CC: drepper.fsp at gmail dot com

gnome-settings-daemon is a daemon running in a GNOME session to apply stored
settings (such as the user's preferred locale) to the running session and its
own children (such as applications launched using the media-keys).

We started hitting SEGVs somewhat randomly recently:
https://bugzilla.gnome.org/show_bug.cgi?id=701322

which are caused by races between getenv() (as used by the glibc's gettext
implementation) and setenv() (called by gnome-settings-daemon to change its own
environment).

Having getenv_r()/setenv_r() would avoid this problem and make our
implementation more straight-forward and cleaner.

[1]: https://bug701322.bugzilla-attachments.gnome.org/attachment.cgi?id=245695

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-01-16 16:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-12 14:45 [Bug libc/15607] New: Add threadsafe version of getenv() hadess at hadess dot net
2013-06-12 14:55 ` [Bug libc/15607] " ondra at iuuk dot mff.cuni.cz
2013-06-12 14:58 ` jakub at redhat dot com
2013-06-12 15:06 ` hadess at hadess dot net
2013-06-12 18:34 ` bugdal at aerifal dot cx
2013-06-13  8:06 ` hadess at hadess dot net
2013-06-13  9:06 ` hadess at hadess dot net
2013-10-14 18:51 ` neleai at seznam dot cz
2014-02-16 19:42 ` jackie.rosen at hushmail dot com
2014-05-28 19:41 ` schwab at sourceware dot org
2014-06-13 15:08 ` fweimer at redhat dot com
2014-06-13 15:08 ` fweimer at redhat dot com
2015-05-14  1:22 ` walters at verbum dot org
2015-07-11 20:51 ` neleai at seznam dot cz
2021-12-29 16:43 ` crrodriguez at opensuse dot org
2024-01-16 16:20 ` jwakely.gcc at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).