This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5443] SIGSEGV occurs in strerror_r()


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]