[arch-general] ldconfig -> Aborted.

Leonid Isaev lisaev at umail.iu.edu
Wed Dec 14 11:56:21 EST 2011


On Wed, 14 Dec 2011 06:01:37 -0600
C Anthony Risinger <anthony at xtfx.me> wrote:

> On Wed, Dec 14, 2011 at 5:46 AM, C Anthony Risinger <anthony at xtfx.me> wrote:
> 
> at the last second i looked at the locale-gen stuff again, the trace
> shows mmap() failing with EINVAL:
> 
> # strace -ff -s256 -etrace=mmap localedef -i en_US -c -f ISO-8859-1 -A
> /usr/share/locale/locale.alias en_US
> 
> ......
> mmap(NULL, 536870912, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x7fb3aac63000
> mmap(0x7fb3aac63000, 103860, PROT_READ|PROT_WRITE,
> MAP_SHARED|MAP_FIXED, 3, 0) = -1 EINVAL (Invalid argument)
> cannot map archive header: Invalid argument
> 
> ... i'm thinking it's probably related to 9p2000.L passthru at this
> point (ehm, under KVM if i didn't already mention it), but if anyone
> has some additional input, or better debug commands (eg. strace) that
> would be awesome.  ldconfig does *not* fail with any errors at all, or
> trigger any whatsoever (other than ENOENT for missing files/etc).
> 
> i might have created one of these from scratch on 9p2000.L, but i
> think they were all rsync'ed from existing installs on LVM partitions
> (as i was conviting my setup to use passthru for many benefits) ...
> it's possible this is the first time glibc/locale-gen has been ran
> since the conversion.
> 
> --
> 
> C Anthony

Erm, have you actually tried to run ldconfig -v?

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20111214/7a0cc25a/attachment.asc>


More information about the arch-general mailing list