locale-gen + segfault while generating LC_TIME
Hello,
I have problems re-generating locales. I started `dpkg-reconfigure locales`,
choose the locales I wanted to generate, choose 'leave alone' in the configuring
locales dialog box, and since then I am hooked up with a segmentation fault on
generating the new locales.
I am running woody with kernel 2.4.19. The kernel supports nls_iso8859-1,
nls_iso8859-15 and nls_cp437. The following locales have to be generated:
en_US.ISO-8859-1, nl_NL.ISO-8859-1, nl_NL.ISO-8859-15 but I am really happy if
only the nl_NL.ISO-8859-15 succeeds! The same system with kernel 2.4.18 fails
aswell.
The following errors occured on my screen:
host:~# locale-gen
Generating locales...
EN_us.iSO-8859-1.../usr/sbin/locale-gen: line 22: 20480 Segmentation fault
localedef -i $input -c -f $charset $locale
done
nl_NL.ISO-8859-1.../usr/sbin/locale-gen: line 22: 20488 Segmentation fault
localedef -i $input -c -f $charset $locale
done
nl_NL.ISO-8859-15@euro.../usr/sbin/locale-gen: line 22: 20496 Segmentation
fault localedef -i $input -c -f $charset $locale
done
Generation complete.
host:~# localedef -c -i nl_NL@euro -f ISO-8859-15 nl_NL@euro
Segmentation fault
And a part of the strace:
lstat64("/usr/lib/locale/nl_NL@euro/LC_TIME", {st_mode=S_IFREG|0644,
st_size=2369, ...}) = 0
lstat64("/usr/lib/locale/en_US/LC_TIME", {st_mode=S_IFREG|0644, st_size=2456,
...}) = 0
lstat64("/usr/lib/locale/nl_NL/LC_TIME", {st_mode=S_IFREG|0644, st_size=2368,
...}) = 0
lstat64("/usr/lib/locale/nl_NL@euro/LC_TIME", {st_mode=S_IFREG|0644,
st_size=2369, ...}) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
The full strace is available at http://www.fraggles.nl/strace.log. Since it does
not generate LC_TIME I am sure it segfaults on generating LC_TIME. I have not
found a solution so far and am wondering if someone else solved this problem
in the past or knows howto solve it.
I already tried removing/purging locales (including the generated files
{/etc/locale.alias,locale.gen) and reinstalling libc6 _and_ locales. I also saw
a posting from another person, but nobody replied on his posting.
Hope someone can help me out.
With kind regards, Siert
Reply to: