nmeum/android-tools

Fastboot ends in "Segmentation Fault"

CastorDYvaine opened this issue · 3 comments

I have aarch64 android-tools in termux, and am having an issue where fastboot gives an error message saying "Segmentation Fault".
I have uninstalled and then reinstalled android-tools.

Android 10 : Motorola Moto E7 : aarch64 : Unrooted Stock rom
termux fboot err1
termux fboot err2
termux fboot err3

Could you please run the tool with debugger gdb fastboot? It will give a better stacktrace information.

That bug is fixed in their packaging with termux/termux-packages/issues/7882 .

The backtrace I saw before checking their issue tracker was most likely fixed by this line change https://github.com/termux/termux-packages/pull/7882/files#diff-3f73b981194d1b1f8a51c2295ea09a5a75d569a61c15b94187852daf2143dc9cR22

I fixed it somehow.
I ran it in gdb and it worked while in there, then I exited gdb and ran it normally and it worked (huh??).
Unfortunately I cannot provide logs as I am a noob at using gdb.
Thanks for your help anyways.