I've had this issue with both a Arduino Leo and an A-Star 32U4 Prime SV.
Have attached the code.
The code displays a face and text on a SSD1306 OLED 128x64 screen thru the i2C bus. It is based on some C code I wrote for the TI CC3200 many years ago that is still working on those platforms.
The issue is, if I activate the text section and the eyes section of the code at the same time the process shows random pixels on the screen, locks up the process and breaks the bootloader port. I can run one or the other without a problem, but they won't run at the same time.
sketch_jun26a.zip (6.9 KB)