schwabe / ics-openvpn

OpenVPN for Android
3.32k stars 1.19k forks source link

Connection fails with exit code 11 #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start the VPN profile
2.see the log
3.read:
Network Status: CONNECTED to WIFI
Process exited with exit value 11

What is the expected output? What do you see instead?

What mobile phone are you using?
sony experia
Which Android Version and stock ROM or aftermarket like cyanogenmod?
Android api 15
Please provide any additional information below.
I thought the problem was I used ndk>8b, as written in the readme, I downloaded 
ndk 8b and the issue has not been solved yet

Original issue reported on code.google.com by Vincenzo...@gmail.com on 7 Apr 2013 at 9:40

GoogleCodeExporter commented 9 years ago
You do not provide information to diagnose the problem. Try checking the 
stacktrace from adb logcat or build with Google breakcode.

Original comment by arne@rfc2549.org on 7 Apr 2013 at 9:55

GoogleCodeExporter commented 9 years ago
04-07 12:01:21.776: I/DEBUG(1414): *** *** *** *** *** *** *** *** *** *** *** 
*** *** *** *** ***
04-07 12:01:21.776: I/DEBUG(1414): Build fingerprint: 
'SEMC/ST25i_1264-3545/ST25i:4.0.4/6.1.1.B.1.10/9bt3zw:user/release-keys'
04-07 12:01:21.776: I/DEBUG(1414): pid: 12474, tid: 12474  >>> 
/data/data/com.application/cache/miniopenvpn <<<
04-07 12:01:21.776: I/DEBUG(1414): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), 
fault addr 00001ec0
04-07 12:01:21.776: I/DEBUG(1414):  r0 70000001  r1 b0009500  r2 00000000  r3 
00001ec0
04-07 12:01:21.776: I/DEBUG(1414):  r4 b000a07c  r5 ffffffff  r6 00001ec0  r7 
befffa78
04-07 12:01:21.776: I/DEBUG(1414):  r8 b0009914  r9 00000000  10 00000000  fp 
b0006e8b
04-07 12:01:21.776: I/DEBUG(1414):  ip 00001003  sp befffa38  lr 00000504  pc 
b00042b8  cpsr 00000030
04-07 12:01:21.776: I/DEBUG(1414):  d0  0000000000000000  d1  0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d2  0000000000000000  d3  0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d4  0000000000000000  d5  0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d6  0000000000000000  d7  0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d8  0000000000000000  d9  0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d10 0000000000000000  d11 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d12 0000000000000000  d13 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d14 0000000000000000  d15 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d16 0000000000000000  d17 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d18 0000000000000000  d19 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d20 0000000000000000  d21 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d22 0000000000000000  d23 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d24 0000000000000000  d25 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d26 0000000000000000  d27 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d28 0000000000000000  d29 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  d30 0000000000000000  d31 0000000000000000
04-07 12:01:21.776: I/DEBUG(1414):  scr 00000000
04-07 12:01:21.776: I/DEBUG(1414):          #00  pc b00042b8  /system/bin/linker
04-07 12:01:21.776: I/DEBUG(1414):          #01  lr 00000504  <unknown>
04-07 12:01:21.776: I/DEBUG(1414): code around pc:
04-07 12:01:21.776: I/DEBUG(1414): b0004298 6858e00a 208cf8d4 f8c41885 e00350d8 
 ..Xh... .....P..
04-07 12:01:21.776: I/DEBUG(1414): b00042a8 0895685a 50dcf8c4 e0013308 44794924 
 Zh.....P.3..$IyD
04-07 12:01:21.776: I/DEBUG(1414): b00042b8 2d00681d af49f47f 30acf8d4 f8d4b113 
 .h.-..I....0....
04-07 12:01:21.776: I/DEBUG(1414): b00042c8 b96110b0 7174f240 9100481e 44784a1e 
 ..a.@.tq.H...JxD
04-07 12:01:21.776: I/DEBUG(1414): b00042d8 491f4b1e 447b447a 68094479 f8d4e7b1 
 .K.IzD{DyD.h....
04-07 12:01:21.776: I/DEBUG(1414): code around lr:
04-07 12:01:21.776: I/DEBUG(1414): 000004e4 ffffffff ffffffff ffffffff ffffffff 
 ................
04-07 12:01:21.776: I/DEBUG(1414): 000004f4 ffffffff ffffffff ffffffff ffffffff 
 ................
04-07 12:01:21.776: I/DEBUG(1414): 00000504 ffffffff ffffffff ffffffff ffffffff 
 ................
04-07 12:01:21.776: I/DEBUG(1414): 00000514 ffffffff ffffffff ffffffff ffffffff 
 ................
04-07 12:01:21.776: I/DEBUG(1414): 00000524 ffffffff ffffffff ffffffff ffffffff 
 ................
04-07 12:01:21.786: I/DEBUG(1414): memory map around addr 00001ec0:
04-07 12:01:21.786: I/DEBUG(1414): (no map below)
04-07 12:01:21.786: I/DEBUG(1414): (no map for address)
04-07 12:01:21.786: I/DEBUG(1414): 40000000-40001000 
/data/data/com.application/cache/miniopenvpn
04-07 12:01:21.786: I/DEBUG(1414): stack:
04-07 12:01:21.786: I/DEBUG(1414):     befff9f8  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befff9fc  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa00  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa04  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa08  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa0c  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa10  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa14  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa18  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa1c  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa20  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa24  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa28  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa2c  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa30  df0027ad  
04-07 12:01:21.786: I/DEBUG(1414):     befffa34  00000000  
04-07 12:01:21.786: I/DEBUG(1414): #00 befffa38  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa3c  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa40  b000a07c  
04-07 12:01:21.786: I/DEBUG(1414):     befffa44  b000a07c  
04-07 12:01:21.786: I/DEBUG(1414):     befffa48  befffbd6  [stack]
04-07 12:01:21.786: I/DEBUG(1414):     befffa4c  00000118  
04-07 12:01:21.786: I/DEBUG(1414):     befffa50  b000a07c  
04-07 12:01:21.786: I/DEBUG(1414):     befffa54  b000a07c  
04-07 12:01:21.786: I/DEBUG(1414):     befffa58  b00094f4  /system/bin/linker
04-07 12:01:21.786: I/DEBUG(1414):     befffa5c  00000006  
04-07 12:01:21.786: I/DEBUG(1414):     befffa60  befffa78  [stack]
04-07 12:01:21.786: I/DEBUG(1414):     befffa64  b0009914  /system/bin/linker
04-07 12:01:21.786: I/DEBUG(1414):     befffa68  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa6c  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa70  b0006e8b  /system/bin/linker
04-07 12:01:21.786: I/DEBUG(1414):     befffa74  b00048e5  /system/bin/linker
04-07 12:01:21.786: I/DEBUG(1414):     befffa78  00000000  
04-07 12:01:21.786: I/DEBUG(1414):     befffa7c  00000000  

Original comment by Vincenzo...@gmail.com on 7 Apr 2013 at 10:03

GoogleCodeExporter commented 9 years ago
Yeah. That is the ndk > 8b error. Are you sure you did ndk-clean. and eclipse 
clean after using the older ndk?

Original comment by arne@rfc2549.org on 7 Apr 2013 at 10:25

GoogleCodeExporter commented 9 years ago
I've done the following steps:
1)downloaded and extracted ndk 8b
2)set ndk path in eclipse--->windows-->preferences-->android-->ndk
3)set the ndk path in PATH variable
4)clean the project
5)run build native.bat
6)run the project

Maybe there's some steps I missed?

Original comment by Vincenzo...@gmail.com on 7 Apr 2013 at 10:28

GoogleCodeExporter commented 9 years ago
That should work. For me these steps work. You will have to analyze the stack 
trace (see google how to get a stacktrace from the logcat output) since I can 
reproduce that only with ndk 8d what you are seeing and not with 8b. 

Original comment by arne@rfc2549.org on 7 Apr 2013 at 10:44

GoogleCodeExporter commented 9 years ago
Solved...I didn' disable google breakcode, so every time ndk-build failed to 
compile and as a result I used the old files(built with nkd>8b).

Sorry for my carelessness and thanks.

Original comment by Vincenzo...@gmail.com on 8 Apr 2013 at 9:57

GoogleCodeExporter commented 9 years ago

Original comment by arne@rfc2549.org on 8 Apr 2013 at 2:06