kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.24k stars 4.87k forks source link

segmentation fault starting minikube #19392

Open sej-21 opened 1 month ago

sej-21 commented 1 month ago

What Happened?

when i enter command minikube start i got error :segmentation fault so what i hav to do

Attach the log file

issue

Operating System

Redhat/Fedora

Driver

VirtualBox

afbjorklund commented 1 month ago

Maybe something like gdb --eval-command=run --args minikube start would help to get a proper backtrace.

You don't need to run minikube as root, and do make sure that you have enough memory in the machine.

nyufeng commented 1 month ago

I encountered the same issue just now. Based on my investigation, it was caused by a corrupted file due to a failed download. Simply redownloading and reinstalling should fix the problem. However, if you mistakenly executed the installation command after a failed download, be sure to delete the already installed files before trying again.

Error: image Success: image

afbjorklund commented 1 month ago

Failed downloads would not have the same checksum, so it is unfortunate that these aren't checked by default.

Also something like --fail would have helped, maybe wcurl can fix this in the future (which curl flags to use)?