Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

Unknown file type(?) triggers fatal server crash #4267

Closed

Description

I was briefly able to repro this, but not since and not able to capture the full log. I was mostly playing around with a workspace with an unrecognized file type.

internal/parser.(*Parser).initializeState()
	internal/parser/parser.go:292
internal/parser.ParseSourceFile()
	internal/parser/parser.go:140
internal/project.NewSession.NewParseCache.func3()
	internal/project/parsecache.go:34
internal/project.(*RefCountCache[...]).Acquire()
	internal/project/refcountcache.go:49
internal/project.(*compilerHost).GetSourceFile()
	internal/project/compilerhost.go:100
internal/compiler.(*fileLoader).parseSourceFile()
	internal/compiler/fileloader.go:343
internal/compiler.(*parseTask).load()
	internal/compiler/filesparser.go:112
internal/compiler.(*filesParser).start.func1()
	internal/compiler/filesparser.go:290
internal/core.(*parallelWorkGroup).Queue.func1()
	internal/core/workgroup.go:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions