Magisk-Modules-Repo / com.piyushgarg.rclone

249 stars 38 forks source link

"TLS segment is underaligned" error with the rclone binary included in the module #100

Open ioogithub opened 3 years ago

ioogithub commented 3 years ago

This is a fresh install of the Magisk module downloaded and installed from inside Magisk 23.0

rclone: (v1.48.0) mod: (v1.8) by piyushgarg @ github

Error:

/data/adb/modules/com.piyushgarg.rclone/rclone --version error: "/data/adb/modules/com.piyushgarg.rclone/rclone": executable's TLS segment is underaligned: alignment is 8, needs to be at least 64 for ARM64 Bionic Aborted

any subsequent rclone commands includ mount etc all product the same TLS error.

This is a very unusual error, is the rclone binary distributed with this module corrupt?

ioogithub commented 3 years ago

What version of rclone is included in v1.8 of this app? It is not clear from the changelog or the readme.

piyushgarg commented 3 years ago

Try the new update.

Speeddymon commented 2 years ago

I am seeing this on Magisk Canary with v1.8 on my Pixel 6 Pro.

I downloaded this gzip from the rclone beta server and replaced the rclone binary with the one inside the gzip and it works fine.