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

IDF monitor crashes when trying to process coredumps when coredumps are disabled (IDFGH-7033) #8651

Closed
msn444 opened this issue Mar 24, 2022 · 2 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@msn444
Copy link

msn444 commented Mar 24, 2022

This is probably a result of the solution to #8099. When running idf_monitor.py --decode-coredumps disable I get

I (171) esp_image: segment 0: paddr=0x002e0020 vaddr=0x3f400020 size=0x21740 (137024) map
I (232) esp_image: segment 1: paddr=0x00301768 vaddr=0x3ffbdb60 size=0x03948 ( 14664) load
I (239) esp_image: segment 2: paddr=0x003050b8 vaddr=0x40080000 size=0x00404 (  1028) load
I (239) esp_image: segment 3: paddr=0x003054c4 vaddr=0x40080404 size=0x0ab54 ( 43860) load
I (267) esp_image: segment 4: paddr=0x00310020 vaddr=0x400d0020 size=0xad7a4 (710564) map

Traceback (most recent call last):
  File "/home/.../esp/esp-idf/tools/idf_monitor.py", line 372, in <module>
    main()
  File "/home/.../esp/esp-idf/tools/idf_monitor.py", line 363, in main
    monitor.main_loop()
  File "/home/.../esp/esp-idf/tools/idf_monitor.py", line 161, in main_loop
    self._main_loop()
  File "/home/../esp/esp-idf/tools/idf_monitor.py", line 266, in _main_loop
    super()._main_loop()
  File "/home/.../esp/esp-idf/tools/idf_monitor.py", line 226, in _main_loop
    finalize_line=not self.coredump.in_progress)
AttributeError: 'NoneType' object has no attribute 'in_progress'
@espressif-bot espressif-bot added the Status: Opened Issue is new label Mar 24, 2022
@github-actions github-actions bot changed the title IDF monitor crashes when trying to process coredumps when coredumps are disabled IDF monitor crashes when trying to process coredumps when coredumps are disabled (IDFGH-7033) Mar 24, 2022
@msn444
Copy link
Author

msn444 commented Mar 24, 2022

More specifically, it happens when idf_monitor.py is run without providing the elf file.

@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Apr 4, 2022
@dobairoland
Copy link
Collaborator

Thanks for the report. The fix is coming soon.

@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress Resolution: NA Issue resolution is unavailable labels Apr 4, 2022
espressif-bot pushed a commit to espressif/esp-idf-monitor that referenced this issue Jan 16, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants