sudomesh / disaster-radio

A (paused) work-in-progress long-range, low-bandwidth wireless disaster recovery mesh network powered by the sun.
https://disaster.radio
1.06k stars 107 forks source link

Guru meditation error #116

Closed DheerajSingh1107 closed 2 years ago

DheerajSingh1107 commented 2 years ago

Hi, I am getting a guru meditation error when the number of _routeEntry goes above 16.

elfo,167 Routing Table: total routes 3 1 hops from c0d3f00d via c0d3f00d metric 0 2 hops from a0d3cafe via c0d3f00d metric 0 1 hops from 00d3f00d via c0d3f00d metric 0 Neighbor Table: c0d3f00d 0

hello,151 Routing Table: total routes 4 1 hops from c0d3f00d via c0d3f00d metric 0 2 hops from a0d3cafe via c0d3f00d metric 0 1 hops from 00d3f00d via c0d3f00d metric 0 1 hops from c0d3f001 via c0d3f001 metric 0 Neighbor Table: c0d3f00d 0 c0d3f001 0

hello,168 Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled. Core 1 register dump: PC : 0x00000000 PS : 0x00060730 A0 : 0x800d0f9d A1 : 0x3ffb1be0
A2 : 0x74656d20 A3 : 0x00000000 A4 : 0x00000347 A5 : 0x3ffc03e4
A6 : 0x3ffb1c1c A7 : 0x3ffb9594 A8 : 0x800d35ad A9 : 0x3ffb1ba0
A10 : 0x74656d20 A11 : 0x3ffb9594 A12 : 0x00000346 A13 : 0x3ffb1c60
A14 : 0x3ffb1be0 A15 : 0x00000008 SAR : 0x00000004 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffff2e

ELF file SHA256: 0000000000000000

I am getting random _routeEntry when I only have two devices it shows more than that.

DheerajSingh1107 commented 2 years ago

The number of paths can be up to 15 only more than t15 will cause error. Code also generate random nodes as the there may be some garbage data,