-
Notifications
You must be signed in to change notification settings - Fork 1.7k
2.6.6-beta crashes with "illegal instruction" #11321
Comments
Could it be that the CPU you're using does not support the |
It's an i7 8th gen, but building from source is a neat idea of course. Giving it a try, hold tight. |
Hmm, can you be more specific, e.g. |
the cpu is a Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz do you need more specs? |
@makuro @nikita-fuchs are you two speaking about the same CPU or…? i7-8700 certainly supports |
@dvdplm yes, we are talking about the same cpu, I think @nikita-fuchs just mixed up the input. the log is complete, afterwards is just one more line which says: illegal instructions that's all there is to it. Sadly. We tried the run of parity with -l debug and the result is the one above. before we added the auto_update directive to the config.toml. Then we updated via one-line installer and tried to rerun ist again and just got the message above. |
@makuro Got it. Did you try building the beta from source? Same result? |
@dvdplm not yet, will do this tomorrow morning and get back to you here |
hmm, this seems strange according to http://www.cpu-world.com/CPUs/Core_i7/Intel-Core%20i7%20i7-8700.html It does support: |
so I did the install from source like described here: https://github.com/paritytech/parity-ethereum and installed it from source. I checked the installation before installing it with The system does still not start. I tried running it without any config and starting with our old config. Both brings the same error. Loading config file from /parity/config.toml |
I did run the tests with cargo test -allafterwards after updating the git submodules. it returned the same error. the complete output of the tests is included in the attached files. here is the output from the cargo test -allcommand: warning: ./parity-ethereum/ethcore/Cargo.toml: An explicit [[bench]] section is specified in Cargo.toml which currently ./parity-ethereum/ethcore/benches/builtin_contract.rs For more information on this warning you can consult |
Very curious. I have to admit I'm a bit stumped. Can you try these things:
|
Also, can you post the full parity configuration TOML file? (or the command line switches you use, if that's how you start parity). |
cat /proc/cpuinfo processor : 0 processor : 1 processor : 2 processor : 3 processor : 4 processor : 5 processor : 6 processor : 7 processor : 8 processor : 9 processor : 10 processor : 11 |
/parity-ethereum/ethcore# /root/.cargo/bin/cargo test --all
This is likely to break cargo build or cargo test as these files may not be For more information on this warning you can consult |
right, output is above
do I set this as an env var or do I add this to cargo run ?
output is above
I do but I need to check if I can use it or it is used for something else
will do next |
can you try running the tests from the parity-crypto crate from here (clone the repo, go into parity-crypto/ and run cargo test)? works without error |
No, that's from |
Either works. |
here is the output: |
Looks like you ran |
it was run within the parity-crypto folder. I did rerun with the features: cargo test --features=publickey running 31 tests test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Doc-tests parity-crypto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out |
While your hardware does support
|
@makuro What is the output of Here's what I see on mine:
Do you have the |
Please run rustc --print cfg -C target-cpu=native If it claims Another thing you can do it is build with |
actually it does not |
output of rustc:
it seems like you thought. rust is taking the cpu informations and not the features
where do I put this? because cargo build does not recognize -C |
|
Are you using any kind of virtualization on the machine? |
it is a local machine, need to get access to the room first then I can check the bios and settings |
nope. it was a blank ubuntu 18.04.3 installation with only main repository activated without any docker, vm or similar installed. it does use llvm tho to bundle the hard drives |
I checked the bios and the aes was actually disabled.
will try rebuild from source |
@nikita-fuchs @dvdplm @niklasad1 I did not need to change anything, I just started the node and it works. So the error was that aes was not activated within the bios. |
@makuro Was this a regular node or a worker/miner? I'm wondering if all nodes must support this instruction? |
This was a regular node. I think a sentence within the documentations would not hurt. |
After updating from 2.5.1 to 2.6.6, it crashes with "Illegal Instruction", right after displaying the updated conversion rate. Here are the full logs before the crash:
The text was updated successfully, but these errors were encountered: