smart-pod icon indicating copy to clipboard operation
smart-pod copied to clipboard

Reboot on Next

Open Ferberto opened this issue 6 years ago • 0 comments

Hi! First of all, ur project is fantastic! I have problem trying to use the next function while using FAV_MUSIC_POD. It simply reset (below the serial messages and the stacktrace).

I made a bit of debug and it seems that, in void HTTPMediaStream::close(), it cannot access to _httpStream.

Tested on NodeMCU with platform.io/Visual Studio Code.

--------------------------------------------------------------------------------
[INF] SmartPod is now starting...
[INF] Setting CPU frequency to 80 Mhz...
[INF] Setting up file system....
[INF] Files:
[INF]               /fav-music-pod.m3u -    1177
[INF]                   /radio-pod.m3u -     300
[INF] Setting up WiFi...
[INF] Scanning WiFi...
[INF] Connecting to "WIFISSID"
.....
[INF] Got IP: 192.168.1.178
[INF] Setting up OTA...
[INF] Reset VS1053...
[INF] End reset VS1053...
[INF] Slow SPI,Testing VS1053 read/write registers...
[INF] Fast SPI, Testing VS1053 read/write registers again...
[INF] endFillByte is 0
[INF] SmartPod is now running...
[INF] Switch to [FavMusicPod] mode.
[INF] Loading playlist from /fav-music-pod.m3u...
[INF] 26 items has been loaded to the playlist.
[INF] Playing http://192.168.1.3:8090/radio/1.mp3
[INF] Loading http://192.168.1.3:8090/radio/1.mp3...
[INF] http://192.168.1.3:8090/radio/1.mp3 has been loaded.
[DBG] File size: 2986291
[INF] Playing http://192.168.1.3:8090/radio/2.mp3
[INF] Closing HTTPMediaStream...

Exception (9):
epc1=0x40223b66 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000415 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffc90 end: 3fffffc0 offset: 01a0
3ffffe30:  3ffeef24 00000423 40100274 00003e86
3ffffe40:  00000000 00000000 3fff15dc 4020b734
3ffffe50:  00484bb3 00000311 00000311 4020b30c
3ffffe60:  3fffdad0 00000000 3fff0d4c 3ffeee88
3ffffe70:  00003e86 ffffffff 3fff15dc 402037c8
3ffffe80:  0000012c 3ffe89d8 3fff1440 40207f51
3ffffe90:  3ffe89d8 00000000 3fff13cc 3ffeee88
3ffffea0:  3fffdad0 3fffff50 3fff13ac 40203cfd
3ffffeb0:  3fffdad0 3fffff50 3fff13cc 40203d18
3ffffec0:  3fff1194 00000030 3fff13ac 40201de8
3ffffed0:  3ffeebac 3fffff5c 3ffefbdc 40215574
3ffffee0:  3fffff30 3fffff20 3ffeed6c 40201529
3ffffef0:  3fffdad0 3ffeebac 3ffeed6c 3ffeee88
3fffff00:  3fff1194 0000002b 3fffff50 40207cae
3fffff10:  3fffff30 3fffff20 3fffff50 40207d0e
3fffff20:  3fffdad0 3fff1194 3fffff50 40207ed8
3fffff30:  00ff0000 3fffff5c 3ffefbdc 3ffeee88
3fffff40:  3fffdad0 3fffff5c 3ffefbdc 402018da
3fffff50:  3fff102c 002b002f fffeec10 3fff1194
3fffff60:  002b002f ffffff70 00000004 40201758
3fffff70:  00484462 00000000 3fff0cf4 402155d6
3fffff80:  00000000 00000231 3ffeea84 40215718
3fffff90:  3fffdad0 00000000 3ffeea84 402014ca
3fffffa0:  3fffdad0 00000000 3ffeee58 40208e18
3fffffb0:  feefeffe feefeffe 3ffe8508 40100635
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld

Ferberto avatar Nov 27 '19 22:11 Ferberto