-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fatal signal 7 (SIGBUS) in v0.7.6 with comp-lzo enabled. #944
Comments
Strange that the app crashes in lzo. That is strange. |
@ThE-MaRaC could it be that server is using a different setting? Actually |
Thx for info. |
comp-lzo adaptive should not make any difference. It is crashing in decompress and not while compressing |
Unfortunately compress option didn't help. |
compress lzo exactly the same as comp-lzo, so that is kind of expected. |
It crashes here on a NEXUS 5 and NEXUS 7 (Both on Stock Android 6). I use the same configuration on all 3 devices since months. |
Seem only 32 bit devices are affected |
Any fix in sight or do we always need to disable lzo on 32 bit devices from now on? |
@markusb68 I cannot reproduce the bug on my side. Might that the switch to ndk 18 did not go as smoothly as before. I cleaned and recompiled the project. Can you retest with 0.7.7pre from http://plai.de/android/ics-openvpn-0.7.7pre.apk and see if it makes are difference? |
0.7.7pre does not fix it. Still get exit code 7 when lzo is enabeled |
Okay. I cannot reproduce that on my device that makes fixing that error very hard. |
Can you check if it also crashes when selecting the openvpn3 core? To help narrow this down. |
With openvpn3 core it doesn't connect at all, it loops like this:
|
Strange. It seems that for some reason openvpn3 also does not receive the ping packets (which are also payload packets). This is also specific to the 32 bit device only? (I.e. does openvpn3 on the Nexus 9 work?). |
openvpn3 on the Nexus 9 DOESN'T work either. |
When compiled in debug mode (-O0) OpenVPN is working, at least it is working on my phone. |
the ndk thing is about exception and the whole code is C. SO there are no exception anywhere at all. So it is not that bug. But there has been minor revision of the NDK and here is a binary compiled with the new version: http://plai.de/android/ics-openvpn-0.7.7pre2.apk I haven't tested it myself yet. |
http://plai.de/android/ics-openvpn-0.7.7pre3.apk version with the workaround in it. |
@ThE-MaRaC Thanks.I met the same problem as you.It may be caused by (android/ndk#573). I try to switch '-Os' from '-Oz', then release build is working. |
the 573 code is only talking about C++ exceptions which are not used at all here. |
To make issues more manageable, I would appreciate it if you fill out the following details as applicable:
General information
14.1-20180914-NIGHTLY-m8
LineageOS
HTC One M8
0.7.6
Description of the issue
When comp-lzo option is used, OpenVPN for Android crashes.
Full log is attached.
2018-09-24-21-58-52.txt
Previous version was not affected.
Let me know if you need any other info.
The text was updated successfully, but these errors were encountered: