Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minikube start failed to create vm with error "panic: runtime error: invalid memory address or nil pointer dereference" #6428

Closed
q98027 opened this issue Jan 29, 2020 · 1 comment
Labels
co/hyperv HyperV related issues kind/support Categorizes issue or PR as a support question. os/windows triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@q98027
Copy link

q98027 commented Jan 29, 2020

The exact command to reproduce the issue:
minikube start --vm-driver=hyperv

The full output of the command that failed:


PS C:\windows\system32> minikube start --vm-driver=hyperv
! minikube v1.6.2 on Microsoft Windows 10 Enterprise 10.0.16299 Build 16299

  • Selecting 'hyperv' driver from user configuration (alternates: [])
  • Creating hyperv VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal 0xc0000005 code=0x0 addr=0x28 pc=0x12ee976]

goroutine 94 [running]:
github.com/google/go-containerregistry/pkg/v1/tarball.Write(0x0, 0x0, 0x0, 0xc0000357d0, 0x1c, 0xc0000357ed, 0x6, 0x0, 0x0, 0xc000025c58, ...)
/go/pkg/mod/github.com/google/go-containerregistry@v0.0.0-20180731221751-697ee0b3d46e/pkg/v1/tarball/write.go:57 +0x136
k8s.io/minikube/pkg/minikube/machine.CacheImage(0xc0000357d0, 0x23, 0xc0005a9860, 0x4a, 0x0, 0x0)
/app/pkg/minikube/machine/cache_images.go:395 +0x615
k8s.io/minikube/pkg/minikube/machine.CacheImages.func1(0xc0004a7f68, 0x0)
/app/pkg/minikube/machine/cache_images.go:85 +0xed
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000478090, 0xc0004782a0)
/go/pkg/mod/golang.org/x/sync@v0.0.0-20190423024810-112230192c58/errgroup/errgroup.go:57 +0x6b
created by golang.org/x/sync/errgroup.(*Group).Go
/go/pkg/mod/golang.org/x/sync@v0.0.0-20190423024810-112230192c58/errgroup/errgroup.go:54 +0x6d

The output of the minikube logs command:

The operating system version:
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.16299 N/A Build 16299
OS Manufacturer: Microsoft Corporation

@q98027 q98027 changed the title "minikube start --vm-driver=hyperv" failed with error "panic: runtime error: invalid memory address or nil pointer dereference" "minikube start --vm-driver=hyperv" failed to create vm with error "panic: runtime error: invalid memory address or nil pointer dereference" Jan 29, 2020
@q98027 q98027 changed the title "minikube start --vm-driver=hyperv" failed to create vm with error "panic: runtime error: invalid memory address or nil pointer dereference" minikube start failed to create vm with error "panic: runtime error: invalid memory address or nil pointer dereference" Jan 29, 2020
@priyawadhwa priyawadhwa added os/windows kind/support Categorizes issue or PR as a support question. co/hyperv HyperV related issues labels Jan 30, 2020
@sharifelgamal
Copy link
Collaborator

This should be fixed with minikube 1.7, can you upgrade and retry?

Closing as a duplicate of #6147

@sharifelgamal sharifelgamal added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/hyperv HyperV related issues kind/support Categorizes issue or PR as a support question. os/windows triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants