--
You received this message because you are subscribed to the Google Groups "WVR Audio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wvr-audio+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wvr-audio/3f13c23a-d39d-428e-9d6f-92f9aaaae8cen%40googlegroups.com.
rst:0xc (SW_CPU_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1324
ho 0 tail 12 room 4
load:0x40078000,len:13508
load:0x40080400,len:3604
entry 0x400805f0
E (352) esp_core_dump_flash: N␀4KW␖$VW␋␗␒,.]ZZ␋֫VRH␔␒MJHY.\5KWE}͡␂r␚ɕ"յѥѥ2չjRTotal heap: 314252
Free heap: 281376
Total PSRAM: 4192123
Free PSRAM: 4192123
after begin, remaining: 4436991, used:4290633845
Name: 8GTF4R␆
Type: MMC
Speed: 52 MHz
Size: 7456MB
CSD: ver=3, sector_size=512, capacity=15269888 read_bl_len=9
after emmc, remaining: 4436183, used:808
after file system, remaining: 4183591, used:252592
after dac, remaining: 4180099, used:3492
after midi, remaining: 4156155, used:23944
after midi parser, remaining: 4156155, used:0
after wav player, remaining: 3982863, used:173292
Configuring access point...
AP IP address: 192.168.5.18
Server started
after server, remaining: 3912675, used:70188
after button, remaining: 3910027, used:2648
after gpio, remaining: 3910027, used:0
after rpc, remaining: 3905135, used:4892
Total heap: 309684
Free heap: 76108
Total PSRAM: 4191467
Free PSRAM: 3870519
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x400d268f PS : 0x00060630 A0 : 0x800d2575 A1 : 0x3ffb2250
A2 : 0x00000000 A3 : 0x400d23f4 A4 : 0x00000002 A5 : 0x00000028
A6 : 0x007bf518 A7 : 0x003fffff A8 : 0x00000000 A9 : 0x3ffb2230
A10 : 0x3fff796c A11 : 0x00000028 A12 : 0x00000000 A13 : 0x00040000
A14 : 0x00000028 A15 : 0x003fffff SAR : 0x00000016 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000010 LBEG : 0x4008b9c0 LEND : 0x4008b9cb LCOUNT : 0x00000000
Backtrace: 0x400d268c:0x3ffb2250 0x400d2572:0x3ffb2270 0x400dbf9a:0x3ffb2290
#0 0x400d2700:0x3ffb2250 in init_wav_lut at /Users/andy/wvr/wvr/src/file_system.c:248 (discriminator 3)
#1 0x400d25c9:0x3ffb2270 in init_metadata at /Users/andy/wvr/wvr/src/file_system.c:201
#2 0x400ddfe7:0x3ffb2290 in setCpuFrequencyMhz at /Users/andy/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-cpu.c:171
As is sometimes the case, this wasn't particularly helpful information.
However I started commenting out other stuff to debug and spotrted the bug in your code
lines 97-101 you initialize Button in the the same variable multiple times.
it should be: