[rganesan@myrealbox.com] libc/1632: towupper() segfaults after call to set locale

Andreas Jaeger aj@suse.de
Tue Mar 7 07:43:00 GMT 2000


Hi glibc folks,

We've received the appended bug report.  I can reproduce the problem
after clearing my environment from LANG and LC_ALL.

Here's an output from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x400c3ff5 in towupper (wc=65) at wcfuncs.c:97
97        return (wint_t) __ctype32_toupper[idx];
(gdb) p __ctype32_toupper 
$1 = (__int32_t *) 0x0

Btw. towlower works fine.

Andreas



More information about the Libc-alpha mailing list