OS-7784

lx ubuntu 18.04 ldconfig gets early SIGSEGV

Status:
Open
Created:
2019-05-03T11:35:38.485-0400
Updated:
2020-11-26T01:15:11.765-0500

Description

With current (20190501) smartos bits, ubuntu 18.04 lx instances are unable to perform basic operations like "apt update" because ldconfig.real hits:

root@c9085fb1-364f-4186-c007-d416b630a59a:~# ldconfig.real
Segmentation fault (core dumped)
root@c9085fb1-364f-4186-c007-d416b630a59a:~# /native/usr/bin/mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> ::status
debugging core file of ldconfig.real (64-bit) from c9085fb1-364f-4186-c007-d416b630a59a
file: /sbin/ldconfig.real
initial argv: ldconfig.real
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=818
> $C
0000000000000068 0x7fffef062aed()
> 0x7fffef062aed::dis
0x7fffef062aed:                 movups %xmm0,(%rdi)
0x7fffef062af0:                 movups %xmm1,0x10(%rdi)
0x7fffef062af4:                 movups %xmm2,-0x10(%rdi,%rdx)
0x7fffef062af9:                 movups %xmm3,-0x20(%rdi,%rdx)
0x7fffef062afe:                 ret
0x7fffef062aff:                 cmpq   %rsi,%rdi
0x7fffef062b02:                 ja     +0x8c    <0x7fffef062b94>
0x7fffef062b08:                 je     -0xd8    <0x7fffef062a36>
0x7fffef062b0e:                 movups (%rsi),%xmm4
0x7fffef062b11:                 movups -0x10(%rsi,%rdx),%xmm5
0x7fffef062b16:                 movups -0x20(%rsi,%rdx),%xmm6
>

This is happening quite early - a printf added as the first thing in main() crashes in the same way.