xiaokang opened a new issue, #24145:
URL: https://github.com/apache/doris/issues/24145

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0.1
   
   ### What's Wrong?
   
   BE coredump in `CPU().has_avx512()` branch in `bitshuffle_wrapper.cpp`. 
There is no avx512 feature in cpuinfo but `CPU().has_avx512()` is true.
   
   
   - coredump stack
   
![image](https://github.com/apache/doris/assets/680838/5e4161da-a728-430e-9f44-60386cd65a79)
   
   
   - cat /proc/cpuinfo
   
   ```
   processor    : 0
   vendor_id    : GenuineIntel
   cpu family   : 6
   model                : 85
   model name   : Intel(R) Xeon(R) Gold 6242 CPU @ 2.80GHz
   stepping     : 7
   cpu MHz              : 2800.044
   cache size   : 22528 KB
   fpu          : yes
   fpu_exception        : yes
   cpuid level  : 13
   wp           : yes
   flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp 
lm constant_tsc arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc 
unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe 
popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 
3dnowprefetch arat xsaveopt fsgsbase bmi1 hle avx2 smep bmi2 invpcid rtm
   bogomips     : 5600.08
   clflush size : 64
   cache_alignment      : 64
   address sizes        : 43 bits physical, 48 bits virtual
   power management:
   ```
   
   ### What You Expected?
   
   If there is no avx512 feature in cpuinfo, `CPU().has_avx512()` should be 
false and be should not core.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   avx512 optimization is introduced by 
https://github.com/apache/doris/pull/15972 
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to