-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Illegal instruction on FreeBSD #27
Comments
Looking into it |
Thanks 👍 Let me know if I can help by providing more testing/logs but you need to tell me exactly which commands to run as I still need to smarten up on |
So far I'm unable to reproduce the issue, using FreeBSD 12.2 AMD64 on a VirtualBox VM. The browser would have to be recompiled with these commands
Edit: The basic flow with lldb would look like this,
|
Interesting that you are not seeing the crash.
Does not crash. Also, just running But as soon as I build with
Race condition? Something gets unallocated before it should, and adding Debug symbols changes the timing? Just speculating here. |
That is interesting. The system was handling a custom hashing function differently in the Debug vs Release builds. |
Hello @LeFroid thanks for taking the time, glad you were able to find the root cause. Would love to test but cannot due to #26 (comment).
Please make libCredentialStoreSecret optaional, thanks! |
That plugin should only be compiled if you have all the requisite headers and libraries on your system. It is supposed to be conditionally pulled in by CMake. I'll take a closer look at the CMake files to check for correctness, but in the meantime you can force the plugin to be disabled by passing |
Unfortunately this did not help yet:
|
I'm still unable to reproduce this on a clean debug or release build. |
The CXX compiler identification is Clang 10.0.1. Let's find out whether this is a compile-time issue or a runtime issue. Can you please run
and upload it? Then I could test whether your build can run on my machine without a crash. |
Ok, same compiler and most likely same kernel settings as I tested with. Following the steps you listed above, here is the output: Viper.zip |
Thanks @LeFroid. This also gives me the segfault. So it is not about the compiler but somehow about my runtime environment. Will test more. |
The crash seems to happen when viper-browser tries to do stuff with
/tmp/qipc_sharedmemory_ViperBrowserIP...
.truss ./src/app/viper-browser
log attached:truss.log.zip
System information:
The text was updated successfully, but these errors were encountered: