Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 - setting wrong WiFi password causes crash #356

Open
teuteuguy opened this issue Sep 24, 2017 · 4 comments
Open

ESP32 - setting wrong WiFi password causes crash #356

teuteuguy opened this issue Sep 24, 2017 · 4 comments
Labels

Comments

@teuteuguy
Copy link

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

@dimonomid
Copy link
Contributor

dimonomid commented Dec 13, 2017

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 dimonomid self-assigned this Dec 13, 2017
@dimonomid dimonomid added the bug label Dec 13, 2017
@thschalch
Copy link

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

@tripflex
Copy link

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

@DrBomb
Copy link
Collaborator

DrBomb commented Apr 16, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants