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

Index API panic in v1.1.0 #84

Open
aghamir opened this issue Sep 17, 2024 · 1 comment
Open

Index API panic in v1.1.0 #84

aghamir opened this issue Sep 17, 2024 · 1 comment

Comments

@aghamir
Copy link

aghamir commented Sep 17, 2024

Hi,
After upgrading to new version, index-api get panic:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xa6a07f]

goroutine 8 [running]:
github.com/jackc/pgx/v5/pgtype.(*Map).RegisterType(0xc0001cd570, 0x0)
	/go/pkg/mod/github.com/jackc/pgx/[email protected]/pgtype/pgtype.go:253 +0x1f
github.com/kdimentionaltree/ton-index-go/index.afterConnectRegisterTypes({0x193b6d0, 0xc0000a4f00}, 0xc0001ed680)
	/go/app/index/database.go:26 +0xec
github.com/jackc/pgx/v5/pgxpool.NewWithConfig.func1({0x193b6d0, 0xc0000a4f00})
	/go/pkg/mod/github.com/jackc/pgx/[email protected]/pgxpool/pool.go:233 +0x1a8
github.com/jackc/puddle/v2.(*Pool[...]).initResourceValue.func1()
	/go/pkg/mod/github.com/jackc/puddle/[email protected]/pool.go:409 +0xdc
created by github.com/jackc/puddle/v2.(*Pool[...]).initResourceValue in goroutine 1
	/go/pkg/mod/github.com/jackc/puddle/[email protected]/pool.go:407 +0xf6
@BaoHG1508
Copy link

Have you solved this yet? @aghamir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@aghamir @BaoHG1508 and others