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

[TW#15752] When only <SPACE> char are inputted in example/system/console leads to core dump #1067

Closed
jstoi opened this issue Oct 2, 2017 · 0 comments

Comments

@jstoi
Copy link

jstoi commented Oct 2, 2017

Built the console example on Windows with latest toolchain and esp-idf.
Same behavior when using esp-idf make monitor or PuTTY.
esp32> is ok
esp32> resulted in this error:

$ make monitor
MONITOR
--- idf_monitor on COM3 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3f (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:0x3fff0010,len:4
load:0x3fff0014,len:4668
load:0x40078000,len:0
load:0x40078000,len:13468
entry 0x40078d20
W (68) rtc_clk: Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (40MHz). Detected 40 MHz.
I (206) cpu_start: Pro cpu up.
I (206) cpu_start: Starting app cpu, entry point is 0x40080fcc
0x40080fcc: call_start_cpu1 at C:/projects/esp-idf/components/esp32/cpu_start.c:219

I (0) cpu_start: App cpu up.
I (209) heap_init: Initializing. RAM available for dynamic allocation:
I (216) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (222) heap_init: At 3FFB8680 len 00027980 (158 KiB): DRAM
I (228) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (235) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (241) heap_init: At 40090E4C len 0000F1B4 (60 KiB): IRAM
I (247) cpu_start: Pro cpu start user code
I (265) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.

This is an example of ESP-IDF console component.
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
?[5n
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Putty instead.
esp32>
esp32>
Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled.
Register dump:
PC : 0x40001277 PS : 0x00060d30 A0 : 0x80119079 A1 : 0x3ffbf6e0
A2 : 0x00000000 A3 : 0x3f40c4c8 A4 : 0x00000004 A5 : 0x3ffae8d4
A6 : 0x7fffff80 A7 : 0x3f40f96e A8 : 0x80082e78 A9 : 0x3ffbf6c0
A10 : 0x3ffc1da0 A11 : 0x00000000 A12 : 0x00000020 A13 : 0x3ffc1dc0
A14 : 0x00000020 A15 : 0x00000002 SAR : 0x00000018 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000

Backtrace: 0x40001277:0x3ffbf6e0 0x40119076:0x3ffbf6f0 0x4011928c:0x3ffbf710 0x400ffca4:0x3ffbf730 0x400d0d0f:0x3ffbf760
0x40119076: find_command_by_name at C:/projects/esp-idf/components/console/commands.c:85

0x4011928c: esp_console_run at C:/projects/esp-idf/components/console/commands.c:189

0x400ffca4: app_main at C:/projects/MaKit1/console/main/console_example_main.c:153

0x400d0d0f: main_task at C:/projects/esp-idf/components/esp32/cpu_start.c:403

Rebooting...
ets Jun 8 2016 00:22:57

@jstoi jstoi changed the title When only <SPACE> char are inputted in example/system/console leads to core dump ### When only <SPACE> char are inputted in example/system/console leads to core dump Oct 3, 2017
@jstoi jstoi changed the title ### When only <SPACE> char are inputted in example/system/console leads to core dump When only <SPACE> char are inputted in example/system/console leads to core dump Oct 3, 2017
@FayeY FayeY changed the title When only <SPACE> char are inputted in example/system/console leads to core dump [TW#15752] When only <SPACE> char are inputted in example/system/console leads to core dump Oct 11, 2017
@igrr igrr closed this as completed in 4d42b5e Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant