-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
OpenBSD: MAP_STACK and sanitizeStackForVMImpl #2968
Comments
The manual mentions that the latest version should be used for security reasons. Recent WebKit releases had some serious issues (for instance version 2.40.0), but that's the exception rather than the rule. Nyxt version 3.0.0 was tested with WebKit 2.40.1, so you're running the right version. With respect to the javascript library, see the shared objects related to WebKit available on my system below. Notice that you have
Honestly, I don't know. What happens if you delete it or make it inaccessible? |
No, that's not possible I believe. At lease WebKit makefile and documentation has no mentions of not building JSCore. |
@baulig we'd really like Nyxt to run on OpenBSD but this is not in our priorities at the moment. Feel free to re-open if we can provide any insight that may help us reach that goal. Thanks. |
I am probably one of the very few people who are trying to run this on OpenBSD and fully understand that this is not currently a supported platform.
However, I had successfully used some of the preview releases and really liked what I saw.
Unfortunately, the 3.0.0 release immediately crashes on startup due to what's either a bug or incompatibility in
sanitizeStackForVMImpl()
fromlibjavascriptcoregtk-4.1.so.3.8
.Before we dive any further into this - that library comes from
Is that the correct version of WebKit? OpenBSD 7.3 also ships with these versions:
Unfortunately, the Developer's Manual isn't quite clear about the particular version of WebKit that's needed.
The crash happens because OpenBSD requires all pages that are used for the stack to be mapped via
MAP_STACK
. There's a good article about that here.The "CORRUPTION WARNING" message seems to be from the OS prior to killing the process:
I'm also getting the following in
dmesg
:Stack trace:
Looking at the registers in that frame reveals that
rbp
is within the stack range,rsp
is not:Since that shared library has the name "javascript" in it, is there a way to completely disable that?
The text was updated successfully, but these errors were encountered: