podman: BUG: podman-remote-static crash in ubuntu 20.04 (wsl)

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

WSL~Ubuntu-20.04> reini@wsl:~/Downloads$ tar -xzvf podman-remote-static.tar.gz
podman-remote-static

WSL~Ubuntu-20.04> reini@wsl:~/Downloads$ ./podman-remote-static --version
podman-remote-static: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
SIGABRT: abort
PC=0xf2568b m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0xf07460, 0xc00069f4d8)
        /usr/lib/golang/src/runtime/cgocall.go:157 +0x5c fp=0xc00069f4b0 sp=0xc00069f478 pc=0x4059dc
os/user._Cfunc_mygetpwnam_r(0xc0005ab940, 0xc00059ed50, 0x396fd00, 0x400, 0xc0005ac288)
        _cgo_gotypes.go:158 +0x4c fp=0xc00069f4d8 sp=0xc00069f4b0 pc=0x72bb6c
os/user.lookupUser.func1.1({0xc0005ab940, 0xc0004bf4f0?, 0x0?}, 0x1c06480?, 0xc00069f580?, 0x40f927?)
        /usr/lib/golang/src/os/user/cgo_lookup_unix.go:69 +0xbb fp=0xc00069f538 sp=0xc00069f4d8 pc=0x72c45b
os/user.lookupUser.func1()
        /usr/lib/golang/src/os/user/cgo_lookup_unix.go:69 +0x31 fp=0xc00069f578 sp=0xc00069f538 pc=0x72c371
os/user.retryWithBuffer(0xc0004bf4f0, 0xc00069f668)
        /usr/lib/golang/src/os/user/cgo_lookup_unix.go:244 +0x39 fp=0xc00069f5c0 sp=0xc00069f578 pc=0x72d559
os/user.lookupUser({0x1246b60, 0x7})
        /usr/lib/golang/src/os/user/cgo_lookup_unix.go:60 +0x165 fp=0xc00069f6b8 sp=0xc00069f5c0 pc=0x72c145
os/user.Lookup({0x1246b60, 0x7})
        /usr/lib/golang/src/os/user/lookup.go:36 +0x91 fp=0xc00069f6f8 sp=0xc00069f6b8 pc=0x72b711
github.com/containers/storage/pkg/chrootarchive.init.0()
        /home/lsm5/go/src/github.com/containers/podman/vendor/github.com/containers/storage/pkg/chrootarchive/archive.go:23 +0x25 fp=0xc00069f730 sp=0xc00069f6f8 pc=0xa10885
runtime.doInit(0x1bab2e0)
        /usr/lib/golang/src/runtime/proc.go:6222 +0x126 fp=0xc00069f860 sp=0xc00069f730 pc=0x446aa6
runtime.doInit(0x1bac4e0)
        /usr/lib/golang/src/runtime/proc.go:6199 +0x71 fp=0xc00069f990 sp=0xc00069f860 pc=0x4469f1
runtime.doInit(0x1bb08a0)
        /usr/lib/golang/src/runtime/proc.go:6199 +0x71 fp=0xc00069fac0 sp=0xc00069f990 pc=0x4469f1
runtime.doInit(0x1ba9060)
        /usr/lib/golang/src/runtime/proc.go:6199 +0x71 fp=0xc00069fbf0 sp=0xc00069fac0 pc=0x4469f1
runtime.doInit(0x1baa960)
        /usr/lib/golang/src/runtime/proc.go:6199 +0x71 fp=0xc00069fd20 sp=0xc00069fbf0 pc=0x4469f1
runtime.doInit(0x1bad200)
        /usr/lib/golang/src/runtime/proc.go:6199 +0x71 fp=0xc00069fe50 sp=0xc00069fd20 pc=0x4469f1
runtime.doInit(0x1bb1820)
        /usr/lib/golang/src/runtime/proc.go:6199 +0x71 fp=0xc00069ff80 sp=0xc00069fe50 pc=0x4469f1
runtime.main()
        /usr/lib/golang/src/runtime/proc.go:233 +0x1d3 fp=0xc00069ffe0 sp=0xc00069ff80 pc=0x439a53
runtime.goexit()
        /usr/lib/golang/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00069ffe8 sp=0xc00069ffe0 pc=0x4682a1

rax    0x0
rbx    0xafe
rcx    0xf2568b
rdx    0x6
rdi    0xafe
rsi    0xafe
rbp    0x6
rsp    0x7fff24bf3a70
r8     0x39703d0
r9     0x0
r10    0x8
r11    0x246
r12    0x146a94a
r13    0x25
r14    0x145a7b3
r15    0x3972370
rip    0xf2568b
rflags 0x246
cs     0x33
fs     0x0
gs     0x0

old version works fine

WSL~Ubuntu-20.04> reini@wsl:~/Downloads$ tar -xzvf podman-remote-static-3.4.4.tar.gz
podman-remote-static

WSL~Ubuntu-20.04> reini@wsl:~/Downloads$ ./podman-remote-static --version
podman-remote-static version 3.4.4

Steps to reproduce the issue:

  1. download https://github.com/containers/podman/releases/download/v4.0.2/podman-remote-static.tar.gz

  2. un-tar it

  3. run it

Describe the results you received:

crash, see above

Describe the results you expected:

don’t crash, show version

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

not possible, see above but should be 4.0.2

Output of podman info --debug:

not possible, see above

Package info (e.g. output of rpm -q podman or apt list podman):

direct download from github, see above

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)

Yes

Additional environment details (AWS, VirtualBox, physical, etc.):

Ubuntu in Windows 11 WSL but did not work in Windows 10 also.

WSL~Ubuntu-20.04> reini@wsl:~/Downloads$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (18 by maintainers)

Commits related to this issue

Most upvoted comments

Ah, lovely. I love Go.