-
Notifications
You must be signed in to change notification settings - Fork 511
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix hardfault handler to SOS again #2381
Conversation
It seems that the hardfault handler is part of the system layer, so it cannot be easily hotfixed without changing how the system layer is downloaded to the device. Or does the hardfault handler have weak linkage so we can override it? |
Thanks for the PR, @elcojacobs. I'm not sure how this issue sneaked through testing, but your fix resolves it for me 馃憤 |
Thanks for merging the fix. Will build this into a release soon too? |
We will include this fix in the next 3.x release that we're hoping to get out this month. |
Can you please do better than 'this month'? This is a critical bug that causes a complete device freeze. It causes large batches of beer to be ruined for my customers. Note that even the watchdog stops working with this bug. You don't have to fast track 3.2.0 for me, just merge only the hardfault fix into the last release candidate. |
Can you discuss a hotfix release internally and inform us of the outcome? Waiting more than a week is unacceptable for my customers. If you cannot do a hotfix release, we have two options:
|
That's the only timeline I have at the moment, but the possibility of a hotfix release is being discussed in the context of your ticket for the original issue. |
This fixes the broken hardfault handler as reported in #2380
I added the
.align 4
line, which I think might be the actual fix for the compiler warning that the commit that introduced the bug intended to address.It is very easy to test the hard fault handler, so it seems that the compiler warning was 'fixed' in the commit below without any testing! 馃槰
7b6e208
I think that you are actually causing a hardfault in the hardfault handler now, resulting in an endless loop! @avtolstoy @sergeuz
Test app: