Closed
Description
Port, board and/or hardware
esp32 esp32s3
MicroPython version
MicroPython v1.24.0-preview.309.gf1bdac375.dirty on 2024-09-12; ESP32-S3
ESP-IDF release/v5.2 commit c8c6fd1
Reproduction
import webrepl
webrepl.start(password='test')
Expected behaviour
webrepl is started
return to the micropython >>> promt
Observed behaviour
it crashes instantly after webrepl.start(password='test')
is called.
It seem it is depended of the ESP-IDF v5.2 version, with an older version of ESP-IDF release/v5.2 I did not observe this for example with commit id: e92f89ca33624b79784f01dc3c1312cbf649210b lib/esp-idf (v5.2.2-384-ge92f89ca33)
���ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40382ed6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3820,len:0x1108
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbdc
load:0x403cc700,len:0x2f4c
entry 0x403c989c
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4005544b PS : 0x00060030 A0 : 0x82036505 A1 : 0x3fcbcb20
A2 : 0x00000000 A3 : 0x3c148b5c A4 : 0x3fcbcb70 A5 : 0x3fcbcbc0
A6 : 0x00000000 A7 : 0x00000001 A8 : 0x82037ba4 A9 : 0x3fcbcad0
A10 : 0x00000000 A11 : 0x3fca56a0 A12 : 0x00000001 A13 : 0xffffffff
A14 : 0x00000000 A15 : 0x3fca56c8 SAR : 0x0000001c EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
Backtrace: 0x40055448:0x3fcbcb20 0x42036502:0x3fcbcb30 0x4203659a:0x3fcbcb70 0x42018b43:0x3fcbcbf0 0x4201f765:0x3fcbcc20 0x4201f82d:0x3fcbcc40 0x40378f42:0x3fcbcc60 0x42018adb:0x3fcbcd00 0x4201f765:0x3fcbcd30 0x40378e9f:0x3fcbcd50 0x42018adb:0x3fcbcdf0 0x4201f765:0x3fcbce20 0x4201f82d:0x3fcbce40 0x40378f42:0x3fcbce60 0x42018adb:0x3fcbcf00 0x4201f765:0x3fcbcf50 0x4201f77a:0x3fcbcf70 0x420535e3:0x3fcbcf90 0x4205393b:0x3fcbd020 0x42032e56:0x3fcbd050
ELF file SHA256: 85bda6bc4
Rebooting...
Additional Information
xtensa-esp32s3-elf-addr2line -pfiaC -e ./build/micropython.elf 0x40055448:0x3fcbc7e0 0x42036502:0x3fcbc7f0 0x4203659a:0x3fcbc830 0x42018b43:0x3fcbc8b0 0x4201f765:0x3fcbc8e0 0x4201f82d:0x3fcbc900 0x40378f42:0x3fcbc920 0x42018adb:0x3fcbc9c0 0x4201f765:0x3fcbc9f0 0x40378e9f:0x3fcbca10 0x42018adb:0x3fcbcab0 0x4201f765:0x3fcbcae0 0x4201f82d:0x3fcbcb00 0x40378f42:0x3fcbcb20 0x42018adb:0x3fcbcbc0 0x4201f765:0x3fcbcbf0 0x4201f7d2:0x3fcbcc10 0x4203e255:0x3fcbcc50 0x4203e3e2:0x3fcbcc80 0x4201f8ac:0x3fcbcd70 0x403791cf:0x3fcbcdb0 0x42018adb:0x3fcbce50 0x4201f765:0x3fcbce80 0x4201f77a:0x3fcbcea0 0x420535e3:0x3fcbcec0 0x4205393b:0x3fcbcf50 0x42032e86:0x3fcbcf80
0x40055448: ?? ??:0
0x42036502: _getaddrinfo_inner at /smw-build/lib/micropython/ports/esp32/modsocket.c:256
0x4203659a: esp_socket_getaddrinfo at /smw-build/lib/micropython/ports/esp32/modsocket.c:946
0x42018b43: fun_builtin_var_call at /smw-build/lib/micropython/py/objfun.c:119
0x4201f765: mp_call_function_n_kw at /smw-build/lib/micropython/py/runtime.c:717
0x4201f82d: mp_call_method_n_kw at /smw-build/lib/micropython/py/runtime.c:733
0x40378f42: mp_execute_bytecode at /smw-build/lib/micropython/py/vm.c:1042
0x42018adb: fun_bc_call at /smw-build/lib/micropython/py/objfun.c:267
0x4201f765: mp_call_function_n_kw at /smw-build/lib/micropython/py/runtime.c:717
0x40378e9f: mp_execute_bytecode at /smw-build/lib/micropython/py/vm.c:957
0x42018adb: fun_bc_call at /smw-build/lib/micropython/py/objfun.c:267
0x4201f765: mp_call_function_n_kw at /smw-build/lib/micropython/py/runtime.c:717
0x4201f82d: mp_call_method_n_kw at /smw-build/lib/micropython/py/runtime.c:733
0x40378f42: mp_execute_bytecode at /smw-build/lib/micropython/py/vm.c:1042
0x42018adb: fun_bc_call at /smw-build/lib/micropython/py/objfun.c:267
0x4201f765: mp_call_function_n_kw at /smw-build/lib/micropython/py/runtime.c:717
0x4201f7d2: mp_call_function_0 at /smw-build/lib/micropython/py/runtime.c:691
(inlined by) mp_parse_compile_execute at /smw-build/lib/micropython/py/runtime.c:1628
0x4203e255: do_load_from_lexer at /smw-build/lib/micropython/py/builtinimport.c:163
(inlined by) do_load at /smw-build/lib/micropython/py/builtinimport.c:259
0x4203e3e2: process_import_at_level at /smw-build/lib/micropython/py/builtinimport.c:513
(inlined by) mp_builtin___import___default at /smw-build/lib/micropython/py/builtinimport.c:608
0x4201f8ac: mp_import_name at /smw-build/lib/micropython/py/runtime.c:1533
0x403791cf: mp_execute_bytecode at /smw-build/lib/micropython/py/vm.c:1235
0x42018adb: fun_bc_call at /smw-build/lib/micropython/py/objfun.c:267
0x4201f765: mp_call_function_n_kw at /smw-build/lib/micropython/py/runtime.c:717
0x4201f77a: mp_call_function_0 at /smw-build/lib/micropython/py/runtime.c:691
0x420535e3: parse_compile_execute at /smw-build/lib/micropython/shared/runtime/pyexec.c:119
0x4205393b: pyexec_file at /smw-build/lib/micropython/shared/runtime/pyexec.c:682
(inlined by) pyexec_file_if_exists at /smw-build/lib/micropython/shared/runtime/pyexec.c:694
0x42032e86: mp_task at /smw-build/lib/micropython/ports/esp32/main.c:147
Code of Conduct
Yes, I agree