Skip to content

Commit 37dfcd3

Browse files
committed
linux-qcom-next: enable BINFMT_MISC to prevent podman crash
Without binfmt misc handling, podman crashes: root@qcs6490-rubikpi3:~# docker info panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xaaaad9db8ed4] goroutine 1 [running]: github.com/containers/podman/v5/pkg/emulation.registeredBinfmtMisc.func1({0xaaaada0fd691, 0x18}, {0x0, 0x0}, {0xaaaada902400, 0x40004f6360}) github.com/containers/podman/v5/pkg/emulation/binfmtmisc_linux.go:33 +0xb4 path/filepath.WalkDir({0xaaaada0fd691, 0x18}, 0x400004f640) path/filepath/path.go:398 +0x9c github.com/containers/podman/v5/pkg/emulation.registeredBinfmtMisc() github.com/containers/podman/v5/pkg/emulation/binfmtmisc_linux.go:26 +0x50 github.com/containers/podman/v5/pkg/emulation.Registered() github.com/containers/podman/v5/pkg/emulation/emulation.go:11 +0x1c github.com/containers/podman/v5/pkg/domain/infra/abi.(*ContainerEngine).Info(0x4000076728, {0x400068bc00?, 0x400004f838?}) github.com/containers/podman/v5/pkg/domain/infra/abi/system.go:31 +0x38 github.com/containers/podman/v5/cmd/podman/system.info(0xaaaadb58dec0, {0xaaaadb6a32e0?, 0x0?, 0x0?}) github.com/containers/podman/v5/cmd/podman/system/info.go:78 +0x50 github.com/spf13/cobra.(*Command).execute(0xaaaadb58dec0, {0x400003e150, 0x0, 0x0}) github.com/spf13/[email protected]/command.go:1015 +0x7d4 github.com/spf13/cobra.(*Command).ExecuteC(0xaaaadb575000) github.com/spf13/[email protected]/command.go:1148 +0x350 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/[email protected]/command.go:1071 github.com/spf13/cobra.(*Command).ExecuteContext(...) github.com/spf13/[email protected]/command.go:1064 main.Execute() github.com/containers/podman/v5/cmd/podman/root.go:120 +0x54 main.main() github.com/containers/podman/v5/cmd/podman/main.go:74 +0x494 Signed-off-by: Koen Kooi <[email protected]>
1 parent 2601ef7 commit 37dfcd3

File tree

1 file changed

+2
-0
lines changed
  • recipes-kernel/linux/linux-qcom-next/configs

1 file changed

+2
-0
lines changed

recipes-kernel/linux/linux-qcom-next/configs/qcom.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,5 @@ CONFIG_PKCS7_MESSAGE_PARSER=y
354354
CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
355355
CONFIG_X509_CERTIFICATE_PARSER=y
356356

357+
# Docker/Podman non-networking options
358+
CONFIG_BINFMT_MISC=y

0 commit comments

Comments
 (0)