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

[ServerErrors][JavaScript] 5.8.0-dev.20241110 vs 5.6.3 #60470

Closed
typescript-bot opened this issue Nov 10, 2024 · 2 comments
Closed

[ServerErrors][JavaScript] 5.8.0-dev.20241110 vs 5.6.3 #60470

typescript-bot opened this issue Nov 10, 2024 · 2 comments

Comments

@typescript-bot
Copy link
Collaborator

The following errors were reported by 5.8.0-dev.20241110 vs 5.6.3
Pipeline that generated this bug
Logs for the pipeline run
File that generated the pipeline

This run considered 300 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 290 of 300 visited repos
Outcome Count
Detected interesting changes 2
Detected no interesting changes 288
Git clone failed 2
Unknown failure 8

Investigation Status

Repo Errors Outcome
@typescript-bot
Copy link
Collaborator Author

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

tastejs/todomvc Raw error text: RepoResults3/tastejs.todomvc.rawError.txt in the artifact folder
Replay commands: RepoResults3/tastejs.todomvc.replay.txt in the artifact folder

Last few requests

{"seq":22357,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13887,"offset":10,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":22358,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13887,"offset":10,"entryNames":["AI"]}}
{"seq":22359,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13895,"offset":25,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}}
{"seq":22360,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":13903,"offset":22,"includeExternalModuleExports":false,"triggerKind":1}}

Repro steps

#!/bin/bash

git clone https://github.com/tastejs/todomvc --recurse-submodules
git -C "./todomvc" reset --hard c8aedce5f512e47991a62b37b9ee3ef38df1a4b6
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164148/artifacts?artifactName=RepoResults3&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults3.zip "$downloadUrl"
unzip -p RepoResults3.zip RepoResults3/tastejs.todomvc.replay.txt > tastejs.todomvc.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./todomvc ./tastejs.todomvc.replay.txt <PATH_TO_tsserver.js>

@typescript-bot
Copy link
Collaborator Author

RangeError: Maximum call stack size exceeded

Req #1366 - references
    at Object.createBaseTokenNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:28920:24)
    at createBaseToken (/typescript-5.8.0-dev.20241110/lib/typescript.js:25439:25)
    at createToken (/typescript-5.8.0-dev.20241110/lib/typescript.js:25446:18)
    at Object.createKeywordTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:25862:12)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:55323:24)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:55211:24)
    at serializeInferredReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:57292:186)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:54817:16)
    at inferReturnTypeOfSignatureSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137293:21)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137726:59)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137144:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:57275:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:56294:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241110/lib/typescript.js:56115:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241110/lib/typescript.js:56026:11)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241110/lib/typescript.js:55793:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241110/lib/typescript.js:55716:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:55656:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:55449:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:55211:24)
    at /typescript-5.8.0-dev.20241110/lib/typescript.js:54957:202
    at withContext2 (/typescript-5.8.0-dev.20241110/lib/typescript.js:55154:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:54957:107)
    at typeToString (/typescript-5.8.0-dev.20241110/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241110/lib/typescript.js:78904:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241110/lib/typescript.js:78732:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:78513:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:84482:16)
    at checkExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84392:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241110/lib/typescript.js:84151:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241110/lib/typescript.js:84167:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241110/lib/typescript.js:77615:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:84480:16)
    at checkExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84392:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84333:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:91204:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241110/lib/typescript.js:137284:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241110/lib/typescript.js:137501:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:137365:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:137758:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137724:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137144:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:57275:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:56294:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241110/lib/typescript.js:56115:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241110/lib/typescript.js:56023:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241110/lib/typescript.js:55793:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241110/lib/typescript.js:55716:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:55656:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:55449:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:55211:24)
    at /typescript-5.8.0-dev.20241110/lib/typescript.js:54957:202
    at withContext2 (/typescript-5.8.0-dev.20241110/lib/typescript.js:55154:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:54957:107)
    at typeToString (/typescript-5.8.0-dev.20241110/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241110/lib/typescript.js:78904:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241110/lib/typescript.js:78732:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:78513:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:84482:16)
    at checkExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84392:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241110/lib/typescript.js:84151:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241110/lib/typescript.js:84167:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241110/lib/typescript.js:77615:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:84480:16)
    at checkExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84392:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84333:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:91204:40)
    at Object.serializeTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:54821:53)
    at inferExpressionType (/typescript-5.8.0-dev.20241110/lib/typescript.js:137284:21)
    at typeFromObjectLiteral (/typescript-5.8.0-dev.20241110/lib/typescript.js:137501:30)
    at typeFromExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:137365:16)
    at typeFromSingleReturnExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:137758:16)
    at createReturnFromSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137724:20)
    at Object.serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:137144:16)
    at serializeReturnTypeForSignature (/typescript-5.8.0-dev.20241110/lib/typescript.js:57275:49)
    at signatureToSignatureDeclarationHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:56294:30)
    at addPropertyToElementList (/typescript-5.8.0-dev.20241110/lib/typescript.js:56115:37)
    at createTypeNodesFromResolvedType (/typescript-5.8.0-dev.20241110/lib/typescript.js:56023:13)
    at createTypeNodeFromObjectType (/typescript-5.8.0-dev.20241110/lib/typescript.js:55793:25)
    at visitAndTransformType (/typescript-5.8.0-dev.20241110/lib/typescript.js:55716:24)
    at createAnonymousTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:55656:20)
    at typeToTypeNodeWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:55449:16)
    at typeToTypeNodeHelper (/typescript-5.8.0-dev.20241110/lib/typescript.js:55211:24)
    at /typescript-5.8.0-dev.20241110/lib/typescript.js:54957:202
    at withContext2 (/typescript-5.8.0-dev.20241110/lib/typescript.js:55154:29)
    at Object.typeToTypeNode (/typescript-5.8.0-dev.20241110/lib/typescript.js:54957:107)
    at typeToString (/typescript-5.8.0-dev.20241110/lib/typescript.js:54716:34)
    at reportNonexistentProperty (/typescript-5.8.0-dev.20241110/lib/typescript.js:78904:27)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-5.8.0-dev.20241110/lib/typescript.js:78732:11)
    at checkPropertyAccessExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:78513:94)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:84482:16)
    at checkExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84392:32)
    at checkExpressionForMutableLocation (/typescript-5.8.0-dev.20241110/lib/typescript.js:84151:18)
    at checkPropertyAssignment (/typescript-5.8.0-dev.20241110/lib/typescript.js:84167:12)
    at checkObjectLiteral (/typescript-5.8.0-dev.20241110/lib/typescript.js:77615:71)
    at checkExpressionWorker (/typescript-5.8.0-dev.20241110/lib/typescript.js:84480:16)
    at checkExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84392:32)
    at getTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:84333:18)
    at getRegularTypeOfExpression (/typescript-5.8.0-dev.20241110/lib/typescript.js:91204:40)

