Informatic0re
11/16/2023, 2:39 PMfloitsch
11/16/2023, 2:47 PMInformatic0re
11/16/2023, 6:25 PMInformatic0re
11/16/2023, 6:26 PMfloitsch
11/16/2023, 6:58 PMkasperl
11/16/2023, 8:37 PMkasperl
11/16/2023, 8:40 PMkasperl
11/16/2023, 8:42 PMInformatic0re
11/16/2023, 8:45 PMkasperl
11/17/2023, 4:23 AMkasperl
11/17/2023, 6:20 AMkasperl
11/17/2023, 6:51 AMkasperl
11/17/2023, 8:13 AMkasperl
11/17/2023, 11:00 AMInformatic0re
11/17/2023, 11:51 AMnlsrchtr
11/17/2023, 1:45 PM******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.121>
******************************************************************************
EXCEPTION error.
ALREADY_IN_USE
0: watchdog-init <sdk>/esp32/esp32.toit:165:3
1: WatchdogServiceProvider.start-system-watchdog-if-necessary_.<block> <pkg:toit-watchdog>/provider.toit:70:7
2: Mutex.do.<monitor-block> <sdk>/monitor.toit:28:27
3: __Monitor__.locked_.<block> <sdk>/core/monitor_impl_.toit:123:12
4: __Monitor__.locked_ <sdk>/core/monitor_impl_.toit:95:3
5: Mutex.do <sdk>/monitor.toit:28:3
6: WatchdogServiceProvider.start-system-watchdog-if-necessary_ <pkg:toit-watchdog>/provider.toit:68:12
7: WatchdogServiceProvider.handle <pkg:toit-watchdog>/provider.toit:46:7
8: ServiceManager_.<lambda> <sdk>/system/services.toit:601:15
9: RpcRequest_.process.<block> <sdk>/rpc/broker.toit:98:26
10: RpcRequest_.process <sdk>/rpc/broker.toit:95:3
11: RpcRequestQueue_.ensure-processing-task_.<lambda>.<block>.<block> <sdk>/rpc/broker.toit:214:20
12: RpcRequestQueue_.ensure-processing-task_.<lambda>.<block> <sdk>/rpc/broker.toit:209:9
13: RpcRequestQueue_.ensure-processing-task_.<lambda> <sdk>/rpc/broker.toit:204:85
******************************************************************************
nlsrchtr
11/17/2023, 1:47 PMnlsrchtr
11/17/2023, 1:47 PM[wifi] INFO: network address dynamically assigned through dhcp {ip: 192.168.8.117}
[wifi] INFO: dns server address dynamically assigned through dhcp {ip: [192.168.8.1]}
[network] INFO: opened {connection: wifi-3}
[artemis.synchronize] INFO: connected to network
[artemis.containers.mqtt] DEBUG: starting {reason: 320002, arguments: null}
[artemis.scheduler] INFO: job started {job: container:mqtt}
[mqtt] DEBUG: mqtt.username definition is not a string or null
[mqtt] DEBUG: mqtt.username is automatically set
[mqtt] DEBUG: mqtt.password definition is not a string or null
[mqtt] DEBUG: mqtt.password is automatically set
[watchdog] INFO: created watchdog {id: mqtt-dog}
[watchdog] INFO: started watchdog {id: mqtt-dog}
[artemis.synchronize] INFO: request to run offline - start
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400f88a5 PS : 0x00060430 A0 : 0x800e2d17 A1 : 0x3fff82f : 0x3ffefce8 A3 : 0x3fff6d28 A4 : 0x3fff6d28 A5 : 0xffff9700
A6 : 0x00000001 A7 : 0xffffffff A8 : 0x3fff6d2c A9 : 0x00000000
A10 : 0x3fff6d2c A11 : 0x3fff6d28 A12 : 0x3ffd5178 A13 : 0x00000001
A14 : 0x00000000 A15 : 0x3ffc3960 SAR : 0x0000000e EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000004 LBEG : 0x40095f8e LEND : 0x40095f99 LCOUNT : 0x00000000
******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.121>
******************************************************************************
Backtrace: 0x400f88a2:0x3fff82f0 0x400e2d14:0x3fff8310 0x400e2d2e:0x3fff8340 0x400ebf4a:0x3fff8360 0x400ebf71:0x3fff8380
jag: Failed to decode line.
******************************************************************************
ELF file SHA256: 8799dbdb6f4eb226
Also somes along 🙂kasperl
11/17/2023, 1:49 PMkasperl
11/17/2023, 1:50 PMnlsrchtr
11/17/2023, 1:50 PMnlsrchtr
11/17/2023, 1:53 PMkasperl
11/17/2023, 1:55 PMkasperl
11/17/2023, 1:55 PMnlsrchtr
11/17/2023, 1:56 PM"artemis-version": "v0.14.1"
nlsrchtr
11/17/2023, 1:57 PM[network] WARN: opening failed {connection: wifi-3, error: IP_ASSIGN_FAILED}
kasperl
11/17/2023, 1:58 PMnlsrchtr
11/17/2023, 1:58 PM******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.121>
******************************************************************************
EXCEPTION error.
CONNECT_FAILED: no available networks
No such file: /Users/niels/.cache/jaguar/snapshots/4bfaea31-053d-53f8-8478-3b8456f32203.snapshot
----
Received a Toit system message. Executing the command below will
make it human readable:
----
jag decode WyNVBVVYU1UQdjIuMC4wLWFscGhhLjEyMVNVAFskVSNVEEv66jEFPVP4hHg7hFbzIgNbI1UEVUVTVQlFWENFUFRJT05TVSVDT05ORUNUX0ZBSUxFRDogbm8gYXZhaWxhYmxlIG5ldHdvcmtzWyNVAlVTWyNVF1sjbAAAAANVRlUAbAABNWxbI2wAAAADVUZVAWwAATOSWyNsAAAAA1VGVQJsAAFmNVsjbAAAAANVRlUDbAABZntbI2wAAAADVUZVBGwAAV5AWyNsAAAAA1VGVQVsAAFellsjbAAAAANVRlUGbAABZsNbI2wAAAADVUZVB2wAATNWWyNsAAAAA1VGVQhsAAExbFsjbAAAAANVRlUJSS8lWyNsAAAAA1VGVQpsAAD1OlsjbAAAAANVRlULbAAA9WRbI2wAAAADVUZVDGwAAWGFWyNsAAAAA1VGVQ1sAAFhslsjbAAAAANVRlUObAABYe5bI2wAAAADVUZVD0kW+FsjbAAAAANVRlUQSRgzWyNsAAAAA1VGVRFJGEpbI2wAAAADVUZVEmwAAUpuWyNsAAAAA1VGVRNsAAFKhlsjbAAAAANVRlUUbAABSapbI2wAAAADVUZVFWwAAUoyWyNsAAAAA1VGVRZJFww=
jag: Failed to decode line.
******************************************************************************
which is fine, since it starts over afterwards.nlsrchtr
11/17/2023, 2:01 PMkasperl
11/17/2023, 2:04 PMartemis.run --offline
-- I think it was introduced to lower the peak memory pressure.floitsch
11/17/2023, 2:10 PMALREADY_IN_USE
0: watchdog-init <sdk>/esp32/esp32.toit:165:3
Could you check whether there is some error log of the watchdog container failing/crashing?
We purposefully don't clean up the watchdog when the container crashes, since we wouldn't be able to remember if clients had registered watchdogs. As such the best way forward is to let the system watchdog trigger. You then see this ALREADY_IN_USE
, but at worst it happens only for 2 seconds before the watchdog triggers.floitsch
11/17/2023, 2:11 PMfloitsch
11/17/2023, 2:12 PMfloitsch
11/17/2023, 2:21 PMconnections
to ask the device to stay "online". As a work-around, a simply container that just `net.open`s might do the same thing for now ( @kasperl how could that deal with network errors?).kasperl
11/17/2023, 2:22 PMkasperl
11/17/2023, 2:22 PMfloitsch
11/17/2023, 2:23 PMfloitsch
11/17/2023, 2:23 PMkasperl
11/17/2023, 2:23 PMkasperl
11/17/2023, 2:23 PMfloitsch
11/17/2023, 2:24 PMkasperl
11/17/2023, 2:24 PMkasperl
11/17/2023, 2:25 PMkasperl
11/17/2023, 2:26 PMfloitsch
11/17/2023, 2:26 PMfloitsch
11/17/2023, 2:26 PMkasperl
11/17/2023, 2:28 PMnlsrchtr
11/17/2023, 3:31 PMfloitsch
11/17/2023, 3:34 PMnlsrchtr
11/17/2023, 3:40 PMInformatic0re
11/17/2023, 3:59 PMfloitsch
11/17/2023, 4:14 PM