[ 
https://issues.apache.org/jira/browse/ARROW-12476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325652#comment-17325652
 ] 

Antoine Pitrou commented on ARROW-12476:
----------------------------------------

Did you manage to hook into the process with a debugger (e.g. {{gdb -p pid}})?

> [C++][Gandiva] gandiva-decimal-test hangs on some machines
> ----------------------------------------------------------
>
>                 Key: ARROW-12476
>                 URL: https://issues.apache.org/jira/browse/ARROW-12476
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Gandiva
>    Affects Versions: 4.0.0
>            Reporter: Yibo Cai
>            Priority: Major
>
> gandiva-decimal-test hangs on my machine. I'm using *LLVM-9.*
> Logs:
> {code:bash}
> Running main() from 
> /tmp/arrow-4.0.0.gDpe1/apache-arrow-4.0.0/cpp/build/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest_main.cc
>  [==========] Running 17 tests from 1 test suite.
>  [----------] Global test environment set-up.
>  [----------] 17 tests from TestDecimal
>  [ RUN ] TestDecimal.TestSimple
>  /tmp/arrow-4.0.0.gDpe1/apache-arrow-4.0.0/cpp/src/gandiva/cache.cc:42: 
> Creating gandiva cache with capacity: 500
>  /tmp/arrow-4.0.0.gDpe1/apache-arrow-4.0.0/cpp/src/gandiva/engine.cc:109: 
> Detected CPU Name : cascadelake
>  /tmp/arrow-4.0.0.gDpe1/apache-arrow-4.0.0/cpp/src/gandiva/engine.cc:110: 
> Detected CPU Features: +sse2 +cx16 +sahf -tbm -avx512ifma -sha -gfni -fma4 
> -vpclmulqdq +prfchw +bmi2 -cldemote +fsgsbase -ptwrite +xsavec +popcnt +mpx 
> +aes -avx512bitalg -movdiri +xsaves -avx512er +avx512vnni -avx512vpopcntdq 
> -pconfig +clwb +avx512f -clzero +pku +mmx -lwp -rdpid -xop +rdseed -waitpkg 
> -movdir64b -sse4a +avx512bw +clflushopt +xsave -avx512vbmi2 +64bit +avx512vl 
> +invpcid +avx512cd +avx -vaes +cx8 +fma -rtm +bmi -enqcmd +rdrnd -mwaitx 
> +sse4.1 +sse4.2 +avx2 +fxsr -wbnoinvd +sse +lzcnt +pclmul -prefetchwt1 +f16c 
> +ssse3 -sgx -shstk +cmov -avx512vbmi -avx512bf16 +movbe +xsaveopt +avx512dq 
> +adx -avx512pf +sse3
>  [ OK ] TestDecimal.TestSimple (159 ms)
>  [ RUN ] TestDecimal.TestLiteral
>  [ OK ] TestDecimal.TestLiteral (68 ms)
>  [ RUN ] TestDecimal.TestIfElse
>  [ OK ] TestDecimal.TestIfElse (36 ms)
>  [ RUN ] TestDecimal.TestCompare
>  [ OK ] TestDecimal.TestCompare (63 ms)
>  [ RUN ] TestDecimal.TestCastFunctions
> // stuck here forever (at least one hour without progress)
> {code}
> CPU information:
> {code:bash}
> $ lscpu
> Architecture:        x86_64
> CPU op-mode(s):      32-bit, 64-bit
> Byte Order:          Little Endian
> CPU(s):              32
> On-line CPU(s) list: 0-31
> Thread(s) per core:  1
> Core(s) per socket:  16
> Socket(s):           2
> NUMA node(s):        2
> Vendor ID:           GenuineIntel
> CPU family:          6
> Model:               85
> Model name:          Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
> Stepping:            7
> CPU MHz:             2368.795
> CPU max MHz:         3900.0000
> CPU min MHz:         1000.0000
> BogoMIPS:            4600.00
> Virtualization:      VT-x
> L1d cache:           32K
> L1i cache:           32K
> L2 cache:            1024K
> L3 cache:            22528K
> NUMA node0 CPU(s):   0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30
> NUMA node1 CPU(s):   1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31
> 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 
> pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl 
> xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl 
> vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic 
> movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 
> 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd 
> mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid 
> ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a 
> avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw 
> avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total 
> cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear 
> flush_l1d arch_capabilities
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to