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
{{ message }}
Repository navigation
OpenSSL 1.1.1l crash in Android10&Android11 because of _armv7_tick #17009
branch: 1.1.1Applies to OpenSSL_1_1_1-stable branch (EOL)help wantedIssue to be resolved or being resolved by community.triaged: bugThe issue/pr is/fixes a bug
#00 pc **000e4da6** /data/app/com.barmak.client.fast-djFhc4R55vV2_LYzDj9o9A==/lib/arm/libhci-sys.so
#01 pc 0012eedf /data/app/com.barmak.client.fast-djFhc4R55vV2_LYzDj9o9A==/lib/arm/libhci-sys.so
--- --- ---
00 pc 000e4da6 /data/app/com.barmak.client.fast-djFhc4R55vV2_LYzDj9o9A==/lib/arm/libhci-sys.so
the address point to _armv7_tick in libhci-sys.so , an issue reported before issues/9498
it seems that update to 1.1.1l can solve it . but it reported again
Android 10,level 29
ROM Oppo/COLOROS
arme-v7a
First it should be clarified that the "fix" for #9498, namely #15870, does NOT fix the issue for _armv7_tick, because in crypto/armcap.c the SIGILL check for _armv7_tick is executed regardless of the availability of getauxval:
/* Things that getauxval didn't tell us */if (sigsetjmp(ill_jmp, 1) ==0) {
_armv7_tick();
OPENSSL_armcap_P |= ARMV7_TICK;
}
Would it be possible for you to test if #17555 solves the issue? It looks like armv7_tick is clobbering the r1 register and that PR modifes the return type to be uint64_t so the compiler knows it's overwrriten.
branch: 1.1.1Applies to OpenSSL_1_1_1-stable branch (EOL)help wantedIssue to be resolved or being resolved by community.triaged: bugThe issue/pr is/fixes a bug
Activity
Superpengun commentedon Nov 11, 2021
it occured in oppo phones like oppo PADM00, PACM00
all of them are in Android 10,level 29
ROM is Oppo/COLOROS
armeabi-v7a
xtkoba commentedon Nov 12, 2021
First it should be clarified that the "fix" for #9498, namely #15870, does NOT fix the issue for
_armv7_tick, because incrypto/armcap.ctheSIGILLcheck for_armv7_tickis executed regardless of the availability ofgetauxval:xtkoba commentedon Nov 13, 2021
See also #14838
ALICE-13065: disable armv7_tick for openssl entropy on tv
marler8997 commentedon Jan 20, 2022
Would it be possible for you to test if #17555 solves the issue? It looks like
armv7_tickis clobbering ther1register and that PR modifes the return type to beuint64_tso the compiler knows it's overwrriten.ALICE-13065: disable armv7_tick for openssl entropy on tv
t8m commentedon Feb 22, 2024
The version 1.1.1 is not supported anymore. Closing. If this is still an issue with currently supported releases, please open a new issue.