NimBLE-Arduino: was this a know crash?

Possibly related to >40 devices present? @h2zero, was this one of the things you found? Appears on a device in holland but not for me - I don’t have 40 devices - most I get is ~15.

Or, it could be a specific device. Crash has been seen marked core 0 and another the same marked core 1. Will be trying you latest push and latest arduino push tonight, but just wanted to confirm if you had seen this before?

13:06:18.884 WIF: Checking connection...
abort() was called at PC 0x401c6be7 on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x40090524:0x3ffe4f50 0x400907a1:0x3ffe4f70 

0x401c6be7:0x3ffe4f90 .text._ZNSt12length_errorC2EPKc
0x401c6c2e:0x3ffe4fb0 
0x401c61a9:0x3ffe4fd0 
0x401c5ef4:0x3ffe4ff0 
0x401c63f1:0x3ffe5010 
0x4011c36f:0x3ffe5030 _S7_St20forward_iterator_tag$isra$33
0x4011c3b9:0x3ffe5060 .text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcjRKS3_$isra$32
0x4011ca91:0x3ffe5080 .text._ZN22NimBLEAdvertisedDevice18parseAdvertisementEPhh
0x4011e9a7:0x3ffe5160 .text._ZN10NimBLEScan14handleGapEventEP13ble_gap_eventPv
0x4012155a:0x3ffe51a0 .text.ble_gap_rx_adv_report
0x4012657d:0x3ffe5210 
0x40126317:0x3ffe5250 
0x4012687c:0x3ffe5270 
0x40124c31:0x3ffe5290 
0x4012c306:0x3ffe52b0 
0x4011d517:0x3ffe52d0  .text._ZN12NimBLEDevice9host_taskEPv
0x400917a2:0x3ffe52f0

Rebooting...
ets Jun  8 2016 00:22:57

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24 (20 by maintainers)

Most upvoted comments

Yes, this is the issue on the new arduino core. I’ll try for a fix today.

Sorry, Hadn’t had my coffee yet, that is not the same error I saw. That looks like an error in the advertisement parsing. I’m working on refactoring that, hopefully it will solve this issue.