lovebrew / lovepotion

LÖVE for Nintendo Homebrew
https://lovebrew.org
Other
529 stars 38 forks source link

[Bug]: 3.0.1 crashes WiiU when launching #229

Open rush-treble opened 1 month ago

rush-treble commented 1 month ago

Software Version

3.0.1

What Happened?

Crashes the WiiU when attempting to launch via the WiiU menu. Need to hold down the power button to shut it down, stuck on the LovePotion icon that is shown when loading up any WiiU menu app. I couldn't find any logs to indicate why it crashed, maybe they exist but I don't know where they are, sorry

3.0 works as far as not crashing the WiiU goes.

I tried both stable 3.0.1 and the latest commit, both crash

What was Expected?

No crashing, game attempts to load.

Code to Reproduce

-- any code, does not get to the point of loading your main.lua --

Console

Nintendo Wii U

Firmware Version(s)

5.5.6U

Custom Firmware Version

Aroma 5-10-24

Execution Method

Wii U Menu

Code of Conduct

Nawias commented 1 month ago

This looks like the same issue I have. What region is your console?

rush-treble commented 1 month ago

This looks like the same issue I have. What region is your console?

USA, 5.5.6U according to the system settings menu

playsamay4 commented 1 month ago

same here, 5.5.6U

TurtleP commented 1 month ago

The best way to help me debug this is if you grab your logs from slc on the console.

When connected via ftp, navigate to storage_slc/sys/logs and download the log file(s). I only need the latest one from there. Upload them to a comment on the issue and I'll do my best to investigate the issue.

playsamay4 commented 1 month ago

here's the latest dated log after the crash 18.log

TurtleP commented 1 month ago

It looks like Freetype is trying to create a new font face, but why it's crashing I'm not entirely sure. I double checked the default font data and it seems fine. I'll keep looking.

TurtleP commented 1 month ago

Okay root cause found: apparently the font module had its own FT_Library variable which was used instead of the base class's. Just need to fix one other thing and it should be fine.