Skip to content

Usage of __PRETTY_FUNCTION__ cause exception on version 2.5.1+ #6383

Closed
@gaborauth

Description

@gaborauth

Platform

  • Hardware: WEMOS D1 mini
  • Core Version: 2.5.0, 2.5.1, 2.5.2
  • Development Env: Arduino IDE
  • Operating System: Ubuntu

Settings in IDE

  • Module: Generic ESP8266 Module
  • Flash Mode: dout
  • Flash Size: 1MB
  • lwip Variant: v2 Lower Memory
  • Reset Method: ck
  • Flash Frequency: 40Mhz
  • CPU Frequency: 160MHz
  • Upload Using: SERIAL
  • Upload Speed: 115200

Problem Description

Expected output of the sketch (version 2.5.0):

void loop()

Sketch output on 2.5.1 and 2.5.2:

Exception (3):
epc1=0x402024cd epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023a764 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffda0 end: 3fffffc0 offset: 01a0
3fffff40:  40202839 00000001 3ffef484 3ffee28c  
3fffff50:  3fffdad0 00000000 3ffee234 402010cc  
3fffff60:  3ffe8790 3ffee2e4 3ffe84f4 402012a9  
3fffff70:  4023a764 3ffee28c 402016e0 3fffefa0  
3fffff80:  40201c4e 000003e8 3ffee234 402012e1  
3fffff90:  feefeffe 00000000 3ffee25c 40201051  
3fffffa0:  feefeffe feefeffe feefeffe 40201790  
3fffffb0:  feefeffe feefeffe 3ffe84f4 40100459  
<<<stack<<<

Sketch

void setup() {
    Serial.begin(115200);
}

void loop() {
    delay(1000);
    Serial.println(__PRETTY_FUNCTION__);
}

Related PR?

Maybe: #5758

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions