-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
libsigsegv tests fail with recent kernels #6028
Comments
On the other hand, Linus Torvalds seems to be trying to fix this bug in the kernel, acknowledging it as a regression in the userspace/kernel interface. So I think we should just wait for the kernel patches that fix this issue and apply them. Relevant thread here: http://lists.opensuse.org/opensuse-factory/2015-01/msg00408.html |
Confirmed, I just ran into this with a 3.18.3 kernel. |
3.18.5 as well. |
can also confirm that this is an issue for unstable, both for 3.18.3 and 3.14.29. |
Seems fixed in 3.18.6: |
@olavks I think that is not a very good workaround, because even though you're disabling the tests, the library will still be broken. I think a better workaround is that patch I linked to in the first comment. I've been using it since I posted this bug: the tests passed and I haven't noticed anything broken. |
That patch isn't necessary as soon as next stable kernel is out: seems to be just around the corner: |
@olavks I know, I was just commenting about a workaround (specifically, about the workaround you mentioned) :) |
@wizeman disabling the check is worse than patching the check to make it work -- I agree, but would rather have a new kernel ASAP :) |
Kernel |
Kernels older than 3.18.6 emit SIGBUS signal upon stackoverflow instead of SIGSEGV. This patch enables the capture of SIGBUS (just as it is done on Darwin). Applying it fixes NixOS#6028 and NixOS#28464 (comment)
When using kernel
3.14.29
, the check phase fails with exactly the same errors as was recently reported in their mailing list:https://lists.gnu.org/archive/html/bug-libsigsegv/2015-01/msg00001.html
The original bug reporter suggested this fix:
https://build.opensuse.org/package/view_file/devel:libraries:c_c++/libsigsegv/libsigsegv-kernel-3.18.2.patch?expand=1
The text was updated successfully, but these errors were encountered: