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

Frequent crashes on Windows with Assertion failed: IDAndOffset.first.isValid() && "invalid FileID for transition" #1139

Open
z2oh opened this issue Mar 19, 2024 · 2 comments

Comments

@z2oh
Copy link
Contributor

z2oh commented Mar 19, 2024

Assertion failed: IDAndOffset.first.isValid() && "invalid FileID for transition", file C:\a\swift-build\swift-build\SourceCache\llvm-project\clang\lib\Serialization\ASTReader.cpp, line 6609

The assertion in question: https://github.com/apple/llvm-project/blob/51859f9280134994d482f8420619760409903585/clang/lib/Serialization/ASTReader.cpp#L6675

We're seeing this happen frequently enough to hit the 6 crashes in 3 minutes no-restart limit.

This may not be actually be a sourcekit-lsp issue, but as it materializes as a crash I figured it was worth flagging here.

@ahoppen
Copy link
Collaborator

ahoppen commented Mar 19, 2024

Tracked in Apple’s issue tracker as rdar://125018783

@ahoppen
Copy link
Collaborator

ahoppen commented Mar 22, 2024

Do you have a crash trace of the call stack that caused the assertion failure?

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

2 participants