Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FediNOP opened this issue Dec 22, 2024 · 1 comment

Comments

@FediNOP
Copy link

FediNOP commented Dec 22, 2024

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

@MrTJP
Copy link
Owner

MrTJP commented Dec 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants