shiftrot / droidvim

DroidVim is a Vim clone for Android.
https://play.google.com/store/apps/details?id=com.droidvim
Apache License 2.0
269 stars 33 forks source link

segmentation fault on android 10 #31

Closed zqb-all closed 4 years ago

zqb-all commented 4 years ago

Screenshot_20200223_001559

the app can not work after update to android 10.

device: huawei p30 android version: 10

I love this app, any advices for me to make it work again?

shiftrot commented 4 years ago

I have confirmed that DroidVim works properly on Android 10 and R.

Please update DroidVim to the latest version first. If you are still having problems, try the following:

DroidVim can save app preferences and restore. (User vimrc and plugins are lost)

  1. Does the problem occur in a clean (Uninstall->Reinstall) environment ?
  2. Does the problem occur even after restoring the app preferences?
zqb-all commented 4 years ago

Does the problem occur in a clean (Uninstall->Reinstall) environment ?

yes,I uninstall then reinstall it from google play more then 3 times, problem still there. I try all the setting in "TROUBLESHOOTING", still segmentation fault. Then I try beta version in google play, same problem.

now I can use bash after the vim segmentation fault, if you want some information that can get from this bash, please let me know

shiftrot commented 4 years ago

Could you let me know the following information? Shut down and restart your device (P30), just in case.

Execute following commands in the shell:

  1. vim
  2. vim -u NORC -N
  3. vim -u NONE -N
  4. getprop
  5. set
  6. ls $APPLIB
  7. $APPFILES/usr/bin/busybox
  8. exit
  9. vim
  10. vim -u NORC -N
  11. vim -u NONE -N

An error may be displayed depending on the command, but ignore it.

Copy result to clipboard:

  1. Long press on screen (Popup Menu)
  2. Choose "Screen" (not "Clipboard") -> "Copy screen text" -> "Screen buffer" Paste it on this page or email me.

Library name:

  1. Long press on screen (Popup Menu)
  2. Choose "Preferences" -> "Shell" -> "Change system library".
  3. Let me know the library name displayed in "Current Library"

Sorry for your inconvenience.

zqb-all commented 4 years ago

Glad to do that, please check the email : )

shiftrot commented 4 years ago

Thank you for sending device data. Please try beta and let me know if it worked.

Current Library is arm64, I try to change to arm32, vim still now work.

Is it a "vim still NOT work." typo?

zqb-all commented 4 years ago

Is it a "vim still NOT work." typo?

Oh, sorry for the typo. yes, arm32 library not work.

Please try beta and let me know if it worked.

You mean the beta version from Play Store ? I just reinstall it, still segmentation fault. Play Store show that "last updated 21 Feb 2020", it's that the right version to try ?

vim

shiftrot commented 4 years ago

I think it's due to the slow PlayStore review.

Please try internal test version of DroidVim. (1.5.0-DEV-proot) https://play.google.com/apps/internaltest/4698173595896608727 !!! Uninstall the beta version before installing the internal test version. If zhua****@gmail.com is not your GooglePlay account, please let me know your GooglePlay account email address to invite.

zqb-all commented 4 years ago

Thanks. zhua****@gmail.com is my GooglePlay account.

https://play.google.com/apps/internaltest/4698173595896608727

But this url just show a link to PlayStore, and PlayStore still is version 21 Feb 2020 . I will check that tomorrow.

shiftrot commented 4 years ago

You should see the same opt-in / opt-out screen as in the beta. Could you try it again on the android device? https://play.google.com/apps/internaltest/4698173595896608727

If that doesn't work, try the links below. https://appdistribution.firebase.dev/i/skdysQyt

zqb-all commented 4 years ago

Now I can get the new version from PlayStore, I try uninstall->restart device->install, it crash on my device. Then I unistall it and try the app from https://appdistribution.firebase.dev/i/skdysQyt, the same crash. Also I try the Troubleshooting, not work.

Now crash just popup a window "Sorry, Vim has crashed", but did not show "Segmentation fault" or any other information on bash.

zqb-all commented 4 years ago

Cool! I just reveive DroidVim 1.5.0-DEV-bin64 (237), it works! Thank you : )

shiftrot commented 4 years ago

That means the problem is on the P30 side, not on DroidVim. There are probably other apps that do not work properly. If you can, please report to Huawei customer support that "applications using 32-bit binaries do not work".

I'd like to try some, can you help me a bit more.

zqb-all commented 4 years ago

If you can, please report to Huawei customer support that "applications using 32-bit binaries do not work".

OK

I'd like to try some, can you help me a bit more.

Sure, I am glad to do that. Send me new version and I will try it.

shiftrot commented 4 years ago

I have uploaded version 1.5.0. Release Candidate. If you do not have any problems with 1.5.0, please use the beta version of PlayStore. The same version has been uploaded as beta. Thank you😉

zqb-all commented 4 years ago

OK, I get version 1.5.0 from App Tester, now it works good. When PlatStore finish the review and show this beta version to me, I will try it.

zqb-all commented 4 years ago

Beta version of PlayStore works good.

shiftrot commented 4 years ago

If the beta released today works properly, it will be officially released next week. Thank you.