-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault when uploading to blob on arm32 #2585
Comments
Is there a callstack?? |
[New Thread 0xb6ffc2f0 (LWP 5687)] Thread 3 "Test" received signal SIGSEGV, Segmentation fault. (gdb) backtrace May not be relavant but I was trying valgrind and it said this. valgrind: m_transtab.c:2459 (vgPlain_init_tt_tc): Assertion 'sizeof(TTEntryC) <= 88' failed. |
This might be related to #2554 ? AFAIK this was fixed in the Repo, but there is no updated release yet |
Can you verify the main branch? |
Seemed to have fixed it, I was statically linking the libs. Dynamically linking fixed the issue Found various mentions of this in similar posts: After this I still had a crash with:
Adding the below code fixed this: Ref: |
ARM32 controller armv7.
Cross Compiled on Ubuntu-17 4.13.0-46-generic using:
Cross Compiled Statically Linked:
Compiling only the iothub_client_sample_upload_to_blob sample on my Linux VM works and it successfully uploads (with just the azure sdk compiled). However when I cross compile the same code to my arm32 controller I get a segmentation fault when 'IoTHubDeviceClient_LL_UploadToBlob' is called.
Log output:
< HTTP/1.1 200 OK
< content-length: 392
< content-type: application/json
< date: Tue, 27 Feb 2024 16:28:08 GMT
<
Segmentation fault
The text was updated successfully, but these errors were encountered: