Subsurface-mobile on Android

Dirk Hohndel dirk at hohndel.org
Sun Aug 28 11:55:00 PDT 2016


It seems that when I pushed the latest build (the one that works on Nougat) to production, things started to fail for a few of our users. And of course instead of sending email to ask for help, we are getting one and two star reviews instead. Great.

Anyway… could those on Android try if they can reproduce it? One person contacted me by email and the logs on his system are just strange…

2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,Trying to load lib /data/app-lib/org.subsurfacedivelog.mobile-1/libssl.so 0x41b3a160
2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,Added shared lib /data/app-lib/org.subsurfacedivelog.mobile-1/libssl.so 0x41b3a160
2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,No JNI_OnLoad found in /data/app-lib/org.subsurfacedivelog.mobile-1/libssl.so 0x41b3a160, skipping init
2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,Trying to load lib /data/app-lib/org.subsurfacedivelog.mobile-1/libcrypto.so 0x41b3a160
2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,Added shared lib /data/app-lib/org.subsurfacedivelog.mobile-1/libcrypto.so 0x41b3a160
2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,No JNI_OnLoad found in /data/app-lib/org.subsurfacedivelog.mobile-1/libcrypto.so 0x41b3a160, skipping init
2016-08-28 11:48:07,DEBUG,dalvikvm,Unknown,Trying to load lib /data/app-lib/org.subsurfacedivelog.mobile-1/libssh2.so 0x41b3a160
2016-08-28 11:48:07,ERROR,dalvikvm,Unknown,dlopen("/data/app-lib/org.subsurfacedivelog.mobile-1/libssh2.so") failed: dlopen failed: cannot locate symbol "EVP_cast5_cbc" referenced by "libssh2.so"...


So it’s loading lib crypto.so successfully 

$ nm libcrypto.so | grep EVP_cast5
000c3a38 T EVP_cast5_cbc

which contains the symbol that it then claims it can’t find.

I’m completely baffled.

I don’t know, yet, if that’s the common problem for everyone, but more data points (or even better, a fix) would be very welcome.

Of course it works on the two Android phones I have tested it on (Nexus 6P with 6.0.1 and 5X with 7.0)

Thanks

/D


More information about the subsurface mailing list