﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
292	setlocale may not be SMP safe	Steven Levine		"This issue was encountered for

http://mantis.smedley.id.au/view.php?id=611

which includes exceptq .trp files that imply that the locale impelementation may not be SMP safe.  Locale updates are SMP safe because they are serialized.  However, accesses to global locale data such as is done at:

_output.c:827
  zdot[1] = !__libc_gLocaleLconv.s.decimal_point[0];

are not serialized.  It seems that there is a small window in localeCommit between the time localeNumericFree() is invoked and !__libc_gLocaleLconv.s.decimal_point is set where the pointer is NULL and an access by some other CPU will result in an exception.

"	defect	closed	normal	libc-0.6.6	libc	0.6.5	normal	fixed	smp	
