PurpleI2P / i2pd-android

i2pd for Android
BSD 3-Clause "New" or "Revised" License
195 stars 23 forks source link

App not opening. #34

Closed vartiovaara closed 2 years ago

vartiovaara commented 2 years ago

Installed 2.40.0 from F-Droid. When opening, the app closes almost immediately.

r4sas commented 2 years ago

What Android version are you using? Can you fetch logcat output from device?

vartiovaara commented 2 years ago

I am using Android 11 with "5 December 2021" security updates on an Oneplus Nord 2 5G. Output from command "adb logcat | grep i2pd": https://pastebin.com/vH2qgSg5

r4sas commented 2 years ago

Have you enabled [meshnets] yggdrasil option? I didnt' see entry point #1 here:

02-03 12:18:54.733 17854 17854 F DEBUG   : Process name is org.purplei2p.i2pd, not key_process
02-03 12:18:54.734 17854 17854 F DEBUG   : pid: 17761, tid: 17789, name: i2pdDaemonStart  >>> org.purplei2p.i2pd <<<
02-03 12:18:54.736  1553  1581 I OplusAppSwitchManagerService:  handleAppVisible , r = ActivityRecord{761b077 u0 org.purplei2p.i2pd/.I2PDActivity t1962}
02-03 12:18:54.799 17854 17854 F DEBUG   :       #02 pc 000000000052a5c4  /data/app/~~uW1xmkKcN9EDNb4oE4hSOg==/org.purplei2p.i2pd-ac-gDfihTtCW05wtLJS3ug==/lib/arm64/libi2pd.so (i2p::util::net::GetYggdrasilAddress()+200) (BuildId: 031dda00b7096c7fa8314235c4e94d2880428f4b)
02-03 12:18:54.799 17854 17854 F DEBUG   :       #03 pc 0000000000498008  /data/app/~~uW1xmkKcN9EDNb4oE4hSOg==/org.purplei2p.i2pd-ac-gDfihTtCW05wtLJS3ug==/lib/arm64/libi2pd.so (i2p::data::Reseeder::ReseedFromServers()+328) (BuildId: 031dda00b7096c7fa8314235c4e94d2880428f4b)
r4sas commented 2 years ago

ref: https://github.com/PurpleI2P/i2pd/commit/0062f7d76492bce70d76ca1f22c67cc18ff5b8f8

But full stack is still needed, maybe here's problem with android-ifaddrs.

vartiovaara commented 2 years ago

Have you enabled [meshnets] yggdrasil option?

I honestly don't know whether it is enabled. I just installed it an am unable to run it. Never changed any settings or parameters.

r4sas commented 2 years ago

I honestly don't know whether it is enabled. I just installed it an am unable to run it. Never changed any settings or parameters.

Okay. I see that code used for reseeding tried to detect if yggdrasil present even if it is disabled (fixed in code above). Cay you try start app again and get full crash dump from adb? Just start adb logcat, start app and get full log of crash.

r4sas commented 2 years ago

Issue found, update will be pushed on next week with new release.

r4sas commented 2 years ago

2.41.0 released. F-droid must detect release and update package, that can take 1-2 days.