Skip to content

panic runtime SIGSEGV (with an invalid template) #3103

Open
@NN---

Description

@NN---

Description

Mac M4

Using the following configuration:

With
LIMA_SSH_PORT_FORWARDER=false

portForwards:
  - guestSocket: "tcp:2222"
    hostSocket: "tcp:2222"    

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x80 pc=0x10553b134]

goroutine 1 [running]:
main.shellAction(0x14000675808, {0x1400066f6e0?, 0x4?, 0x1055544c7?})
	/private/tmp/lima-20241227-4789-ev5r3o/lima-1.0.3/cmd/limactl/shell.go:94 +0x3c4
github.com/spf13/cobra.(*Command).execute(0x14000675808, {0x1400066f6b0, 0x1, 0x1})
	/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x14000674c08)
	/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
main.main()
	/private/tmp/lima-20241227-4789-ev5r3o/lima-1.0.3/cmd/limactl/main.go:28 +0x20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions