Https disconnect crash issue on SDK 3.1.0

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

We saw a major issue on calling wiced_tcp_disconnect with tis context that will lead to system crash.. This can be very easily reproduced on the demo code snip.https_client sample in the SDK.

Best Regards,

Aaron Lee

0 Likes
1 Solution
Anonymous
Not applicable

This has been root caused to a bug in gcc producing an invalid instruction sequence under some circumstances.

Recommended fix is to modify the wiced_toolchain_ARM_GNU.mk and change line 102/103 from "-O3" to "-Os"

View solution in original post

8 Replies