mojira.dev
MC-78120

No Crash Report for some Critical Errors

This relates to MC-38134, MC-38515, and MC-32850. However, I wish to report a different aspect of the general issue. Which is that no crash report is being generated for this crash during saving the world. Nor does it appear in latest.log. Essentially, if your not watching it, or not able to watch it, it will never be seen.

While the errors themselves are their own bugs, that critical errors can occur without a crash report being generated is its own bug.

I first noticed this with the following random error that appears when saving the world:

ERROR Attempted to append to non-started appender ServerGuiConsole
Exception in thread "Server Shutdown Thread" org.apache.logging.log4j.core.appender.AppenderLoggingException: Attempted to append to non-started appender ServerGuiConsole
at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89)
at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:425)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:406)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
at org.apache.logging.log4j.core.Logger.log(Logger.java:110)
at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1011)
at net.minecraft.server.MinecraftServer.s(SourceFile:379)
at net.minecraft.server.MinecraftServer$2.run(SourceFile:713)

Linked issues

Comments

Dlawso the Really Lucky Rabbit

Dupe of MC-38134

Someone 3x7

Sorry, for whatever reason that one didn't come up in my searches.

Someone 3x7

Actually, no that one is still about the errors themselves and not the fact they aren't generating reports or otherwise being logged.

Edit: Due to the nature of the errors I can understand why they aren't being logged, however, when such an error occurs I expect a crash report generated. Which is to say that there are critical error conditions under which crash reports are not being generated is a bug unto itself.

Ezekiel

This site is for bug reports only; feature suggestions are not accepted.

Someone 3x7

Now I'm scratching my head. How is reporting a failure in the crash report system a feature suggestion?

Someone 3x7

I'm still trying to figure how to respond to this without being facetious. That this could be taken as a feature request would mean that the Crash Reporter was not designed or implemented with the intent of catching and reporting crashes.

Ezekiel

Apologies for not explaining. My understanding is that this ticket is saying that the game is not filing a crash report. Did the game crash and fail to file a crash report?

Someone 3x7

Exactly, the server is crashing as it saves the world yet no report is generated. If it crashes with the error I noted after "Saving players" it never gets to "Saving worlds" because its dead. Any changes that hadn't been saved to disk are lost because its dead. It crashed, but, no report was generated.

Edit: I apologize if my wording is getting funny. I've a medical condition that is starting to take effect.

Ezekiel

Apologies, I mis-interpreted the ticket.

kumasasa

Is this still an issue in the current Minecraft Snapshot 15w47c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Someone 3x7

The frequent world corruption this issue was hiding caused me to quit playing for a long time. Whenever I get back to Minecraft it will be the first thing I check.

Someone 3x7

Affects 15w49b. Still no minecraft for me.

marcono1234

Is there a way to reproduce such an exception?

This particular bug could maybe be fixed by using a newer version of log4j. The latest version is currently version 2.5, however Minecraft is using version 2.0-beta9 (Windows: %appdata%\.minecraft\libraries\org\apache\logging\log4j\log4j-core). Additionally there is a similar looking bug that affects version 2.0-beta9 but is fixed in version 2.1: LOG4J2-392.

Someone 3x7

Write an automation script in your favorite language that repeatedly launches and shuts down the server. You will eventually see it along with MC-38134.

user-f2760

Is this still an issue in 1.9.3-pre2?

Someone 3x7

(Unassigned)

Unconfirmed

Minecraft 1.8.3, Minecraft 15w49b

Retrieved