Guru Meditation Error on HTTP POST using PyEthernet



  • We have problem with PyEthernet module using latest FW 1.20.2.r6 on Wipy. We see stability issues on long run and from time to time Wipy reboots with Guru Meditation Error:

    19-12-2021 11:21:7 > httpPOST
    19-12-2021 11:21:7 > DNS lookup
    19-12-2021 11:21:7 > gw.local -> ('192.168.2.2', 9000)
    19-12-2021 11:21:7 > Set non-blocking
    19-12-2021 11:21:7 > Create poll
    19-12-2021 11:21:7 > Register poll
    19-12-2021 11:21:7 > Connect
    19-12-2021 11:21:7 > Connected to server
    Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
    Core 1 register dump:
    PC      : 0x4009869f  PS      : 0x00060033  A0      : 0x800973c5  A1      : 0x3ffec4b0  
    A2      : 0x3ffdfde0  A3      : 0x00060023  A4      : 0x3ffdfdc4  A5      : 0x00000001  
    A6      : 0x000000fe  A7      : 0x3fbc14c0  A8      : 0x00000000  A9      : 0x3ffdfde0  
    A10     : 0x3ffdfde0  A11     : 0x0000abab  A12     : 0x3ffdfdc4  A13     : 0x00000001  
    A14     : 0x000000fe  A15     : 0x00000000  SAR     : 0x00000007  EXCCAUSE: 0x0000001c  
    EXCVADDR: 0x00000004  LBEG    : 0x40093618  LEND    : 0x40093646  LCOUNT  : 0x00000000  
    
    ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
    
    Backtrace: 0x4009869f:0x3ffec4b0 0x400973c2:0x3ffec4d0 0x400956cf:0x3ffec4f0 0x401909aa:0x3ffec530 0x40190bfe:0x3ffec550 0x4018435c:0x3ffec570 0x401843a8:0x3ffec590 0x40180e99:0x3ffec5b0 0x40180eed:0x3ffec5d0 0x40190f94:0x3ffec5f0 0x401271e6:0x3ffec610 0x400fbf3b:0x3ffec630
    

    This always happens after connection to servers has been established. Unfortunately I cannot understand why does it happen. The same code on older firmware, using wifi setup, works perfectly fine. I have attached function of the code that points to this problem. On the server side I see data been received, so the Guru error appears after http.write( data ) call, since there is no log message afterward.

    httpPOST.py

    Could you please provide support for the issue?

    PS. At the moment we are testing this firmware using wifi setup. Results are still pending. Will update once test is finished.



  • Hello!
    Could you please decode the backtrace to see where the crash happen ?



  • After some testing with the same python code using Wifi connection, I also receive Guru Meditation Error at the same spot as using Ethernet. Here is the exact output.

    25-12-2021 13:50:58 > httpPOST
    25-12-2021 13:50:58 > DNS lookup
    25-12-2021 13:50:58 > gw.local -> ('192.168.2.2', 9000)
    25-12-2021 13:50:58 > Set non-blocking
    25-12-2021 13:50:58 > Create poll
    25-12-2021 13:50:58 > Register poll
    25-12-2021 13:50:58 > Connect
    25-12-2021 13:50:58 > Connected to server
    Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.
    Core 1 register dump:
    PC      : 0x4020d9f9  PS      : 0x00060530  A0      : 0x8011fa9c  A1      : 0x3ffee620  
    A2      : 0x00000000  A3      : 0x3f958780  A4      : 0x00000001  A5      : 0x3ffee67a  
    A6      : 0x00000001  A7      : 0x00000001  A8      : 0x000021c2  A9      : 0x000021c2  
    A10     : 0x00000000  A11     : 0x00000000  A12     : 0x3f958782  A13     : 0x00002186  
    A14     : 0x00000003  A15     : 0x00060023  SAR     : 0x0000001a  EXCCAUSE: 0x0000001d  
    EXCVADDR: 0x00000000  LBEG    : 0x40091e2c  LEND    : 0x40091e37  LCOUNT  : 0x00000000  
    
    ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
    
    Backtrace: 0x4020d9f9:0x3ffee620 0x4011fa99:0x3ffee640 0x4010763d:0x3ffee660 0x401040ae:0x3ffee6b0 0x4010fe63:0x3ffee6e0 0x40106b80:0x3ffee780 0x401032d5:0x3ffee7b0 0x4010d90c:0x3ffee7d0 0x400e1031:0x3ffee860
    

    I am using this python code on 1.18.2.r7 firmware and I have no stability issues with my Wifi. However, using 1.20.2.r6 firmware system is not stable. I have also tried older versions while testing PyEthernet and had same problems.

    Support would be much appreciated to resolve this issue.


Log in to reply
 

Pycom on Twitter