You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wallet creation fails on android devices that has no support for unix flock system call with the following error: loader.CreateNewWallet:: wallet.CreateDB: Cannot acquire directory lock on "/data/user/0/com.decred.dcrandroid.testnet/files/wallet/testnet3/wallet.db". Another process is using this Badger database.: permission denied. See: planetdecred/dcrandroid#352
Additional Information
Issue seems to occur on devices running Android 6 only.
Error was reproduced on Infinix hot 4 running Android 6.0 and Samsung Galaxy s5 running 6.0.1
Logs from Adb shell logcat:
08-21 10:26:26.738 2819 2819 E audit : type=1400 msg=audit(1566379586.728:1930): avc: denied { lock } for pid=14095 comm="Thread-21419" path="/data/data/com.decred.dcrandroid.testnet/files/wallet/testnet3/wallet.db" dev="mmcblk0p26" ino=360557 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
Log suggest that SELinux is blocking the flock call, and issue seems to be a known bug in android 6. See this.
The text was updated successfully, but these errors were encountered:
Wallet creation fails on android devices that has no support for unix flock system call with the following error: loader.CreateNewWallet:: wallet.CreateDB: Cannot acquire directory lock on "/data/user/0/com.decred.dcrandroid.testnet/files/wallet/testnet3/wallet.db". Another process is using this Badger database.: permission denied. See: planetdecred/dcrandroid#352
Additional Information
Issue seems to occur on devices running Android 6 only.
Error was reproduced on Infinix hot 4 running Android 6.0 and Samsung Galaxy s5 running 6.0.1
Logs from Adb shell logcat:
08-21 10:26:26.738 2819 2819 E audit : type=1400 msg=audit(1566379586.728:1930): avc: denied { lock } for pid=14095 comm="Thread-21419" path="/data/data/com.decred.dcrandroid.testnet/files/wallet/testnet3/wallet.db" dev="mmcblk0p26" ino=360557 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
Log suggest that SELinux is blocking the flock call, and issue seems to be a known bug in android 6. See this.
The text was updated successfully, but these errors were encountered: