Skip to content

panic while decompressing data  #48

Description

@liujiahao-plus

runtime: pointer 0xc028c4c517 to unused region of span span.base()=0xc00b0c0000 span.limit=0xc00b0c1e00 span.state=1
fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)

runtime stack:

goroutine 64531572 [syscall]:
runtime.cgocall(0x22e74d0, 0xc02f3cb988)
/usr/local/go/src/runtime/cgocall.go:156 +0x5c fp=0xc02f3cb960 sp=0xc02f3cb928 pc=0x413a1c
github.com/valyala/gozstd._Cfunc_ZSTD_decompressStream_wrapper(0x7fdd94138050, 0x7fdd9416f760, 0x7fdd9414f730)
_cgo_gotypes.go:387 +0x4d fp=0xc02f3cb988 sp=0xc02f3cb960 pc=0xba10ed
github.com/valyala/gozstd.(*Reader).fillOutBuf(0xc02679a680)
/opt/tiger/compile_path/pkg/mod/github.com/valyala/gozstd@v1.17.0/reader.go:205 +0xa5 fp=0xc02f3cb9e0 sp=0xc02f3cb988 pc=0xba2945
github.com/valyala/gozstd.(*Reader).Read(0xc02679a680, {0xc04efd2000, 0x7fe00, 0x203005})
/opt/tiger/compile_path/pkg/mod/github.com/valyala/gozstd@v1.17.0/reader.go:179 +0x4b fp=0xc02f3cba10 sp=0xc02f3cb9e0 pc=0xba278b
bytes.(*Buffer).ReadFrom(0xc014e43cb0, {0x2c06000, 0xc02679a680})
/usr/local/go/src/bytes/buffer.go:204 +0x98 fp=0xc02f3cba68 sp=0xc02f3cba10 pc=0x504f38

Activity

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

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