guardianproject / haven

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
https://guardianproject.github.io/haven/
GNU General Public License v3.0
6.62k stars 728 forks source link

crash on AOS 6.0 after configuration #319

Open ghost opened 6 years ago

ghost commented 6 years ago

I'm quite bummed.. I had to buy a new phone for the sole purpose of running Haven, because my old phone is limited to AOS 2.3 (see https://github.com/guardianproject/haven/issues/109).

Cutting to the chase, the new phone crashes after clicking "finish" following the config wizard, giving:

"Unfortunately, Haven has stopped."

This is the relevant logcat snip:

<timestamp> 1161  1183 D WindowManager:
 **** Removing window Window{6270cff u0 Application Error: org.havenapp.main}: count=2 
Callers=com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2814 
com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10431 
com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9039 
com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:8986 
com.android.server.wm.WindowManagerService.-wrap6:-1 

Possibly relevant: the device has netguard and orbot installed. Netguard has the local VPN control, and it's in whitelist mode (with Haven whitelisted). Netguard SOCKS5 proxies all allowed traffic to Orbot. I'm guessing that's a typical configuration for Haven.

update I bought yet another phone, same brand, older model. The above problem does not occur on the older model. Both devices are Wiko branded, and both have Haven ver. 0.1.0-beta-3. Haven works on the AOS 5.1 device, but crashes on the AOS 6 device.