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
On an ARM Cortex A9 , the posting a request fails during execution of libcrypto code
(gdb) bt
#0 0xb58e3568 in _armv7_tick () from /usr/lib/libcrypto.so.1.0.0 #1 0xb58e00a0 in OPENSSL_cpuid_setup () from /usr/lib/libcrypto.so.1.0.0 #2 0xb6fe2430 in ?? () from /lib/ld-linux-armhf.so.3 #3 0x00000004 in ?? ()
It is well documented gdb will thrown an illegal instruction exception; however, even running without GDB, the post function yields a status code of zero and no valid data; the program continues and throws a DropboxException.
On an ARM Cortex A9 , the posting a request fails during execution of libcrypto code
(gdb) bt
#0 0xb58e3568 in _armv7_tick () from /usr/lib/libcrypto.so.1.0.0
#1 0xb58e00a0 in OPENSSL_cpuid_setup () from /usr/lib/libcrypto.so.1.0.0
#2 0xb6fe2430 in ?? () from /lib/ld-linux-armhf.so.3
#3 0x00000004 in ?? ()
It is well documented gdb will thrown an illegal instruction exception; however, even running without GDB, the post function yields a status code of zero and no valid data; the program continues and throws a DropboxException.
`DropboxAuthInfo DropboxWebAuth::getTokenFromCode(const DropboxAppInfo& appInfo, QString code)
{
QNetworkAccessManager mgr;
QEventLoop loop;
QUrl url(QString("https://%1/%2").arg(DropboxHost::DEFAULT().getApi()).arg("oauth2/token"));
Below is how the binary was compiled:
readelf -A authorize
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "7-A"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_FP_arch: VFPv3-D16
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_rounding: Needed
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align_needed: 8-byte
Tag_ABI_align_preserved: 8-byte, except leaf SP
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP
Tag_ABI_VFP_args: VFP registers
Tag_CPU_unaligned_access: v6
I am unsure if this is an issue how openSSL was built or there needs to be more code to handle the openSSL exceptions.
The text was updated successfully, but these errors were encountered: