[arch-general] ldconfig -> Aborted.

C Anthony Risinger anthony at xtfx.me
Wed Dec 14 07:01:37 EST 2011


On Wed, Dec 14, 2011 at 5:46 AM, C Anthony Risinger <anthony at xtfx.me> wrote:
>
> any ideas?  i can't find anything out of place, or any significant
> differences, and i'm not sure what to try next -- nothing unusual in
> dmesg or logs, on the VMs or the host.  host is completely current as
> of Dec 14 00:00 CST.  reduce strace follows, limited to files and
> signals.

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


More information about the arch-general mailing list