This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5443] SIGSEGV occurs in strerror_r()
- From: "ryo at np dot css dot fujitsu dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Dec 2007 04:28:45 -0000
- Subject: [Bug libc/5443] SIGSEGV occurs in strerror_r()
- References: <20071204014146.5443.ryo@np.css.fujitsu.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ryo at np dot css dot fujitsu dot com 2007-12-28 04:28 -------
Created an attachment (id=2163)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2163&action=view)
patch to fix this problem
I propose a following patch.
This patch adds lock between _dcigettext() and setlocale() using lock variables
__libc_setlocale_lock . So _dcigettext() and setlocale() runs excluisively,
and avoid segmentation fault.
I comfirmed that problem is resolved with this patch.
best regards,
Ryo Hirukawa
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5443
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.