-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugins and standalones crash with illegal hardware instruction
#61
Comments
Same here, 1.1.11 gives me: CPU:
|
Could you please run Ardour in GDB and when it crashes issue the command:
And then take a screenshot of the debugger's screen? |
We need to know what function and what instruction caused a fail. Then I'll do a patch. |
Also I want to ask you to run unit tests and check what unit tests do fail on your systems.
It will execute all available unit tests and report which tests have failed and which are running properly. |
I ran the unit tests during packaging (the package is not released btw!) and have a failing test, that I didn't recognize, as I made the tests not fail due to other failing tests earlier:
|
This is not that test but interesting... I'll inspect it later. |
You need to check unit tests on the machine that is affected by the 'illegal hardware instruction' error. |
It seems I've found bad instruction. It's vbroadcastss which actually is AVX2 instruction when trying to broadcast value from XMM register to the YMM register. |
This is the unit test run on the test machine (without avx2): These tests are failing:
|
@dvzrv Thanks |
As a hotfix, you can replace this string: by:
|
Please try to build and test from the github-issue-61 branch. |
The github-issue-61 branch works perfectly. |
Nice. I'll prepare for the 1.1.13 release then. |
Of course I'm interesed. But please provide a pull request to the devel branch, not master. |
@sadko4u thanks! The branch in question seems to work for me (for the unit tests) |
Please also check whether some random plugins do work at least as standalone versions. |
I've built 1.1.11 with the changes from github-issue-61 applied on top: Both random standalones, lv2 and vst plugins work |
Good, thanks |
Merged changes into devel branch: 1bccb10 |
Removed github-issue-61 branch. |
Available in 1.1.13 release! |
After building 1.1.11 for Arch Linux I installed the package for testing purposes (on another machine than my build machine), as I introduced XDG desktop integration (if you're interested I'll open a pull request for it!).
Unfortunately all standalones crash with a segfault:
All plugins crash the hosts (possibly for the same reason).
My build machine's CPU has the following specs:
My test machine has the following CPU specs:
Note, the 2nd doesn't have avx2 support and I assume, that's why I'm seeing that problem.
Is there a way to not build with avx2 support? I think this would break for a lot of people, using this specific ISA and is nothing I can ship as a package this way.
The text was updated successfully, but these errors were encountered: