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

Crash after transferring to a different world #701

Closed
JustTalDevelops opened this issue Nov 26, 2022 · 0 comments
Closed

Crash after transferring to a different world #701

JustTalDevelops opened this issue Nov 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@JustTalDevelops
Copy link
Member

There was a too many blobs error before the crash, stating a number around 4,000~ or so.

fatal error: sync: unlock of unlocked mutex
goroutine 199 [running]:
sync.fatal({0xe5aa31?, 0xc0046420c8?})
        /usr/lib/go/src/runtime/panic.go:1031 +0x1e
sync.(*Mutex).unlockSlow(0xc001160790, 0xffffffff)
        /usr/lib/go/src/sync/mutex.go:229 +0x3c
sync.(*Mutex).Unlock(0xc004642000?)
        /usr/lib/go/src/sync/mutex.go:223 +0x29
github.com/df-mc/dragonfly/server/session.(*Session).trackBlob(0xc001160600, 0x40b?, {0xc00c218000, 0x40b, 0x40b})
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/session/chunk.go:237 +0x22e
github.com/df-mc/dragonfly/server/session.(*Session).ViewSubChunks(0xc001160600, {0x0, 0x0, 0x0}, {0xc00221d000, 0x7be, 0x4127a4?})
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/session/chunk.go:102 +0xe85
github.com/df-mc/dragonfly/server/session.(*SubChunkRequestHandler).Handle(0xd11700, {0x13109a0?, 0xc008ba42d0?}, 0xc001160600?)
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/session/handler_sub_chunk_request.go:15 +0x65
github.com/df-mc/dragonfly/server/session.(*Session).handlePacket(0xc001160600, {0x13109a0, 0xc008ba42d0})
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/session/session.go:417 +0x9b
github.com/df-mc/dragonfly/server/session.(*Session).handlePackets(0xc001160600)
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/session/session.go:312 +0xef
created by github.com/df-mc/dragonfly/server/session.(*Session).Start
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/session/session.go:217 +0xa5
goroutine 1 [chan receive]:
github.com/df-mc/dragonfly/server.(*Server).Accept(0xc000582680, 0xc0045e3970)
        /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.8.8-0.20221122231403-28ef6cfac7b1/server/server.go:100 +0x3f
main.main()
        /home/runner/work/kcpe/kcpe/main.go:101 +0x1185
goroutine 11 [syscall]:
syscall.Syscall(0x0?, 0x11cbc18?, 0x800000?, 0x7ffff800000?)
        /usr/lib/go/src/syscall/syscall_linux.go:68 +0x27
syscall.read(0xc00004c0c0?, {0xc000152000?, 0xc000083bf0?, 0x41ba06?})
        /usr/lib/go/src/syscall/zsyscall_linux_amd64.go:696 +0x45
syscall.Read(...)
        /usr/lib/go/src/syscall/syscall_unix.go:183
internal/poll.ignoringEINTRIO(...)
        /usr/lib/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc00004c0c0?, {0xc000152000?, 0x1000?, 0x1000?})
        /usr/lib/go/src/internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
        /usr/lib/go/src/os/file_posix.go:31
os.(*File).Read(0xc000014010, {0xc000152000?, 0x0?, 0x0?})
        /usr/lib/go/src/os/file.go:118 +0x5e
bufio.(*Scanner).Scan(0xc000594180)
        /usr/lib/go/src/bufio/scan.go:214 +0x876
github.com/kingdomscraftpe/kcpe/kcpe/console.init.0.func1()
        /home/runner/work/kcpe/kcpe/kcpe/console/console.go:20 +0x5c
created by github.com/kingdomscraftpe/kcpe/kcpe/console.init.0
        /home/runner/work/kcpe/kcpe/kcpe/console/console.go:19 +0xcc
goroutine 12 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc0016c6890, 0x2)
        /usr/lib/go/src/runtime/sema.go:517 +0x14c
sync.(*Cond).Wait(0x408110?)
        /usr/lib/go/src/sync/cond.go:70 +0x8c
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*pool).createConnections.func2()
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:805 +0xeb
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*pool).createConnections(0xc00016a160, {0x1314af8, 0xc0016c68c0}, 0x0?)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:827 +0x12a
created by go.mongodb.org/mongo-driver/x/mongo/driver/topology.newPool
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:195 +0x6d8
goroutine 13 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc0016c6890, 0x1)
        /usr/lib/go/src/runtime/sema.go:517 +0x14c
sync.(*Cond).Wait(0xc000113698?)
        /usr/lib/go/src/sync/cond.go:70 +0x8c
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*pool).createConnections.func2()
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:805 +0xeb
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*pool).createConnections(0xc00016a160, {0x1314af8, 0xc0016c68c0}, 0x0?)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:827 +0x12a
created by go.mongodb.org/mongo-driver/x/mongo/driver/topology.newPool
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:195 +0x6d8
goroutine 14 [select]:
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*pool).maintain(0xc00016a160, {0x1314af8, 0xc0016c68c0}, 0x0?)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:914 +0x218
created by go.mongodb.org/mongo-driver/x/mongo/driver/topology.newPool
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/pool.go:202 +0x8aa
goroutine 15 [select]:
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*rttMonitor).runHellos(0xc0016d5320, 0xc0016cec80)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/rtt_monitor.go:141 +0x12d
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*rttMonitor).start(0xc0016d5320)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/rtt_monitor.go:115 +0x145
created by go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*rttMonitor).connect
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/rtt_monitor.go:78 +0x6a
goroutine 16 [IO wait]:
internal/poll.runtime_pollWait(0x7f85ab550610, 0x72)
        /usr/lib/go/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0xc000594000?, 0xc000ed1a2c?, 0x0)
        /usr/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
        /usr/lib/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000594000, {0xc000ed1a2c, 0x4, 0x4})
        /usr/lib/go/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc000594000, {0xc000ed1a2c?, 0x100000117d100?, 0x40bead?})
        /usr/lib/go/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000122038, {0xc000ed1a2c?, 0xc00056b9c8?, 0x40cdb6?})
        /usr/lib/go/src/net/net.go:183 +0x45
io.ReadAtLeast({0x1305a20, 0xc000122038}, {0xc000ed1a2c, 0x4, 0x4}, 0x4)
        /usr/lib/go/src/io/io.go:332 +0x9a
io.ReadFull(...)
        /usr/lib/go/src/io/io.go:351
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*connection).read(0xc0015a2280, {0x1314af8?, 0xc000fac6c0}, {0xc00655f800, 0x0, 0x400})
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/connection.go:440 +0x245
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*connection).readWireMessage(0xc0015a2280, {0x1314af8, 0xc000fac6c0}, {0xc00655f800, 0x0, 0x400})
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/connection.go:402 +0x1ea
go.mongodb.org/mongo-driver/x/mongo/driver/topology.initConnection.ReadWireMessage({0x0?}, {0x1314af8?, 0xc000fac6c0?}, {0xc00655f800?, 0x0?, 0x0?})
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/connection.go:568 +0x28
go.mongodb.org/mongo-driver/x/mongo/driver.Operation.readWireMessage({0xc00c212900, {0xe432e1, 0x5}, {0x130db58, 0xc00c2128f0}, 0xc00c212910, {0x0, 0x0}, 0x0, 0x0, ...}, ...)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/operation.go:841 +0x76
go.mongodb.org/mongo-driver/x/mongo/driver.Operation.ExecuteExhaust({0xc00c212900, {0xe432e1, 0x5}, {0x130db58, 0xc00c2128f0}, 0xc00c212910, {0x0, 0x0}, 0x0, 0x0, ...}, ...)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/operation_exhaust.go:27 +0x166
go.mongodb.org/mongo-driver/x/mongo/driver/operation.(*Hello).StreamResponse(0xc000fb0000, {0x1314af8, 0xc000fac6c0}, {0x131e448, 0xc0015a2280})
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/operation/hello.go:202 +0x178
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*Server).check(_)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/server.go:736 +0x55e
go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*Server).update(0xc00049c200)
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/server.go:536 +0x365
created by go.mongodb.org/mongo-driver/x/mongo/driver/topology.(*Server).Connect
        /home/runner/go/pkg/mod/go.mongodb.org/mongo-driver@v1.11.0/x/mongo/driver/topology/server.go:207 +0x1c5
@JustTalDevelops JustTalDevelops added the bug Something isn't working label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant