Skip to content

1.12.2 Forge: SevTech Ages advancements crashes StringError("stream did not contain valid UTF-8")  #148

@iceiix

Description

@iceiix

SevTech_Ages_Server_3.1.1 (1.12.2, top 3 on Curseforge)

crashes on login:
packet = Some(PluginMessageClientbound(PluginMessageClientbound { channel: "thebetweenlands", data: [17, 0, 0, 0, 18, 0, 0, 0, 16, 10, 0, 0, 0] }))
Decompressed threshold=256 len=2352 uncompressed_size=14939 to 14939 bytes
about to parse id=4d, dir=Clientbound state=Play
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 14, 0, 0, 0, 11, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 16, 0, 0, 0, 12, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 15, 0, 0, 0, 20, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 17, 0, 0, 0, 13, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 8, 0, 0, 0, 16, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 8, 0, 0, 0, 15, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 11, 0, 0, 0, 11, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 8, 0, 0, 0, 17, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 15, 0, 0, 0, 11, 10, 0, 0, 0]
Received plugin message: channel=thebetweenlands, data=[17, 0, 0, 0, 18, 0, 0, 0, 16, 10, 0, 0, 0]
thread 'main' panicked at 'Err: IOError(Custom { kind: InvalidData, error: StringError("stream did not contain valid UTF-8") })', src/server/mod.rs:449:33

Found in #146 1.12.2/1.10.2 Forge: Beyond/Skyfactory3/SevTech Ages crashes: error: StringError("failed to fill whole buffer") / java.util.zip.DataFormatException: incorrect header check, which extends #144 Forge 1.8.9-1.12.2 handshake protocol support. 1.12.2 protocol: https://wiki.vg/index.php?title=Protocol&oldid=14204

Full backtrace:

thread 'main' panicked at 'Err: IOError(Custom { kind: InvalidData, error: StringError("stream did not contain valid UTF-8") })', src/server/mod.rs:449:33
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:70
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:58
             at src/libstd/panicking.rs:200
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:215
   4: <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
             at src/libstd/panicking.rs:478
   5: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:385
   6: std::panicking::try::do_call
             at src/libstd/panicking.rs:340
   7: stevenarella::server::Server::entity_tick
             at src/server/mod.rs:449
   8: stevenarella::server::Server::tick
             at src/server/mod.rs:356
   9: stevenarella::main
             at src/main.rs:326
  10: std::rt::lang_start::{{closure}}
             at /rustc/fc50f328b0353b285421b8ff5d4100966387a997/src/libstd/rt.rs:64
  11: std::panicking::try::do_call
             at src/libstd/rt.rs:49
             at src/libstd/panicking.rs:297
  12: panic_unwind::dwarf::eh::read_encoded_pointer
             at src/libpanic_unwind/lib.rs:87
  13: std::panicking::update_count_then_panic
             at src/libstd/panicking.rs:276
             at src/libstd/panic.rs:388
             at src/libstd/rt.rs:48
  14: std::rt::lang_start
             at /rustc/fc50f328b0353b285421b8ff5d4100966387a997/src/libstd/rt.rs:64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions