Skip to content

Crashes when using HTTP API within MQTT  #4269

@dosipod

Description

@dosipod

What happened?

Crashes when using HTTP API within MQTT . I am raising this on behave of @mcsSolutions as it is also confirmed from our side .Original post on discord
https://discord.com/channels/473448917040758787/779395228624617512/1304888652161220729

( I never used nor will use HTTP API within MQTT but only helping log this )

To Reproduce Bug

User PL=1 with mqtt
image

Expected Behavior

No crash

Install Method

Self-Compiled

What version of WLED?

0.15.0-b7 (build 2410270)

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

[21:28:53]Connected! IP address: 10.0.6.18
[21:28:53]Init STA interfaces
[21:28:53]mDNS started
[21:28:53]Reconnecting MQTT
[21:28:53]Reconnecting MQTT
[21:28:53]Loop took 38ms.
[21:28:53]Usermods took 0ms.
[21:28:53]Strip took 0ms.
[21:28:53]MQTT ready
[21:28:53]Publish MQTT
[21:28:53]MQTT ready
[21:28:53]Publish MQTT
[21:28:56]MQTT msg: wled/WLED18/api
[21:28:56]PL=1
[21:28:56]JSON buffer locked. (15)
[21:28:56]API req: win&PL=1
[21:28:56]Playlist unloaded.
[21:28:56]Request to apply preset: 1
[21:28:56]Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.
[21:28:56]Core 1 register dump:
[21:28:56]PC      : 0x401329d6  PS      : 0x00060230  A0      : 0x8010b1b8  A1      : 0x3ffdcf00  
[21:28:56]A2      : 0x00000000  A3      : 0x3ffe37c8  A4      : 0x3ffc3954  A5      : 0x0000003c  
[21:28:56]A6      : 0x00000000  A7      : 0x00000000  A8      : 0x80123518  A9      : 0x3ffdce10  
[21:28:56]A10     : 0x000000ad  A11     : 0x94cb258c  A12     : 0x94cb258c  A13     : 0x3ffc3954  
[21:28:56]A14     : 0x3ffdce4c  A15     : 0x3ffe39bc  SAR     : 0x00000004  EXCCAUSE: 0x0000001d  
[21:28:56]EXCVADDR: 0x0000000c  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000  
[21:28:56]
[21:28:56]ELF file SHA256: 0000000000000000
[21:28:56]
[21:28:56]Backtrace: 0x401329d3:0x3ffdcf00 0x4010b1b5:0x3ffdcf40 0x40106646:0x3ffdcfe0 0x401c56c6:0x3ffdd080 0x40112a75:0x3ffdd0a0 0x401c589d:0x3ffdd110 0x40113cfe:0x3ffdd140 0x40112641:0x3ffdd190 0x401126d2:0x3ffdd200 0x40129d15:0x3ffdd220 0x40129d95:0x3ffdd260 0x4012a3c6:0x3ffdd280 0x4008cd1e:0x3ffdd2b0
[21:28:56]
[21:28:56]Rebooting...
[21:28:56]ets Jun  8 2016 00:22:57
[21:28:56]
[21:28:56]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[21:28:56]configsip: 0, SPIWP:0xee
[21:28:56]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[21:28:56]mode:DOUT, clock div:2
[21:28:56]load:0x3fff0030,len:1184
[21:28:56]load:0x40078000,len:12784
[21:28:56]load:0x40080400,len:3032
[21:28:56]entry 0x400805e4
[21:28:57]
[21:28:57]---WLED 0.15.0-b7 2410270 INIT---
[21:28:57]
[21:28:57]esp32 v3.3.6-16-gcc5440f6a2
[21:28:57]arduino-esp32 v1.0.x
[21:28:57]
[21:28:57]CPU:   ESP32-D0WDQ5 rev.1, 2 core(s), 240 MHz.
[21:28:57]FLASH: 4 MB, Mode 3 (DOUT), speed 40 MHz.
[21:28:57]heap 308336
[21:28:57]JSON buffer allocated: 32767
[21:28:57]TX power: 78/78
[21:28:57]PIN ALLOC: Pin 1 successfully allocated by 0x89.
[21:28:57]PIN ALLOC: 0x00000000000002.
[21:28:57]Registering usermods ...

Anything else?

MQTT_PL_CRASH.txt

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugfixed in sourceThis issue is unsolved in the latest release but fixed in master

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions