mongoose-os icon indicating copy to clipboard operation
mongoose-os copied to clipboard

ESP32 - setting wrong WiFi password causes crash

Open teuteuguy opened this issue 7 years ago • 4 comments

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

teuteuguy avatar Sep 24 '17 03:09 teuteuguy

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 ?? ()

dimonomid avatar Dec 13 '17 18:12 dimonomid

Any news in this issue? Does someone know a workaround?

schalch-net avatar Apr 04 '18 10:04 schalch-net

Yeah this could be a huge deal breakers in moving forward with ESP32 and device provisioning

tripflex avatar Apr 16 '18 22:04 tripflex

By "incorrect" do you mean a password that is too short? or that the Station does not accept?

DrBomb avatar Apr 16 '18 22:04 DrBomb