$ cat t.cpp ; gcc -g t.cpp && ./a.out ; echo bt | gdb -q ./a.out core #include <locale.h> #include <wchar.h> int main () { const wchar_t s1[] = { 0xcc, 0x2a, 0x2f, 0xb, 0x6a, 0x64, 0x71, 0x9f, 0x19, 0xcb, 0xce, 0xf9, 0xda, 0x59, 0xef, 0x0 }; const wchar_t s2[] = { 0xcc, 0x2a, 0x2f, 0xb, 0x6a, 0x64, 0x71, 0x8d, 0x6c, 0x63, 0x5f, 0x9a, 0x38, 0x55, 0x3c, 0x0 }; if (!setlocale (LC_COLLATE, "hr_HR.utf8")) return 1; wcscoll (s1, s2); } Segmentation fault (core dumped) Core was generated by `./a.out'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.6.1...done. Loaded symbols for /lib/libc.so.6.1 Reading symbols from /lib/ld-linux-ia64.so.2...done. Loaded symbols for /lib/ld-linux-ia64.so.2 #0 wcscoll () at ../locale/weightwc.h:44 44 ../locale/weightwc.h: No such file or directory. in ../locale/weightwc.h (gdb) Hangup detected on fd 0 error detected on stdin
Ulrich Drepper fixed this yesterday in glibc CVS, the fix will appear in glibc-2.2.4-3.
Red Hat Linux and Red Hat Powertools are currently no longer supported by Red Hat, Inc. In an effort to clean up bugzilla, we are closing all bugs in MODIFIED state for these products. However, we do want to make sure that nothing important slips through the cracks. If, in fact, these issues are not resolved in a current Fedora Core Release (such as Fedora Core 5), please open a new issues stating so. Thanks.