Re: ldconfig -> Aborted.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 14 Dec 2011 06:01:37 -0600
C Anthony Risinger <anthony@xxxxxxx> wrote:

> On Wed, Dec 14, 2011 at 5:46 AM, C Anthony Risinger <anthony@xxxxxxx> 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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux