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

tidb 3.0 'tikv-server -V' returns "illegal instruction" #11046

Closed
hwinsCK opened this issue Jul 3, 2019 · 4 comments
Closed

tidb 3.0 'tikv-server -V' returns "illegal instruction" #11046

hwinsCK opened this issue Jul 3, 2019 · 4 comments
Labels
type/bug This issue is a bug.

Comments

@hwinsCK
Copy link

hwinsCK commented Jul 3, 2019

TiDB Version: TiDB 3.0
Software: http://download.pingcap.org/tidb-3.0.0-linux-amd64.tar.gz
./tikv-server -V
Illegal instruction (core dumped)

The cpu info for the virtual machine:
vendor_id: GenuineIntel
model name: QEMU Virtual CPU
flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscal nx lm rep_good nopl pni cx16 x2apic popcnt hypervisor lahf_lm

@Connor1996
Copy link
Member

Connor1996 commented Jul 3, 2019

Could you show gdb tikv-server core -batch -ex "disassemble"

@hwinsCK
Copy link
Author

hwinsCK commented Jul 4, 2019

gdb.txt

@Connor1996
Copy link
Member

same as tikv/tikv#4999, it mainly because the distributed release includes AVX operations that your CPU doesn't support. It will be okay for the next release, but for now, you can download tikv source code https://github.com/tikv/tikv/archive/v3.0.0.tar.gz and run make dist_release on your own machine to build the binary fitting for your CPU flags.

@ghost ghost added this to Need Triage in Question and Bug Reports via automation Jul 23, 2020
@ghost ghost moved this from Need Triage to In Progress: Root Cause Located in Question and Bug Reports Jul 23, 2020
@ghost ghost added the type/bug This issue is a bug. label Jul 23, 2020
@fzhedu
Copy link
Contributor

fzhedu commented Aug 26, 2020

close it due to no response for a long time.

@fzhedu fzhedu closed this as completed Aug 26, 2020
Question and Bug Reports automation moved this from In Progress: Root Cause Located to Closed(This Week) Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue is a bug.
Projects
No open projects
Question and Bug Reports
  
Closed(Archived Every Week)
Development

No branches or pull requests

3 participants