Skip to content
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

NimBLE-Arduino debug exception when trying to initialize BLE functions #687

Closed
capc0307 opened this issue Jun 17, 2024 · 3 comments
Closed

Comments

@capc0307
Copy link

capc0307 commented Jun 17, 2024

Hi,

I'm having trouble with the library. I have used the exact logic of my code on a project not to long ago and it worked well. Now I'm implementing the exact same logic in a considerable larger project and it's thowing the following debug exception. What does this debug excepcition mean and how can I solve it? I'm currently using 1.4.1 version of the library and a ESP32-S3 with the version 3.0.1 of the Arduino core for ESP32.

Guru Meditation Error: Core  0 panic'ed (Unhandled debug exception). 
Debug exception reason: Stack canary watchpoint triggered (ipc0) 
Core  0 register dump:
PC      : 0x403836be  PS      : 0x00060036  A0      : 0x80381bb0  A1      : 0x3fcf0d00  
A2      : 0x3fc98dc4  A3      : 0xffffffff  A4      : 0x00060023  A5      : 0x00060023  
A6      : 0xb33fffff  A7      : 0xb33fffff  A8      : 0x80383851  A9      : 0x3fc9b5f0  
A10     : 0x00060023  A11     : 0x00000001  A12     : 0x00060021  A13     : 0x00000001  
A14     : 0x03c98cc0  A15     : 0x3fc98cc0  SAR     : 0x00000004  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x40056f5c  LEND    : 0x40056f72  LCOUNT  : 0xffffffff  


Backtrace: 0x403836bb:0x3fcf0d00 0x40381bad:0x3fcf0d30 0x40383a48:0x3fcf0d60 0x40383a3e:0xa5a5a5a5 |<-CORRUPTED

Thanks in advance,

capc0307.

@capc0307 capc0307 changed the title NimBLE-Arduino debug exception when trying to initilialize BLE functions NimBLE-Arduino debug exception when trying to initialize BLE functions Jun 17, 2024
@capc0307
Copy link
Author

capc0307 commented Jun 17, 2024

I've read the issue #686 called NimBLE-Arduino crashes with esp32 version 3.0.1. and a LilyGo T-display S3 and it seems I have a similar issue (if not the same). I just uninstall and reinstalled the NimBLE-Arduino library through the Arduino IDE and I still got the same problem.

@h2zero
Copy link
Owner

h2zero commented Jun 17, 2024

You need to download the current commit not the release to use the fix.

@capc0307
Copy link
Author

You need to download the current commit not the release to use the fix.

I downloaded the current commit and it worked perfectly. Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants