bytedance / sonic

A blazingly fast JSON serializing & deserializing library
Apache License 2.0
6.54k stars 322 forks source link

windows use sonic error #626

Closed zeroYexiao closed 2 months ago

zeroYexiao commented 2 months ago

go version go1.16.5 windows/amd64 sonic v1.11.6

Exception 0xc0000005 0x0 0x20 0x1c4bf900005
PC=0x1c4bf900005

github.com/bytedance/sonic/internal/native.Quote(0x2cd04a0, 0x9, 0xc000c0e341, 0xc000dd3958, 0x0, 0x0)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/native/dispatch_amd64.go:94 +0xa2
github.com/bytedance/sonic/internal/encoder.encodeString(0xc000dd3a38, 0x2cd04a0, 0x9, 0x0, 0x0)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/primitives.go:53 +0x1d9
github.com/bytedance/sonic/internal/encoder.Quote(0x2cd04a0, 0x9, 0x0, 0x0)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/encoder.go:187 +0xf1
github.com/bytedance/sonic/internal/encoder.(*_Compiler).compileStructBody(0xc000b11650, 0xc000121638, 0x0, 0x34b2228, 0x303dc60)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/compiler.go:738 +0x738
github.com/bytedance/sonic/internal/encoder.(*_Compiler).compileStruct(0xc000b11650, 0xc000121638, 0x0, 0x34b2228, 0x303dc60)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/compiler.go:693 +0x1fd
github.com/bytedance/sonic/internal/encoder.(*_Compiler).compileOps(0xc000b11650, 0xc000121638, 0x0, 0x34b2228, 0x303dc60)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/compiler.go:505 +0x68c
github.com/bytedance/sonic/internal/encoder.(*_Compiler).compileRec(0xc000b11650, 0xc000121638, 0x0, 0x34b2228, 0x303dc60, 0x0)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/compiler.go:476 +0x393
github.com/bytedance/sonic/internal/encoder.(*_Compiler).compileOne(0xc000b11650, 0xc000121638, 0x0, 0x34b2228, 0x303dc60, 0xc000ccff00)
    D:/golang/gopath/pkg/mod/github.com/bytedance/sonic@v1.11.6/internal/encoder/compiler.go:441 +0xf8