Skip to content

Serena index crashing and terminating at 82% wins wsl #529

@visioncourse

Description

@visioncourse

Windows WSL Ubuntu. I've had Serena running ok in the past, but recently tried to index, and it just terminates and crashes the terminal.
I have to reboot windows as it close out all open terminals or vscode terminal i have open.

I have run Serena project index --log-level DEBUG
And here are the results. The last line is before it terminates on the terminal.

DEBUG 2025-08-23 23:11:43,294 solidlsp:request_document_symbols:1063 - Caching document symbols for mcp-server/node_modules/typescript/lib/tsserver.js
DEBUG 2025-08-23 23:11:43,306 solidlsp:request_document_symbols:972 - No cache hit for symbols with include_body=False in mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts
DEBUG 2025-08-23 23:11:43,307 solidlsp:request_document_symbols:974 - Requesting document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts from the Language Server
DEBUG 2025-08-23 23:11:43,307 solidlsp.ls_handler:send_request:466 - Starting: Request[request_id=1798, status='pending', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:43,311 solidlsp.ls_handler:send_request:475 - Completed: Request[request_id=1798, status='completed', method='textDocument/documentSymbol'] DEBUG 2025-08-23 23:11:43,311 solidlsp:request_document_symbols:987 - Received 18 document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts from the Language Server
DEBUG 2025-08-23 23:11:43,312 solidlsp:request_document_symbols:1063 - Caching document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts DEBUG 2025-08-23 23:11:43,312 solidlsp:request_document_symbols:972 - No cache hit for symbols with include_body=True in mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts
DEBUG 2025-08-23 23:11:43,313 solidlsp:request_document_symbols:974 - Requesting document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts from the Language Server DEBUG 2025-08-23 23:11:43,313 solidlsp.ls_handler:send_request:466 - Starting: Request[request_id=1799, status='pending', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:43,321 solidlsp.ls_handler:send_request:475 - Completed: Request[request_id=1799, status='completed', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:43,322 solidlsp:request_document_symbols:987 - Received 18 document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts from the Language Server
DEBUG 2025-08-23 23:11:43,333 solidlsp:request_document_symbols:1063 - Caching document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts INFO 2025-08-23 23:11:43,334 solidlsp:save_cache:1640 - Saving updated document symbols cache to /root/Projects/vcm-apps/sparkv1/optispark/.serena/cache/typescript/document_symbols_cache_v23-06-25.pkl
DEBUG 2025-08-23 23:11:47,217 solidlsp:request_document_symbols:972 - No cache hit for symbols with include_body=False in mcp-server/node_modules/typescript/lib/_tsc.js DEBUG 2025-08-23 23:11:47,218 solidlsp:request_document_symbols:974 - Requesting document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server
DEBUG 2025-08-23 23:11:47,218 solidlsp.ls_handler:send_request:466 - Starting: Request[request_id=1800, status='pending', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:47,479 solidlsp.ls_handler:send_request:475 - Completed: Request[request_id=1800, status='completed', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:47,541 solidlsp:request_document_symbols:987 - Received 2660 document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server
DEBUG 2025-08-23 23:11:47,772 solidlsp:request_document_symbols:1063 - Caching document symbols for mcp-server/node_modules/typescript/lib/_tsc.js
DEBUG 2025-08-23 23:11:47,807 solidlsp:request_document_symbols:972 - No cache hit for symbols with include_body=True in mcp-server/node_modules/typescript/lib/_tsc.js
DEBUG 2025-08-23 23:11:47,808 solidlsp:request_document_symbols:974 - Requesting document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server
DEBUG 2025-08-23 23:11:47,808 solidlsp.ls_handler:send_request:466 - Starting: Request[request_id=1801, status='pending', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:48,422 solidlsp.ls_handler:send_request:475 - Completed: Request[request_id=1801, status='completed', method='textDocument/documentSymbol']
DEBUG 2025-08-23 23:11:48,480 solidlsp:request_document_symbols:987 - Received 2660 document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server

Restarted the computer and reran index again:

DEBUG 2025-08-24 07:48:22,441 solidlsp:request_document_symbols:967 - Returning cached document symbols for mcp-server/node_modules/typescript/lib/tsserver.js
DEBUG 2025-08-24 07:48:22,441 solidlsp:request_document_symbols:967 - Returning cached document symbols for mcp-server/node_modules/typescript/lib/tsserver.js
DEBUG 2025-08-24 07:48:22,442 solidlsp:request_document_symbols:967 - Returning cached document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts
DEBUG 2025-08-24 07:48:22,442 solidlsp:request_document_symbols:967 - Returning cached document symbols for mcp-server/node_modules/typescript/lib/lib.scripthost.d.ts
DEBUG 2025-08-24 07:48:22,443 solidlsp:save_cache:1637 - No changes to document symbols cache, skipping save
DEBUG 2025-08-24 07:48:22,499 solidlsp:request_document_symbols:972 - No cache hit for symbols with include_body=False in mcp-server/node_modules/typescript/lib/_tsc.js
DEBUG 2025-08-24 07:48:22,499 solidlsp:request_document_symbols:974 - Requesting document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server
DEBUG 2025-08-24 07:48:22,499 solidlsp.ls_handler:send_request:466 - Starting: Request[status='pending', method='textDocument/documentSymbol', request_id=2]
DEBUG 2025-08-24 07:48:26,747 solidlsp.ls_handler:send_request:475 - Completed: Request[status='completed', method='textDocument/documentSymbol', request_id=2]
DEBUG 2025-08-24 07:48:26,814 solidlsp:request_document_symbols:987 - Received 2660 document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server
DEBUG 2025-08-24 07:48:26,992 solidlsp:request_document_symbols:1063 - Caching document symbols for mcp-server/node_modules/typescript/lib/_tsc.js
DEBUG 2025-08-24 07:48:27,024 solidlsp:request_document_symbols:972 - No cache hit for symbols with include_body=True in mcp-server/node_modules/typescript/lib/_tsc.js
DEBUG 2025-08-24 07:48:27,024 solidlsp:request_document_symbols:974 - Requesting document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server
DEBUG 2025-08-24 07:48:27,025 solidlsp.ls_handler:send_request:466 - Starting: Request[status='pending', method='textDocument/documentSymbol', request_id=3]
DEBUG 2025-08-24 07:48:27,616 solidlsp.ls_handler:send_request:475 - Completed: Request[status='completed', method='textDocument/documentSymbol', request_id=3]
DEBUG 2025-08-24 07:48:27,692 solidlsp:request_document_symbols:987 - Received 2660 document symbols for mcp-server/node_modules/typescript/lib/_tsc.js from the Language Server

Not sure if if helps too but if i run

uvx --from git+https://github.com/oraios/serena serena project index-file mcp-server/node_modules/typescript/lib/_tsc.js
it sometimes terminates the window or just returns after a few minutes to prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions