Skip to content

Modrinth app does not show standard output during premain phase #5488

@exaskye

Description

@exaskye

Please confirm the following.

  • I checked the existing issues for duplicate problems
  • I have tried resolving the issue using the support portal
  • I have ensured my Modrinth App installation is up to date

What version of the Modrinth App are you using?

0.11.2

What operating systems are you seeing the problem on?

Linux, Windows

Describe the bug

We did not attempt to discuss this via the Support portal, but Prospector requested we open a GitHub issue on Discord.

While the JVM is running the premain phase (i.e. Java agents, or external debug facilities via JDWP) the Modrinth app fails to surface log messages sent to stdout. This makes debugging issues with Java agents extremely difficult.

Steps to reproduce

Example using existing software, and the reason we even noticed this bug.

  1. Put any version of unsup into the game directory for any instance, named unsup.jar.
  2. Create an unsup.ini that contains version=2, to cause a crash during launch.
  3. Add -javaagent:unsup.jar to the JVM arguments.
  4. Start the instance.
  5. Observe that it shows "Loading..." forever and does not produce any output under "Live Log".

Expected behavior

Log output appears in "Live Log".

Additional context

Support request in our Discord related to this bug: https://discord.com/channels/813954820460642336/1279321490466279547/1469813615140929727

Metadata

Metadata

Assignees

No one assigned

    Labels

    appRelates to Modrinth App

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions