Skip to content

Server unexpectedly crashed. #163

@Hobzar

Description

@Hobzar

Sometimes, merlin server crashed.
If I create http2 listener, then I connect agents. But after a few minutes, it crashed.
Output was like this.
goroutine 4791 [IO wait]:
internal/poll.runtime_pollWait(0x7fd7cd0a3698, 0x72)
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0xc00036b800?, 0xc0004de600?, 0x0)
/opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
/opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc00036b800, {0xc0004de600, 0x1300, 0x1300})
/opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_unix.go:164 +0x27a
net.(*netFD).Read(0xc00036b800, {0xc0004de600?, 0xc0004de605?, 0x1e?})
/opt/hostedtoolcache/go/1.21.9/x64/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0004567b0, {0xc0004de600?, 0x0?, 0xc000394fb8?})
/opt/hostedtoolcache/go/1.21.9/x64/src/net/net.go:179 +0x45
crypto/tls.(*atLeastReader).Read(0xc00062cab0, {0xc0004de600?, 0xc00062cab0?, 0x0?})
/opt/hostedtoolcache/go/1.21.9/x64/src/crypto/tls/conn.go:805 +0x3b
bytes.(*Buffer).ReadFrom(0xc0003950a8, {0xd16180, 0xc00062cab0})
/opt/hostedtoolcache/go/1.21.9/x64/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000394e00, {0xd16360?, 0xc0004567b0}, 0x1300?)
/opt/hostedtoolcache/go/1.21.9/x64/src/crypto/tls/conn.go:827 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc000394e00, 0x0)
/opt/hostedtoolcache/go/1.21.9/x64/src/crypto/tls/conn.go:625 +0x250
crypto/tls.(*Conn).readRecord(...)
/opt/hostedtoolcache/go/1.21.9/x64/src/crypto/tls/conn.go:587
crypto/tls.(*Conn).Read(0xc000394e00, {0xc0006b4f20, 0x9, 0x44db26?})
/opt/hostedtoolcache/go/1.21.9/x64/src/crypto/tls/conn.go:1369 +0x158
io.ReadAtLeast({0x7fd7cd162ac0, 0xc000394e00}, {0xc0006b4f20, 0x9, 0x9}, 0x9)
/opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
/opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:354
net/http.http2readFrameHeader({0xc0006b4f20, 0x9, 0x0?}, {0x7fd7cd162ac0?, 0xc000394e00?})
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:1635 +0x65
net/http.(*http2Framer).ReadFrame(0xc0006b4ee0)
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:1899 +0x85
net/http.(*http2serverConn).readFrames(0xc0002f9860)
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:4666 +0x87
created by net/http.(*http2serverConn).serve in goroutine 4752
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:4778 +0x56a

goroutine 3513 [select]:
net/http.(*http2serverConn).serve(0xc0006111e0)
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:4786 +0x88f
net/http.(*http2Server).ServeConn(0xc0001003c0, {0xd20778?, 0xc0000ed880}, 0xc00063bb18)
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:4374 +0xbcc
net/http.http2ConfigureServer.func1(0xc0002a80f0, 0xd20778?, {0xd175a0?, 0xc0006207a0})
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/h2_bundle.go:4164 +0xfc
net/http.(*conn).serve(0xc0006ba240, {0xd1c9a8, 0xc0002721e0})
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:1917 +0x1213
created by net/http.(*Server).Serve in goroutine 30
/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:3086 +0x5cb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions