Bug 2209809

Summary: [abrt] podman: runtime.raise(): podman killed by SIGABRT
Product: [Fedora] Fedora Reporter: telometto
Component: podmanAssignee: Paul Holzinger <pholzing>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: bbaude, container-sig, debarshir, dwalsh, go-sig, jnovy, lsm5, mheon, patrick, pehunt, rh.container.bot, santiago, telometto
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/883d0a5f25792ef5a0b5ebf0e8acf3fbff42969
Whiteboard: abrt_hash:86d4b53c6066b5b8ae7f0324d877fef5b0adaf64;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-04 08:47:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: cgroup
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: var_log_messages
none
File: backtrace
none
File: open_fds
none
File: environ none

Description telometto 2023-05-24 21:17:57 UTC
Version-Release number of selected component:
podman-5:4.5.0-1.fc38

Additional info:
reporter:       libreport-2.17.10
type:           CCpp
reason:         podman killed by SIGABRT
journald_cursor: s=72c6f09b9ede40dab11c86f9e891e07a;i=4ed38;b=2ac4a90ea260450d90233ba18252a16f;m=b87641ab;t=5fc4b100e9f7d;x=f66af825546158
executable:     /usr/bin/podman
cmdline:        podman __complete run -d app2000_backend:latest ap
rootdir:        /
uid:            1000
kernel:         6.2.15-300.fc38.x86_64
package:        podman-5:4.5.0-1.fc38
runlevel:       N 5
dso_list:       /usr/bin/podman podman-5:4.5.0-1.fc38.x86_64 (Fedora Project) 1684015850
backtrace_rating: 4
crash_function: runtime.raise

Truncated backtrace:
Thread no. 1 (22 frames)
 #0 runtime.raise at /usr/lib/golang/src/runtime/sys_linux_amd64.s:154
 #1 runtime.dieFromSignal at /usr/lib/golang/src/runtime/signal_unix.go:879
 #2 runtime.sigfwdgo at /usr/lib/golang/src/runtime/signal_unix.go:1092
 #3 runtime.sigtrampgo at /usr/lib/golang/src/runtime/signal_unix.go:432
 #4 runtime.sigtramp at /usr/lib/golang/src/runtime/sys_linux_amd64.s:354
 #6 runtime.raise at /usr/lib/golang/src/runtime/sys_linux_amd64.s:154
 #7 runtime.dieFromSignal at /usr/lib/golang/src/runtime/signal_unix.go:879
 #8 runtime.crash at /usr/lib/golang/src/runtime/signal_unix.go:971
 #9 runtime.fatalpanic at /usr/lib/golang/src/runtime/panic.go:1168
 #10 runtime.gopanic at /usr/lib/golang/src/runtime/panic.go:987
 #11 runtime.goPanicIndex at /usr/lib/golang/src/runtime/panic.go:113
 #12 github.com/containers/podman/cmd/podman/common.simplePathJoinUnix at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/cmd/podman/common/completion.go:365
 #13 github.com/containers/podman/cmd/podman/common.getPathCompletion at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/cmd/podman/common/completion.go:349
 #14 github.com/containers/podman/cmd/podman/common.AutocompleteCreateRun at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/cmd/podman/common/completion.go:651
 #15 github.com/containers/podman/vendor/github.com/spf13/cobra.(*Command).getCompletions at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/vendor/github.com/spf13/cobra/completions.go:492
 #16 github.com/containers/podman/vendor/github.com/spf13/cobra.(*Command).initCompleteCmd.func1 at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/vendor/github.com/spf13/cobra/completions.go:192
 #17 github.com/containers/podman/vendor/github.com/spf13/cobra.(*Command).execute at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/vendor/github.com/spf13/cobra/command.go:944
 #18 github.com/containers/podman/vendor/github.com/spf13/cobra.(*Command).ExecuteC at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/vendor/github.com/spf13/cobra/command.go:1068
 #19 github.com/containers/podman/vendor/github.com/spf13/cobra.(*Command).Execute at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/vendor/github.com/spf13/cobra/command.go:992
 #20 github.com/containers/podman/vendor/github.com/spf13/cobra.(*Command).ExecuteContext at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/vendor/github.com/spf13/cobra/command.go:985
 #21 main.Execute at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/cmd/podman/root.go:107
 #22 main.main at /usr/src/debug/podman-4.5.0-1.fc38.x86_64/_build/src/github.com/containers/podman/cmd/podman/main.go:41


Potential duplicate: bug 1831015

Comment 1 telometto 2023-05-24 21:18:01 UTC
Created attachment 1966697 [details]
File: proc_pid_status

Comment 2 telometto 2023-05-24 21:18:02 UTC
Created attachment 1966698 [details]
File: maps

Comment 3 telometto 2023-05-24 21:18:04 UTC
Created attachment 1966699 [details]
File: limits

Comment 4 telometto 2023-05-24 21:18:06 UTC
Created attachment 1966700 [details]
File: cgroup

Comment 5 telometto 2023-05-24 21:18:08 UTC
Created attachment 1966701 [details]
File: mountinfo

Comment 6 telometto 2023-05-24 21:18:09 UTC
Created attachment 1966702 [details]
File: os_info

Comment 7 telometto 2023-05-24 21:18:11 UTC
Created attachment 1966703 [details]
File: cpuinfo

Comment 8 telometto 2023-05-24 21:18:12 UTC
Created attachment 1966704 [details]
File: core_backtrace

Comment 9 telometto 2023-05-24 21:18:14 UTC
Created attachment 1966705 [details]
File: var_log_messages

Comment 10 telometto 2023-05-24 21:18:16 UTC
Created attachment 1966706 [details]
File: backtrace

Comment 11 telometto 2023-05-24 21:18:18 UTC
Created attachment 1966707 [details]
File: open_fds

Comment 12 telometto 2023-05-24 21:18:20 UTC
Created attachment 1966708 [details]
File: environ

Comment 14 Paul Holzinger 2023-05-30 13:52:30 UTC
Thanks for the report. I can reproduce and will open a PR with a fix later.

Comment 15 Paul Holzinger 2023-05-30 14:17:59 UTC
PR: https://github.com/containers/podman/pull/18736

Comment 16 xspielinbox+redhat 2023-10-03 10:37:24 UTC
I tried to run podman system df, but it just printed
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5[...]4]
followed by a huge stacktrace.


reporter:       libreport-2.17.11
type:           CCpp
reason:         podman killed by SIGABRT
journald_cursor: s=9a7a550263b44ce2aae567ae74362384;i=2ed5bf;b=495687c854b44eb285bece6e621a97c9;m=1fa751bcf;t=606cd2960709e;x=bb1dc410676d8ac1
executable:     /usr/bin/podman
cmdline:        podman system df
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-b6bbd342-4597-4fc2-832e-0692e5f04d05.scope
rootdir:        /
uid:            1000
kernel:         6.5.5-200.fc38.x86_64
package:        podman-5:4.7.0-1.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: runtime.raise

Comment 17 Paul Holzinger 2023-10-04 08:47:18 UTC
This bug was fixed, looks like we forgot to close it.

@xspielinbox+redhat Please file a new bug, either here or better on github as there is more activity there and include the stack trace as this tells us were it happens.

Comment 18 Szymon Moskal 2024-04-19 14:15:14 UTC
This situation happend when I tried to create image with following content of Dockerfile:

---cut-here--- 
FROM alpine AS A

FROM A AS B
RUN exit 1

FROM A AS C
RUN for i in $(seq 0 100); do echo "hello world ${i}" > file-${i}; done

FROM A AS D
RUN exit 0
---cut-here--- 


reporter:       libreport-2.17.11
type:           CCpp
reason:         podman killed by SIGABRT
journald_cursor: s=bee6a339ebc6431db7c099a71a8c4420;i=58ca3f;b=e855cef5913a48f8adc2ba079efa60fb;m=634fd6005;t=616604659c2c5;x=385313acd2722923
executable:     /usr/bin/podman
cmdline:        docker build . --skip-unused-stages=false --jobs=0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-cad08a4e-4b1b-4fa7-a700-d291fb0fb938.scope
rootdir:        /
uid:            1000
kernel:         6.8.6-100.fc38.x86_64
package:        podman-5:4.9.4-1.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: runtime.raise