-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
[Bugfix]Provide default task data when retrieving all descriptors. #888
Conversation
2f3dc3a
to
6427ee0
Compare
Hmm, getting a LoadException in a different location now:
|
That is very odd, I will have to test this tomorrow. @gkoh any insight would be much appreciated in the mean time. |
@gkoh Provide the crash register dump if possible, |
Good call.
|
According to the manufacturer data, the target advertising device is an Apple product. |
I'm stumped, nullptr shouldn't be possible since there is a statically allocated object which is passed to
Do you have a copy of the output from the previous PR just for comparison? |
WTF 😐
I reverted to 2.2.1 to reproduce and get:
The backtrace (consistent with before):
|
For ease of repro, I've pushed to a public repository: It's targeted at a M5Stack Core2, but any ESP32 should repro (I'd hope). |
I added some debug, the
|
Usually, if I get weird memory behaviour, I've blown the stack. |
Thanks @gkoh |
No problems! |
I got suspicious of the backtrace, so did ye olde
with this hacking:
I guess |
->
|
I hacked in @thekurtovic changes to
With additional debug output, neither There's something really weird going on here. |
Just to eliminate the hardware, I swapped to a different ESP32 and can reproduce. |
I tried to test the code I posted above* but can't reproduce your issue.
Do you still get this issue if you try connecting to something else? Complete function
*Was too lazy to change the subsequent uses of |
It only seems to fail with whatever Apple target (which I can't physically identify ... possible not in my house ...)
Aha! Thank you for that. With this complete function it does not crash! |
Thanks for the help and feedback here, been very busy the last week so I only had time to mock up a fix. Will update and merge this in a few moments. |
6427ee0
to
94b7457
Compare
* Update the descriptor filter when trying again with different UUID sizes.
94b7457
to
cb072c3
Compare
Fixes #884