Project Red - Compat

Project Red - Compat

27M Downloads

[Bug] Bus converter gate crushes server when red stone signal provided to black wire

FediNOP opened this issue ยท 1 comments

commented

Minecraft version

1.16.x

CodeChickenLib version

4.0.7.445-universal

CBMultipart version

3.0.4.123-universal

ProjectRed version

4.15.0

What happened?

Bus converter gate crushes server when red stone signal provided to black wire

Crash log

full-crash-report-converter.txt

java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.01 seconds (should be max 0.05)
        at mrtjp.projectred.core.BundledSignalsLib.mostSignificantBit(BundledSignalsLib.java:192) ~[projectred-core:?] {re:classloading}
        at mrtjp.projectred.integration.part.BundledGatePart$BusConverter.packClientData(BundledGatePart.java:572) ~[projectred-integration:?] {re:classloading}
        at mrtjp.projectred.integration.part.BundledGatePart$BusConverter.lambda$sendClientUpdate$0(BundledGatePart.java:568) ~[projectred-integration:?] {re:classloading}
        at mrtjp.projectred.integration.part.BundledGatePart$BusConverter$$Lambda$17015/1332654031.accept(Unknown Source) ~[?:?] {}
        at mrtjp.projectred.integration.part.GatePart.lambda$sendUpdate$0(GatePart.java:191) ~[projectred-integration:?] {re:classloading,pl:runtimedistcleaner:A}
        at mrtjp.projectred.integration.part.GatePart$$Lambda$17007/1177119220.accept(Unknown Source) ~[?:?] {}
        at codechicken.multipart.network.MultiPartSPH.dispatchPartUpdate(MultiPartSPH.java:122) ~[cb_multipart:1.16.5-3.0.4.123] {re:classloading}
        at codechicken.multipart.api.part.TMultiPart.sendUpdate(TMultiPart.scala:94) ~[cb_multipart:1.16.5-3.0.4.123] {re:classloading,pl:runtimedistcleaner:A,re:codechicken.mixin.forge.ForgeMixinBackend,pl:runtimedistcleaner:A}
        at mrtjp.projectred.integration.part.GatePart.sendUpdate(GatePart.java:189) ~[projectred-integration:?] {re:classloading,pl:runtimedistcleaner:A}
        at mrtjp.projectred.integration.part.BundledGatePart$BusConverter.sendClientUpdate(BundledGatePart.java:568) ~[projectred-integration:?] {re:classloading}
        at mrtjp.projectred.integration.part.BundledGatePart$BusConverter.gateLogicOnChange(BundledGatePart.java:635) ~[projectred-integration:?] {re:classloading}
        at mrtjp.projectred.integration.part.GatePart.onChange(GatePart.java:286) ~[projectred-integration:?] {re:classloading,pl:runtimedistcleaner:A}
        at mrtjp.projectred.integration.part.GatePart.onNeighborBlockChanged(GatePart.java:245) ~[projectred-integration:?] {re:classloading,pl:runtimedistcleaner:A}
        at codechicken.multipart.block.TileMultiPart.lambda$onNeighborBlockChanged$18(TileMultiPart.java:434) ~[cb_multipart:1.16.5-3.0.4.123] 

How do you make it happen again?

Steps to reproduce

  1. Place projectred-integration:bus_converter_gate and change to second mode (like in screenshot)
  2. Connect to converter projectred-transmission:neutral_bundled_wire
  3. Connect to bundled wire projectred-transmission:black_insulated_wire
  4. Provide redstone signal from lever

Scheme how to reproduce

commented

This was fixed on 1.18 in #1813. It has not been cherry picked to 1.16, and that version is no longer maintained.