aprovpn / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

P:/data/data/de.blinkt.openvpn/cache/pievpn[1]:syntax error:'?4@ 4' #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure new VPN connection with any kind of options
2. Start connection
3. Check log

What is the expected output? What do you see instead?
22:38 Running on (VIVA_i10G) ALLVIEW,Android API 19,version 0.16.17,F-DROID 
built and signed version
22:38 Building configuration...
22:38 started Socket Thread
22:38 P:/data/data/de.blinkt.openvpn/cache/pievpn[1]:syntax error:'?4@  4' 
unexpected
22:38 Process exited with exit value 1

What mobile phone are you using?
Allview Viva i10G

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Android 4.4.2, Kernel 3.10.20-g65dd50e-dirty - stock ROM

Please provide any additional information below.
Same results with OpenVPN version from Play Store.
Same results after cache cleaning, app re-install and tablet reboot.

Original issue reported on code.google.com by cbn2...@gmail.com on 19 Dec 2014 at 8:48

GoogleCodeExporter commented 9 years ago
That sounds like either the VPN binaries are build wrong (by Fdroid) or your 
rom is broken and cannot execute PIE binaries.

Original comment by arne@rfc2549.org on 19 Dec 2014 at 11:14

GoogleCodeExporter commented 9 years ago
Second option must be true. 
For the moment there is no custom ROM for this HW.

Original comment by cbn2...@gmail.com on 20 Dec 2014 at 7:52

GoogleCodeExporter commented 9 years ago
@2:Are you willing to try custom builds? Than it try to build a version that 
will fall back to the non PIE version 

Original comment by arne@rfc2549.org on 27 Dec 2014 at 10:13

GoogleCodeExporter commented 9 years ago
Actually the current non F-droid version should already include a workaround. 
Can you try that version and see if it works?

Original comment by arne@rfc2549.org on 27 Dec 2014 at 10:17

GoogleCodeExporter commented 9 years ago
Hi,

If there would be an custom ROM for this device, i would try and use it (e.g. 
cyanogen). But that is not my case, i am not trying to build custom ROMs.

The issue is still valid for last F-droid version(v0.16.17).

For the moment i am waiting for an fix.

Original comment by cbn2...@gmail.com on 28 Dec 2014 at 9:04

GoogleCodeExporter commented 9 years ago
With custom builds I meant a custom version of OpenVPN for Android. Try a newer 
version of OpenVPN for Android. (e.g. 0.6.26, plai.de/android or Play Store)

Original comment by arne@rfc2549.org on 28 Dec 2014 at 11:52

GoogleCodeExporter commented 9 years ago
Tested with PlayStore version and i get the same results:

2014-12-28 21:17:57 Running on VIVA_i10G (VIVA_i10G) ALLVIEW, Android API 19, 
version 0.6.26, official build
2014-12-28 21:17:59 Building configuration…
2014-12-28 21:18:02 started Socket Thread
2014-12-28 21:18:02 P:/data/data/de.blinkt.openvpn/cache/pievpn.armeabi-v7a[1]: 
syntax error: ' � 4L 4' unexpected
2014-12-28 21:18:02 Process exited with exit value 1

Original comment by cbn2...@gmail.com on 28 Dec 2014 at 7:22

GoogleCodeExporter commented 9 years ago
Oh yes. Just looked at the code again and the workaround code is broken, sorry 
for that. 

Lets first see if fixing that workaround will actually help. Can you downgrade 
to the last version without PIE binaries 
(http://plai.de/android/ics-openvpn-0.6.12.apk) and see if that works on your 
device?

Original comment by arne@rfc2549.org on 29 Dec 2014 at 4:18

GoogleCodeExporter commented 9 years ago
Hi Arne,

The result with v0.6.12 is:

2014-12-29 23:02:20 Running on VIVA_i10G (VIVA_i10G) ALLVIEW, Android API 19, 
version 0.6.12, official build
2014-12-29 23:02:20 Log cleared.
2014-12-29 23:02:28 Building configuration…
2014-12-29 23:02:31 started Socket Thread
2014-12-29 23:02:31 P:CANNOT LINK EXECUTABLE: could not load library 
"libssl.so" needed by "/data/data/de.blinkt.openvpn/cache/miniopenvpn"; caused 
by "libssl.so" has unexpected e_machine: 3
2014-12-29 23:02:31 Process exited with exit value 1

Many thanks.

Original comment by cbn2...@gmail.com on 29 Dec 2014 at 9:04

GoogleCodeExporter commented 9 years ago
can you clear the cache?

Original comment by arne@rfc2549.org on 29 Dec 2014 at 9:05

GoogleCodeExporter commented 9 years ago
I tried to clean the cache from Settings>Apps>Openvpn> "clear cache" and with 
the "Clean Master" app, but there are always 12Kb of data remaining.

Result after cleaning the cache is the same as last time.

Original comment by cbn2...@gmail.com on 29 Dec 2014 at 9:15