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

Symbol parser panics on symbol "scip-go . . . " #50

Open
olafurpg opened this issue Jun 12, 2022 · 1 comment
Open

Symbol parser panics on symbol "scip-go . . . " #50

olafurpg opened this issue Jun 12, 2022 · 1 comment
Labels
bug Something isn't working graph/scip team/graph

Comments

@olafurpg
Copy link
Member

olafurpg commented Jun 12, 2022

github.com/sourcegraph/scip/bindings/go/scip.(*symbolParser).current(...)
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/symbol.go:96
github.com/sourcegraph/scip/bindings/go/scip.(*symbolParser).acceptEscapedIdentifier(0xc0000b54f8, {0x15d1ee6, 0xf}, 0x20)
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/symbol.go:202 +0x176
github.com/sourcegraph/scip/bindings/go/scip.(*symbolParser).acceptSpaceEscapedIdentifier(...)
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/symbol.go:189
github.com/sourcegraph/scip/bindings/go/scip.ParsePartialSymbol({0xc002deb5f0, 0xe}, 0x1)
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/symbol.go:46 +0x2e5
github.com/sourcegraph/scip/bindings/go/scip.ParseSymbol(...)
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/symbol.go:21
github.com/sourcegraph/scip/bindings/go/scip.(*SymbolFormatter).Format(0x40?, {0xc002deb5f0?, 0x0?})
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/symbol_formatter.go:35 +0x2e
github.com/sourcegraph/scip/bindings/go/scip/testutil.FormatSnapshot.func2({0xc002deb5f0, 0xe})
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/testutil/format.go:68 +0x3d
github.com/sourcegraph/scip/bindings/go/scip/testutil.FormatSnapshot(0xc00303e1c0, 0x37?, {0x15ccadc, 0x2}, {0x15f2c50, 0x15f2c58, 0x15f2c60, 0x15f2c68, 0x15f2c70})
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/testutil/format.go:103 +0xa9a
github.com/sourcegraph/scip/bindings/go/scip/testutil.FormatSnapshots(0xc0000b5c08, {0x15ccadc, 0x2}, {0x15f2c50, 0x15f2c58, 0x15f2c60, 0x15f2c68, 0x15f2c70})
	/Users/olafurpg/gopath/pkg/mod/github.com/sourcegraph/[email protected]/bindings/go/scip/testutil/format.go:28 +0x170
@olafurpg olafurpg added the bug Something isn't working label Jun 12, 2022
@Strum355
Copy link

Strum355 commented Aug 2, 2022

Same bug happening on scip-java output, when indexing maven/io.get-coursier/coursier-core_2.13/v2.1.0-M5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graph/scip team/graph
Projects
None yet
Development

No branches or pull requests

4 participants