mongoose-os
mongoose-os copied to clipboard
ESP32 - setting wrong WiFi password causes crash
When using the mos wifi command with ssid and password and setting password to something incorrect, causes device to crash and core_dump.
Can’t seem to catch the core_dump cause console isn’t active at that point, cause of the mos wifi command
Confirmed, thanks for reporting.
For the record, backtrace from the coredump looks as follows:
0x40165059 in __udivmoddi4 (rp=<synthetic pointer>, d=0, n=991893197192)
at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libgcc/libgcc2.c:1088
1088 /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libgcc/libgcc2.c: No such file or directory.
add symbol table from file "/mongoose-os/common/platforms/esp32/rom/rom.elf" at
.text_addr = 0x40000000
Reading symbols from /mongoose-os/common/platforms/esp32/rom/rom.elf...(no debugging symbols found)...done.
(gdb) bt
#0 0x40165059 in __udivmoddi4 (rp=<synthetic pointer>, d=0, n=991893197192)
at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libgcc/libgcc2.c:1088
#1 __umoddi3 (u=991893197192, v=0)
at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libgcc/libgcc2.c:1278
#2 0x400e8073 in pm_rx_beacon_process ()
#3 0x400e8450 in ?? ()
Any news in this issue? Does someone know a workaround?
Yeah this could be a huge deal breakers in moving forward with ESP32 and device provisioning
By "incorrect" do you mean a password that is too short? or that the Station does not accept?