https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239520
Baggio Kwok <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Baggio Kwok <[email protected]> --- Looks like the following atomic operation is not working as expected when manipulating the reference count. /usr/src/lib/libc/locale/xlocale_private.h:183 177 __attribute__((unused)) static void 178 xlocale_release(void *val) 179 { 180 struct xlocale_refcounted *obj = val; 181 long count; 182 183 count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1; 184 if (count < 0 && obj->destructor != NULL) 185 obj->destructor(obj); 186 } -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
