checked out v4.1; now crashing

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: checked out v4.1; now crashing

Postby mzimmers » Tue Mar 03, 2020 3:51 pm

Hi Angus - which version of the IDF is this file in? I've already moved back to release/v4.0, but I looked in v4.1 and there aren't 1022 lines in that file.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: checked out v4.1; now crashing

Postby ESP_Angus » Tue Mar 03, 2020 11:33 pm

That's from master/v4.1. You see the same vanishing monitor output on release/v4.0 branch?

The equivalent code is at line 818, delete "pass" and replace with "raise":

Code: Select all

diff --git a/tools/idf_monitor.py b/tools/idf_monitor.py
index 52689ed5a5..74224e256b 100755
--- a/tools/idf_monitor.py
+++ b/tools/idf_monitor.py
@@ -815,7 +815,7 @@ if os.name == 'nt':
                 # Windows 10 bug since the Fall Creators Update, sometimes writing to console randomly throws
                 # an exception (however, the character is still written to the screen)
                 # Ref https://github.com/espressif/esp-idf/issues/1136
-                pass
+                raise
 
         def write(self, data):
             if isinstance(data, bytes):

liuzhifu
Posts: 39
Joined: Tue Dec 13, 2016 2:18 am

Re: checked out v4.1; now crashing

Postby liuzhifu » Fri Mar 13, 2020 9:43 am

Hi @mzimmers, does this issue still exist? If you can't provide the application code, could you provide a small demo code that can trigger this issue. Since the memory corrupt issue in application code can also lead to stack overflow, I'm not sure whether this issue is in application or in IDF.

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: checked out v4.1; now crashing

Postby mzimmers » Fri Mar 13, 2020 2:07 pm

Hi liuzhifu - I reverted to v4.0 a couple of weeks ago, so I can't comment on the current state of v4.1. If I have some time later today, I'll try pulling v4.1 and building again, and I'll let you know what I discover.

Who is online

Users browsing this forum: Baidu [Spider], vuthai and 113 guests