Closed colinrblake closed 3 months ago
Stack trace decodes as...
Exception Cause: 4 [Level1Interrupt: Level-1 interrupt as indicated by set level-1 bits in the INTERRUPT register]
0x402687de: pm_send_nullfunc at ??:?
0x40107a4e: ?? ??:0
0x4026a08c: ppRecycleRxPkt at ??:?
0x402685f4: pm_keep_active_enable at ??:?
0x4026e5ed: ets_timer_handler_isr at ??:?
0x4026e632: ets_timer_handler_isr at ??:?
0x40233ece: loop_task(ETSEventTag*) at core_esp8266_main.cpp:?
0x40000f49: ?? ??:0
0x40000f49: ?? ??:0
And it's interesting that the timestamp is negative. Looking at log.h I see we are using format specifier of %7d
which is signed integer type. millis()
is returning unsigned long, so we should change the format specifier to %7lu
I've not seen this crash before. The log suggests that the HomeKit hub is somehow disconnected, and we have seen crashes when events occur and the ratgdo server tries to notify the hub when there is no connection to HomeKit. So perhaps that is the reason.
And it's interesting that the timestamp is negative. Looking at log.h I see we are using format specifier of
%7d
which is signed integer type.millis()
is returning unsigned long, so we should change the format specifier to%7lu
Just opened PR #216 which includes this fix.
We also need to update Arduino HomeKit server logging to unsigned long as well. I have done this in the log_char_update branch, but we need to decide when to merge that to main and update our platform.ini to point to it.
Implemented in v1.7
Got my first crash since installing 1.6.0. In case you want to take a look. Feel free to close if nothing interesting.