mojira.dev
MC-5728

Infinite loop caused by a comparator (on subtractor mode) feedback loop.

I've attached the crash log and a schematic of the circuit.

The top repeater signifies a comparator on subtractor mode, the second one is a simple comparator.

I can only assume that some missing safe-guards allowed the subtractor to update itself continuously, until the game crashed.

NOTE: if you want to reproduce this, you should place the second comparator (acting as a buffer) last, to get the exact same state.

Linked issues

Attachments

Comments 8

I could not find any existing issue that contains any of the crashes mentioned here. However, all of the crash reports that you have provided are from a modded version of Minecraft. Please try to reproduce the crash in a vanilla (non-modded) version of Minecraft and attach that report or this may be dismissed as being caused by a mod.

Go away bot, you're drunk.

The drunk bot found out:

Is Modded: Very likely; Jar signature invalidated

If you can reproduce this with an unmodded Minecraft, please go ahead.

Until then:
This ticket is invalid as it relates to a modded or 3rd party client/server.

  • Any non-standard client/server build needs to be taken up with the appropriate team, not Mojang.

  • Any plugin issues need to be addressed to the plugin creator.

  • This site is for addressing issues related to the base unmodded MineCraft.

I believe it's just a bug in the error reporting as java kinda fails at figuring stuff out in such extreme cases. I replicated successfully locally.

I can confirm this crash. I did it in a different way though. I did it like this

x>#
x<xxi

where x = redstone, < = comparator facing the shown direction on the default setting, # = a solid block (capable of transmitting redstone power), i = redstone torch

Do not try this in a normal world as it will "corrupt" the world, until you delete it using external programs (MCEdit)

I can confirm this bug. It causes a stack overflow. I get the same loop between those for methods.

Ive had a very similar setup causing a crash as well. One comparator outputting into a second comparator which outputs directly into the side of the first. 2 comparators, 6 redstone and some sort of initial input into the loop (i.e. lever).

Eddy B.

(Unassigned)

Unconfirmed

compartor, redstone

Snapshot 13w01a

Snapshot 13w01b

Retrieved