suaefar / ryzen-test

Tools to reproduce randomly crashing processes under load on AMD Ryzen processors on Linux
GNU General Public License v3.0
224 stars 59 forks source link

Compilation fails with current Artful toolchain #17

Closed zeule closed 6 years ago

zeule commented 6 years ago

When using daily Artful image, the test compilation fails due to a regular compilation error. Excuse me, I can't give the error message since I was using a live USB session. Maybe updating target GCC version (to 7.2) would help?

zeule commented 6 years ago

The error is the same as in #6.

Oxalin commented 6 years ago

Could you be more specific please? Also see comment newly added under #6

Oxalin commented 6 years ago

Hi again. I've created a branch with some fixes that should take care of your problem. It would be useful if you could test it and comment the discussion with your results. Please, see pull request #18

suaefar commented 6 years ago

I merged the pull request. @evsh, could you try to pull the latest changes (or just download/clone the repository again) and see if the script now runs fine?

tobbez commented 6 years ago

Can confirm that it works on Ubuntu 17.10 (artful).

suaefar commented 6 years ago

@tobbez Do you have a faulty CPU to test if it triggers the bug? Does it segfault as expected in a few minutes?

tobbez commented 6 years ago

When called with 4 4 it generally failed within an hour or so.

suaefar commented 6 years ago

Thank you for your answer! I think an hour is rather long and am not sure if we regressed performance wise (time to trigger the bug).

tobbez commented 6 years ago

We can't really reach a conclusion either way with this limited data.

Probability of failure (and thus, by extension time to failure) may vary between CPUs.

There are also a large number of other factors that may or may not affect the outcome (e.g. kernel version or hardware like motherboard and memory).

suaefar commented 6 years ago

Yes, that is true. However, I saw 4 different faulty CPUs (1x1700 2x1700X 1x1800X) with different motherboards and all failed within a few minutes (on Ubuntu 17.04 compiling GCC 7.1 in parallel). We need more data from users to decide.

suaefar commented 6 years ago

Artful is not supported! See README.md