Android App Crashing Related to PiHole and VPN

Android 10.0
Joplin App Version: 1.0.325

Three alternative connections:
Wifi / Pihole - crash
Cell / VPN - crash
Cell / VPN Off - no crash

Background: I have a pihole in my network and i also use IVPN. When I am trying to use Joplin with either my home wifi or my VPN enable the app crashes within seconds of using, every time. If i disconnect the VPN and or my wifi then the app works flawlessly. The only site being blocked by my pihole is ssl.google-analytics.com

My bug reports are over the size limit to include in post. If there are any details I could include, please let me know.

Do you have any crash dump? Chances are we can’t do much about it as this is a low level issue that should be reported to Electron instead, but you would need a detailed crash dump for that.

See logs below

bugreport-coral-QQ2A.200405.005-2020-04-06-16-25-10-dumpstate_log-24142.txt (60.5 KB)

bugreport-coral-QQ2A.200405.005-2020-04-06-16-19-54-dumpstate_log-20582.txt (60.9 KB)

Electron has a long standing issue with proxy networks. Even installation is difficult in proxy networks.

I thought Android version does not use Electron. Or does it?

No, it uses React Native. But I thing the issues are the same, although I cannot confirm it.

Any errors in Joplin log? Or would you be able to get the system log using adb logcat for example?

Sorry somehow I missed that it’s about the Android app and not desktop one. In that case we’ll need the crash report as described there https://joplinapp.org/debugging

Two bug reports:

Sorry for dropbox link, both are over the upload size for the forum.

This is issue it seems:

04-06 16:20:06.886 10317 20761 20882 W et.cozic.jopli: Throwing OutOfMemoryError "Failed to allocate a 119448528 byte allocation with 25149440 free bytes and 79MB until OOM, target footprint 478608184, growth limit 536870912" (VmSize 43584004 kB)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: FATAL EXCEPTION: pool-2-thread-1
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: Process: net.cozic.joplin, PID: 20761
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: java.lang.OutOfMemoryError: Failed to allocate a 119448528 byte allocation with 25149440 free bytes and 79MB until OOM, target footprint 478608184, growth limit 536870912
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at java.lang.StringFactory.newStringFromChars(StringFactory.java:260)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at java.lang.StringFactory.newStringFromBytes(StringFactory.java:245)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at java.lang.StringFactory.newStringFromBytes(StringFactory.java:65)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at android.util.Base64.encodeToString(Base64.java:457)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at com.RNFetchBlob.RNFetchBlobFS.readFile(RNFetchBlobFS.java:215)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at com.RNFetchBlob.RNFetchBlob$6.run(RNFetchBlob.java:227)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-06 16:20:06.887 10317 20761 20882 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:919)

However I don’t see a connection to PiHole or VPN.

Still happening all the time. Android app is unuseable whether connected to WiFi or not.

Latest bug report

I’ve fixed the bug (I’m assuming it’s the same issue as before - haven’t checked your latest report) but Android app has not been updated in a while

Thanks. I guess I’ll just pray for an Android app update.