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

Crash on CmdResetRadioConfig in response_notify #10

Closed
trixing opened this issue May 17, 2020 · 1 comment
Closed

Crash on CmdResetRadioConfig in response_notify #10

trixing opened this issue May 17, 2020 · 1 comment

Comments

@trixing
Copy link
Contributor

trixing commented May 17, 2020

gnarl_crash.txt

I'm not sure why and what CmdResetRadioConfig does different (maybe because empty body?) but it reliably crashes for me (full log attached)

I (295199) GNARL: CmdResetRadioConfig
D (295199) GNARL: send_code DD
E (295199) NimBLE: Controller not ready to receive packets from host at this time, try again after sometime
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400dcd67 PS : 0x00060d30 A0 : 0x800da71d A1 : 0x3ffc7780
0x400dcd67: ble_l2cap_tx at /Users/jdi/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_l2cap.c:410

A2 : 0x3ffc2e54 A3 : 0x3ffc0ebc A4 : 0x3ffc3658 A5 : 0x3ffc77b0
A6 : 0x00000000 A7 : 0x00000002 A8 : 0x00000000 A9 : 0x3ffc7760
A10 : 0x00000000 A11 : 0x3ffc7780 A12 : 0x00000004 A13 : 0x3ffc7780
A14 : 0x3ffc2e54 A15 : 0x00000000 SAR : 0x00000004 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000014 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffe

ELF file SHA256: 33e8801395f94e75a8bac1b9c9eb49e9b4d54a60afbbf7f0fd9e2dad6ba8c035

Backtrace: 0x400dcd64:0x3ffc7780 0x400da71a:0x3ffc77b0 0x400da509:0x3ffc77e0 0x400d9795:0x3ffc7820 0x400d52d0:0x3ffc7840 0x400d5861:0x3ffc7860 0x400d60aa:0x3ffc7880 0x40090a09:0x3ffc7930
0x400dcd64: ble_l2cap_tx at /Users/jdi/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_l2cap.c:410

0x400da71a: ble_att_tx at /Users/jdi/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_cmd.c:76

0x400da509: ble_att_clt_tx_notify at /Users/jdi/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_clt.c:962

0x400d9795: ble_gattc_notify_custom at /Users/jdi/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gattc.c:4178

0x400d52d0: response_notify at /Users/jdi/esp/gnarl/project/build/../main/ble.c:245

0x400d5861: send_code at /Users/jdi/esp/gnarl/project/build/../main/ble.c:254

0x400d60aa: gnarl_loop at /Users/jdi/esp/gnarl/project/build/../main/gnarl.c:339 (discriminator 9)

0x40090a09: vPortTaskWrapper at /Users/jdi/esp/esp-idf/components/freertos/port.c:143

@trixing
Copy link
Contributor Author

trixing commented May 17, 2020

This is with the esp-idf sdk on this commit

commit 93a8603c545fb8e54741d6685146e2f3b874378d (HEAD -> master)
Merge: a0aab6650 cd730b94b
Author: Ivan Grokhotkov ivan@espressif.com
Date: Mon Nov 18 19:34:05 2019 +0800

I cannot reproduce this on the current sdk, let's close this for now.

@trixing trixing closed this as completed May 17, 2020
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

1 participant