Affected repos

less/less.js Raw error text: RepoResults8/less.less.js.rawError.txt in the artifact folder
Replay commands: RepoResults8/less.less.js.replay.txt in the artifact folder

Last few requests

{"seq":1363,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3800,"offset":51,"includeExternalModuleExports":false,"triggerKind":1}}
{"seq":1364,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3800,"offset":51,"entryNames":["__assign"]}}
{"seq":1365,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3802,"offset":60}}
{"seq":1366,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/less/dist/less.js","line":3802,"offset":60}}

Repro steps

#!/bin/bash

git clone https://github.com/less/less.js --recurse-submodules
git -C "./less.js" reset --hard 09b8f5cf4d9218799a70be5179251200296a0560
downloadUrl=$(curl -s "https://typescript.visualstudio.com/TypeScript/_apis/build/builds/164148/artifacts?artifactName=RepoResults8&api-version=7.0" | jq -r ".resource.downloadUrl")
wget -O RepoResults8.zip "$downloadUrl"
unzip -p RepoResults8.zip RepoResults8/less.less.js.replay.txt > less.less.js.replay.txt
npm install --no-save @typescript/server-replay

To run the repro:

# `npx tsreplay --help` to learn about helpful switches for debugging, logging, etc.
npx tsreplay ./less.js ./less.less.js.replay.txt <PATH_TO_tsserver.js>

@RyanCavanaugh RyanCavanaugh closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
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