We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
golang: go 1.19 direct reference package: github.com/bytedance/sonic v1.8.0 error packages: github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 error message:
go 1.19
github.com/bytedance/sonic v1.8.0
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311
SIGILL: illegal instruction PC=0x124ffd3 m=14 sigcode=2 instruction bytes: 0xc5 0xfe 0x6f 0x5 0x92 0xfe 0xff 0xff 0x4c 0x3 0x47 0x8 0x41 0x89 0xd2 0x41 goroutine 103624 [running]: github.com/chenzhuoyu/base64x.__native_entry__() /root/go/pkg/mod/github.com/chenzhuoyu/[email protected]/native_amd64.s:205 +0x173 fp=0xc00506ae70 sp=0xc00506ae68 pc=0x124ffd3 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:3089 +0x5ed
cpu info:
customer@s197281:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz stepping : 5 microcode : 0x1d cpu MHz : 1600.010 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid dtherm flush_l1d bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 4533.47 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:
The text was updated successfully, but these errors were encountered:
Thank you, we will investigate this issue
Sorry, something went wrong.
The problem is the lack of avx instruction set, and it is used inbase64x.
avx
base64x
https://github.com/chenzhuoyu/base64x/blob/master/native_amd64.s#L205C30-L205C37
@liuq19 Can this library only be used with cpu's that have the avx instruction set?
The dependency is not necessary. We will fix it in the base64x library.
Thanks, I'd like to be notified when it's resolved.
Is this issue resolved? I've just come across it today
liuq19
No branches or pull requests
golang:
go 1.19
direct reference package:
github.com/bytedance/sonic v1.8.0
error packages:
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311
error message:
cpu info:
The text was updated successfully, but these errors were encountered: