Skip to content

ErrorReport.cpp generates "garbage" file #174

@JPZV

Description

@JPZV

For some reason the ErrorReport.cpp code generates garbage content for MuError.log. This happens in both a Windows 11 x64 and in a Steam Deck (Linux) running with Proton 9 (AKA Wine).

Not sure if this is an encoding error or a flush/memory issue, because the file has many NULL (\0) characters, incomplete message (like "###### Log Be" instead of "###### Log Begin ######"), or even printf format being printed literally instead of its interpreted result (e.g. "Current version: %s" instead of "Current version: 1.0").

Here are some logs:

MuError.log (From Windows)

MuError.log (From SteamDeck)

Please note that if you open the log file with a text editor which print the NULL character (Like VSCode or Notepad++), replace all instance of NULL with empty ("") so you can see the current content of the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions