weld-project / weld

High-performance runtime for data analytics applications

Home Page:https://www.weld.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIGILL while running error_tests

jesskfullwood opened this issue · comments

Hi, on current master I get a SIGILL while running the test suite. Specifically all the tests in error_tests are causing the problem. Running Ubuntu 18.04.

$ uname -srv          
Linux 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019
$ git rev-parse HEAD
0bf6c7931bba68d5a116e0b5093e25f27845c96a
$  cargo test iters_outofbounds
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s

<snip>

     Running target/debug/deps/error_tests-471b5b8924b6f15e

running 1 test
error: process didn't exit successfully: `/home/jess/repo/weld/target/debug/deps/error_tests-471b5b8924b6f15e iters_outofbounds` (signal: 4, SIGILL: illegal instruction)

Hmm, that's strange, I'm not able to reproduce this. Is this on an EC2 instance? Can you provide the output of /proc/cpuinfo if possible?

This is just on my laptop, a Dell XPS 9370.

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 142
model name	: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping	: 10
microcode	: 0xb4
cpu MHz		: 915.077
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	: 22
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 pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 3984.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

(The other 7 cores are similar).

I noticed that this happens on nightly Rust -- is that what you were using by any chance? I'll look into it further to see what the root cause is, but on my machine these tests work okay on the latest stable version of Rust.

I think I was running nightly, yes. But now using the latest master and latest nightly the problem has fixed itself. Strange but good!