RobvanLopik
09/18/2024, 8:23 PMfloitsch
09/18/2024, 8:38 PMfloitsch
09/18/2024, 8:38 PMfloitsch
09/18/2024, 8:38 PMfloitsch
09/18/2024, 8:40 PMjag version).
Can you share a reproducible test-case? (but maybe share the full output first, before you spend resources creating the repro).RobvanLopik
09/18/2024, 9:07 PMRobvanLopik
09/18/2024, 9:09 PMjag, device has version
******************************************************************************
Backtrace: 0xfffffffd:0x3ffd7c80 0x4011f1e4:0x3ffd7ca0 0x4010ec37:0x3ffd7cc0 0x400dce23:0x3ffd7ce0 0x400dcee5:0x3ffd7d00 0x400e261c:0x3ffd7d20 0x4010e0cd:0x3ffd7d50
jag: Failed to decode line.
*********************************************************`*********************
`ELF file SHA256: 8e703947df2618a5
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:184
load:0x40078000,len:12700
ho 0 tail 12 room 4
load:0x40080400,len:2916
entry 0x400805c4
[toit] INFO: starting
[toit] INFO: running on ESP32 - revision 3.0
[jaguar``floitsch
09/18/2024, 9:11 PMfloitsch
09/18/2024, 9:13 PMfloitsch
09/18/2024, 9:17 PM0xfffffffd: _rtc_slow_reserved_end + 0xafffdffd
0x4011f1e4: esp_pbuf_free + 0xc
0x4010ec37: pbuf_free + 0x2f
0x400dce23: toit::LwipSocket::tear_down() + 0x53
0x400dcee5: std::_Function_handler<toit::Object* (), toit::SocketResourceGroup::on_unregister_resource(toit::Resource*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) + 0x9
0x400e261c: toit::LwipEventSource::on_thread(void*) + 0x14
0x4010e0cd: tcpip_thread + 0xa9floitsch
09/18/2024, 9:17 PMfloitsch
09/18/2024, 9:19 PMRobvanLopik
09/18/2024, 9:20 PMRobvanLopik
09/18/2024, 9:21 PMfloitsch
09/18/2024, 9:21 PMRobvanLopik
09/18/2024, 9:21 PMfloitsch
09/18/2024, 9:21 PMRobvanLopik
09/18/2024, 9:21 PMfloitsch
09/18/2024, 9:22 PMRobvanLopik
09/18/2024, 9:23 PMfloitsch
09/18/2024, 9:23 PMjag monitor running?RobvanLopik
09/18/2024, 9:23 PMfloitsch
09/18/2024, 9:23 PMjag monitor keeps running, but there is no new messages anymore?floitsch
09/18/2024, 9:23 PMfloitsch
09/18/2024, 9:24 PMRobvanLopik
09/18/2024, 9:25 PMfloitsch
09/18/2024, 9:25 PMRobvanLopik
09/18/2024, 9:25 PMRobvanLopik
09/18/2024, 9:26 PMfloitsch
09/18/2024, 9:27 PMjag monitor running.
- you send a container that triggers deepsleep
- at some point (immediately?) the jag monitor program reports "Error: unexpected EOF" and terminates.
- the esp32 however continues working. (observed by seeing it publish something?)
Is this correct?RobvanLopik
09/18/2024, 9:30 PMfloitsch
09/18/2024, 9:30 PMfloitsch
09/18/2024, 9:31 PMRobvanLopik
09/18/2024, 9:31 PMfloitsch
09/18/2024, 9:31 PMfloitsch
09/18/2024, 9:32 PMRead even if there is no data.floitsch
09/18/2024, 9:32 PMRead function (from the golang package) claims that it should not return with 0 bytes:
// Stores data received from the serial port into the provided byte array
// buffer. The function returns the number of bytes read.
//
// The Read function blocks until (at least) one byte is received from
// the serial port or an error occurs.
Read(p []byte) (n int, err error)floitsch
09/18/2024, 9:33 PMRobvanLopik
09/18/2024, 9:34 PMfloitsch
09/18/2024, 9:34 PMfloitsch
09/18/2024, 9:35 PMRobvanLopik
09/18/2024, 9:35 PMfloitsch
09/18/2024, 9:35 PMRobvanLopik
09/18/2024, 9:35 PMfloitsch
09/18/2024, 9:36 PMjag monitor reads the serial port. That's where the messages come from.RobvanLopik
09/18/2024, 9:36 PMfloitsch
09/18/2024, 9:37 PMRobvanLopik
09/18/2024, 9:38 PM