[BUG] Claude Code process crashes with exit code 1 after reading a small PDF created with lualatex
Resolved 💬 2 comments Opened Mar 9, 2026 by dkrisman Closed Apr 6, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code crashes (process exits with code 1) after reading a PDF file. The crash occurs when sending a follow-up message after the PDF summary is returned.
What Should Happen?
The session continues normally after returning the PDF summary.
Error Messages/Logs
2026-03-09 16:20:59.180 [info] Claude code extension is now active?
2026-03-09 16:20:59.181 [info] MCP Server running on port 45619 (localhost only)
2026-03-09 16:21:01.168 [info] AuthManager initialized
2026-03-09 16:21:01.372 [info] Received message from webview: {"type":"request","requestId":"d0tg8arg7jv","request":{"type":"init"}}
2026-03-09 16:21:01.375 [info] Getting authentication status
2026-03-09 16:21:01.375 [info] OAuth tokens found in secure storage
2026-03-09 16:21:01.405 [info] Getting authentication status
2026-03-09 16:21:01.405 [info] OAuth tokens found in secure storage
2026-03-09 16:21:01.407 [info] Received message from webview: {"type":"request","requestId":"it98p5csxle","request":{"type":"rename_tab","title":"Claude Code","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:01.407 [info] Received message from webview: {"type":"request","requestId":"o0plgny20f","request":{"type":"get_claude_state"}}
2026-03-09 16:21:01.465 [info] Loading config cache by launching Claude...
2026-03-09 16:21:01.470 [info] Spawning Claude with SDK query function - cwd: d:\...\testrepo, permission mode: default, version: 2.1.71, c:\Users\...\.vscode\extensions\anthropic.claude-code-2.1.71-win32-x64\resources\native-binary\claude.exe, resume: undefined
2026-03-09 16:21:01.476 [info] Received message from webview: {"type":"request","requestId":"ip5uijepmrj","request":{"type":"get_current_selection"}}
2026-03-09 16:21:01.476 [info] Received message from webview: {"type":"request","requestId":"6kqnnfpxrdu","request":{"type":"get_asset_uris"}}
2026-03-09 16:21:01.476 [info] Received message from webview: {"type":"request","requestId":"wrlt4639p7","request":{"type":"list_sessions_request"}}
2026-03-09 16:21:01.476 [info] Received message from webview: {"type":"request","requestId":"xhefeg06myi","request":{"type":"rename_tab","title":"Claude Code","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:01.476 [info] Received message from webview: {"type":"request","requestId":"yrgylfyuxbr","request":{"type":"rename_tab","title":"Claude Code","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:01.477 [info] Received message from webview: {"type":"launch_claude","channelId":"5pfstuyj5du","cwd":"d:\\...\\testrepo","model":"default","permissionMode":"default","thinkingLevel":"default_on"}
2026-03-09 16:21:01.531 [info] Launching Claude on channel: 5pfstuyj5du
2026-03-09 16:21:01.535 [info] Spawning Claude with SDK query function - cwd: d:\...\testrepo, permission mode: default, version: 2.1.71, c:\Users\...\.vscode\extensions\anthropic.claude-code-2.1.71-win32-x64\resources\native-binary\claude.exe, resume: undefined
2026-03-09 16:21:01.670 [info] From claude: 2026-03-09T20:21:01.669Z [DEBUG] MDM settings load completed in 12ms
2026-03-09 16:21:01.678 [info] From claude: 2026-03-09T20:21:01.677Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09 16:21:01.678 [info] From claude: 2026-03-09T20:21:01.678Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.json
2026-03-09 16:21:01.678 [info] From claude: 2026-03-09T20:21:01.678Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09T20:21:01.678Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.local.json
2026-03-09 16:21:01.680 [info] From claude: 2026-03-09T20:21:01.679Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-03-09 16:21:01.680 [info] From claude: 2026-03-09T20:21:01.680Z [DEBUG] [init] configureGlobalMTLS starting
2026-03-09 16:21:01.680 [info] From claude: 2026-03-09T20:21:01.680Z [DEBUG] [init] configureGlobalMTLS complete
2026-03-09T20:21:01.680Z [DEBUG] [init] configureGlobalAgents starting
2026-03-09 16:21:01.681 [info] From claude: 2026-03-09T20:21:01.680Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-03-09T20:21:01.680Z [DEBUG] CA certs: useSystemCA=false, envPath=undefined, configPath=undefined, extraCertsPath=undefined
2026-03-09 16:21:01.681 [info] From claude: 2026-03-09T20:21:01.680Z [DEBUG] [init] configureGlobalAgents complete
2026-03-09 16:21:01.693 [info] From claude: 2026-03-09T20:21:01.692Z [DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe"
2026-03-09 16:21:01.695 [info] From claude: 2026-03-09T20:21:01.693Z [DEBUG] Error log sink initialized
2026-03-09 16:21:01.700 [info] From claude: 2026-03-09T20:21:01.698Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09T20:21:01.698Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.json
2026-03-09T20:21:01.698Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09T20:21:01.698Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.local.json
2026-03-09 16:21:01.700 [info] From claude: 2026-03-09T20:21:01.699Z [DEBUG] [STARTUP] Loading MCP configs...
2026-03-09 16:21:01.701 [info] From claude: 2026-03-09T20:21:01.701Z [DEBUG] [claudeai-mcp] Checking gate (cached)...
2026-03-09T20:21:01.701Z [DEBUG] [claudeai-mcp] Gate returned: true
2026-03-09 16:21:01.701 [info] From claude: 2026-03-09T20:21:01.701Z [DEBUG] [claudeai-mcp] Fetching from https://api.anthropic.com/v1/mcp_servers?limit=1000
2026-03-09 16:21:01.705 [info] From claude: 2026-03-09T20:21:01.704Z [DEBUG] Git remote URL: null
2026-03-09T20:21:01.704Z [DEBUG] No git remote URL found
2026-03-09 16:21:01.705 [info] From claude: 2026-03-09T20:21:01.704Z [DEBUG] [ToolSearch:optimistic] mode=tst, ENABLE_TOOL_SEARCH=undefined, result=true
2026-03-09 16:21:01.705 [info] From claude: 2026-03-09T20:21:01.705Z [DEBUG] [STARTUP] Running setup()...
2026-03-09 16:21:01.709 [info] From claude: 2026-03-09T20:21:01.708Z [DEBUG] Loading skills from: managed=C:\ProgramData\ClaudeCode\.claude\skills, user=C:\Users\...\.claude\skills, project=[]
2026-03-09 16:21:01.709 [info] From claude: 2026-03-09T20:21:01.709Z [DEBUG] Error log sink initialized
2026-03-09 16:21:01.714 [info] From claude: 2026-03-09T20:21:01.714Z [DEBUG] installed_plugins.json doesn't exist, returning empty V2 object
2026-03-09 16:21:01.714 [info] From claude: 2026-03-09T20:21:01.714Z [DEBUG] Found 0 plugins (0 enabled, 0 disabled)
2026-03-09T20:21:01.714Z [DEBUG] getPluginSkills: Processing 0 enabled plugins
2026-03-09 16:21:01.715 [info] From claude: 2026-03-09T20:21:01.714Z [DEBUG] Registered 0 hooks from 0 plugins
2026-03-09 16:21:01.715 [info] From claude: 2026-03-09T20:21:01.714Z [DEBUG] Total plugin skills loaded: 0
2026-03-09T20:21:01.714Z [DEBUG] Total plugin commands loaded: 0
2026-03-09 16:21:01.720 [info] From claude: 2026-03-09T20:21:01.719Z [DEBUG] Loaded 0 unique skills (0 unconditional, 0 conditional, managed: 0, user: 0, project: 0, additional: 0, legacy commands: 0)
2026-03-09 16:21:01.720 [info] From claude: 2026-03-09T20:21:01.719Z [DEBUG] getSkills returning: 0 skill dir commands, 0 plugin skills, 6 bundled skills, 0 builtin plugin skills
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.720Z [DEBUG] [STARTUP] setup() completed in 15ms
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.720Z [DEBUG] [STARTUP] Loading commands and agents...
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.721Z [DEBUG] Total plugin agents loaded: 0
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.721Z [DEBUG] [STARTUP] Commands and agents loaded in 1ms
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.721Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called
2026-03-09T20:21:01.721Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.721Z [DEBUG] [LSP MANAGER] Starting async initialization (generation 1)
2026-03-09 16:21:01.721 [info] From claude: 2026-03-09T20:21:01.721Z [DEBUG] Starting background startup prefetches
2026-03-09 16:21:01.722 [info] From claude: 2026-03-09T20:21:01.722Z [DEBUG] [clientData] fetching (attempt 1/2)
2026-03-09 16:21:01.723 [info] From claude: 2026-03-09T20:21:01.722Z [DEBUG] [STARTUP] MCP configs resolved in 15ms (awaited at +23ms)
2026-03-09 16:21:01.726 [info] From claude: 2026-03-09T20:21:01.725Z [DEBUG] Total LSP servers loaded: 0
2026-03-09T20:21:01.725Z [DEBUG] Initialized versioned plugins system with 0 plugins
2026-03-09T20:21:01.725Z [DEBUG] [LSP SERVER MANAGER] getAllLspServers returned 0 server(s)
2026-03-09T20:21:01.725Z [DEBUG] LSP manager initialized with 0 servers
2026-03-09 16:21:01.726 [info] From claude: 2026-03-09T20:21:01.725Z [DEBUG] Cleared CA certificates cache
2026-03-09T20:21:01.725Z [DEBUG] Cleared mTLS configuration cache
2026-03-09T20:21:01.725Z [DEBUG] Cleared proxy agent cache
2026-03-09 16:21:01.726 [info] From claude: 2026-03-09T20:21:01.726Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-03-09T20:21:01.726Z [DEBUG] CA certs: useSystemCA=false, envPath=undefined, configPath=undefined, extraCertsPath=undefined
2026-03-09 16:21:01.727 [info] From claude: 2026-03-09T20:21:01.727Z [DEBUG] LSP server manager initialized successfully
2026-03-09 16:21:01.727 [info] From claude: 2026-03-09T20:21:01.727Z [DEBUG] LSP notification handlers registered successfully for all 0 server(s)
2026-03-09 16:21:01.728 [info] From claude: 2026-03-09T20:21:01.728Z [DEBUG] MDM settings load completed in 13ms
2026-03-09 16:21:01.737 [info] From claude: 2026-03-09T20:21:01.737Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09 16:21:01.737 [info] From claude: 2026-03-09T20:21:01.737Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.json
2026-03-09 16:21:01.738 [info] From claude: 2026-03-09T20:21:01.737Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09 16:21:01.738 [info] From claude: 2026-03-09T20:21:01.737Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.local.json
2026-03-09 16:21:01.739 [info] From claude: 2026-03-09T20:21:01.738Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-03-09 16:21:01.740 [info] From claude: 2026-03-09T20:21:01.739Z [DEBUG] [init] configureGlobalMTLS starting
2026-03-09T20:21:01.739Z [DEBUG] [init] configureGlobalMTLS complete
2026-03-09 16:21:01.740 [info] From claude: 2026-03-09T20:21:01.739Z [DEBUG] [init] configureGlobalAgents starting
2026-03-09 16:21:01.740 [info] From claude: 2026-03-09T20:21:01.739Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-03-09T20:21:01.739Z [DEBUG] CA certs: useSystemCA=false, envPath=undefined, configPath=undefined, extraCertsPath=undefined
2026-03-09T20:21:01.739Z [DEBUG] [init] configureGlobalAgents complete
2026-03-09 16:21:01.752 [info] From claude: 2026-03-09T20:21:01.752Z [DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe"
2026-03-09 16:21:01.753 [info] From claude: 2026-03-09T20:21:01.753Z [DEBUG] Error log sink initialized
2026-03-09 16:21:01.759 [info] From claude: 2026-03-09T20:21:01.759Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09T20:21:01.759Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.json
2026-03-09 16:21:01.759 [info] From claude: 2026-03-09T20:21:01.759Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT
2026-03-09T20:21:01.759Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: d:\...\testrepo\.claude\settings.local.json
2026-03-09 16:21:01.760 [info] From claude: 2026-03-09T20:21:01.760Z [DEBUG] [Perfetto] initializePerfettoTracing called, env value: undefined
2026-03-09T20:21:01.760Z [DEBUG] [3P telemetry] isTelemetryEnabled=false (CLAUDE_CODE_ENABLE_TELEMETRY=undefined)
2026-03-09 16:21:01.761 [info] From claude: 2026-03-09T20:21:01.760Z [DEBUG] [STARTUP] Loading MCP configs...
2026-03-09 16:21:01.761 [info] From claude: 2026-03-09T20:21:01.760Z [DEBUG] [claudeai-mcp] Checking gate (cached)...
2026-03-09T20:21:01.760Z [DEBUG] [claudeai-mcp] Gate returned: true
2026-03-09 16:21:01.761 [info] From claude: 2026-03-09T20:21:01.760Z [DEBUG] [claudeai-mcp] Fetching from https://api.anthropic.com/v1/mcp_servers?limit=1000
2026-03-09 16:21:01.764 [info] From claude: 2026-03-09T20:21:01.763Z [DEBUG] Git remote URL: null
2026-03-09T20:21:01.763Z [DEBUG] No git remote URL found
2026-03-09 16:21:01.764 [info] From claude: 2026-03-09T20:21:01.764Z [DEBUG] [ToolSearch:optimistic] mode=tst, ENABLE_TOOL_SEARCH=undefined, result=true
2026-03-09 16:21:01.765 [info] From claude: 2026-03-09T20:21:01.764Z [DEBUG] [STARTUP] Running setup()...
2026-03-09 16:21:01.767 [info] From claude: 2026-03-09T20:21:01.766Z [DEBUG] Getting matching hook commands for SessionStart with query: startup
2026-03-09T20:21:01.766Z [DEBUG] Found 0 hook matchers in settings
2026-03-09 16:21:01.767 [info] From claude: 2026-03-09T20:21:01.766Z [DEBUG] Matched 0 unique hooks for query "startup" (0 before deduplication)
2026-03-09 16:21:01.768 [info] From claude: 2026-03-09T20:21:01.767Z [DEBUG] [ScheduledTasks] scheduler start() — enabled=false, hasTasks=false
2026-03-09 16:21:01.768 [info] From claude: 2026-03-09T20:21:01.768Z [DEBUG] Loading skills from: managed=C:\ProgramData\ClaudeCode\.claude\skills, user=C:\Users\...\.claude\skills, project=[]
2026-03-09 16:21:01.769 [info] From claude: 2026-03-09T20:21:01.768Z [DEBUG] Error log sink initialized
2026-03-09 16:21:01.769 [info] From claude: 2026-03-09T20:21:01.768Z [DEBUG] installPluginsForHeadless: starting
2026-03-09 16:21:01.769 [info] From claude: 2026-03-09T20:21:01.768Z [DEBUG] Found 0 installed plugins
2026-03-09T20:21:01.768Z [DEBUG] installPluginsForHeadless: no missing plugins or marketplaces configured
2026-03-09 16:21:01.773 [info] From claude: 2026-03-09T20:21:01.773Z [DEBUG] Security messages are fresh (<1h old), skipping fetch
2026-03-09 16:21:01.774 [info] From claude: 2026-03-09T20:21:01.773Z [DEBUG] Watching for changes in setting files C:\Users\...\.claude\settings.json, C:\ProgramData\ClaudeCode\managed-settings.json...
2026-03-09 16:21:01.774 [info] From claude: 2026-03-09T20:21:01.773Z [DEBUG] installed_plugins.json doesn't exist, returning empty V2 object
2026-03-09 16:21:01.774 [info] From claude: 2026-03-09T20:21:01.774Z [DEBUG] Found 0 plugins (0 enabled, 0 disabled)
2026-03-09 16:21:01.774 [info] From claude: 2026-03-09T20:21:01.774Z [DEBUG] getPluginSkills: Processing 0 enabled plugins
2026-03-09 16:21:01.774 [info] From claude: 2026-03-09T20:21:01.774Z [DEBUG] Registered 0 hooks from 0 plugins
2026-03-09 16:21:01.775 [info] From claude: 2026-03-09T20:21:01.774Z [DEBUG] Total plugin skills loaded: 0
2026-03-09T20:21:01.774Z [DEBUG] Total plugin commands loaded: 0
2026-03-09 16:21:01.776 [info] From claude: 2026-03-09T20:21:01.775Z [DEBUG] Total plugin output styles loaded: 0
2026-03-09 16:21:01.777 [info] From claude: 2026-03-09T20:21:01.776Z [DEBUG] Ripgrep first use test: PASSED (mode=embedded, path=C:\Users\...\.vscode\extensions\anthropic.claude-code-2.1.71-win32-x64\resources\native-binary\claude.exe)
2026-03-09 16:21:01.779 [info] From claude: 2026-03-09T20:21:01.779Z [DEBUG] Loaded 0 unique skills (0 unconditional, 0 conditional, managed: 0, user: 0, project: 0, additional: 0, legacy commands: 0)
2026-03-09 16:21:01.779 [info] From claude: 2026-03-09T20:21:01.779Z [DEBUG] getSkills returning: 0 skill dir commands, 0 plugin skills, 6 bundled skills, 0 builtin plugin skills
2026-03-09 16:21:01.780 [info] From claude: 2026-03-09T20:21:01.779Z [DEBUG] [STARTUP] setup() completed in 15ms
2026-03-09 16:21:01.780 [info] From claude: 2026-03-09T20:21:01.779Z [DEBUG] [STARTUP] Loading commands and agents...
2026-03-09 16:21:01.780 [info] From claude: 2026-03-09T20:21:01.780Z [DEBUG] Total plugin agents loaded: 0
2026-03-09 16:21:01.780 [info] From claude: 2026-03-09T20:21:01.780Z [DEBUG] [STARTUP] Commands and agents loaded in 1ms
2026-03-09 16:21:01.781 [info] From claude: 2026-03-09T20:21:01.780Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called
2026-03-09T20:21:01.780Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending
2026-03-09T20:21:01.780Z [DEBUG] [LSP MANAGER] Starting async initialization (generation 1)
2026-03-09 16:21:01.781 [info] From claude: 2026-03-09T20:21:01.780Z [DEBUG] Starting background startup prefetches
2026-03-09 16:21:01.782 [info] From claude: 2026-03-09T20:21:01.781Z [DEBUG] [clientData] fetching (attempt 1/2)
2026-03-09 16:21:01.782 [info] From claude: 2026-03-09T20:21:01.782Z [DEBUG] LSP server manager shut down successfully
2026-03-09 16:21:01.783 [info] From claude: 2026-03-09T20:21:01.782Z [DEBUG] [STARTUP] MCP configs resolved in 14ms (awaited at +22ms)
2026-03-09 16:21:01.784 [info] From claude: 2026-03-09T20:21:01.783Z [DEBUG] Getting matching hook commands for SessionEnd with query: other
2026-03-09T20:21:01.783Z [DEBUG] Found 0 hook matchers in settings
2026-03-09 16:21:01.784 [info] From claude: 2026-03-09T20:21:01.783Z [DEBUG] Matched 0 unique hooks for query "other" (0 before deduplication)
2026-03-09 16:21:01.786 [info] From claude: 2026-03-09T20:21:01.785Z [DEBUG] Total LSP servers loaded: 0
2026-03-09T20:21:01.785Z [DEBUG] Initialized versioned plugins system with 0 plugins
2026-03-09T20:21:01.785Z [DEBUG] [LSP SERVER MANAGER] getAllLspServers returned 0 server(s)
2026-03-09T20:21:01.785Z [DEBUG] LSP manager initialized with 0 servers
2026-03-09 16:21:01.786 [info] From claude: 2026-03-09T20:21:01.785Z [DEBUG] Cleared CA certificates cache
2026-03-09T20:21:01.785Z [DEBUG] Cleared mTLS configuration cache
2026-03-09T20:21:01.785Z [DEBUG] Cleared proxy agent cache
2026-03-09 16:21:01.787 [info] From claude: 2026-03-09T20:21:01.786Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-03-09T20:21:01.786Z [DEBUG] CA certs: useSystemCA=false, envPath=undefined, configPath=undefined, extraCertsPath=undefined
2026-03-09 16:21:01.787 [info] From claude: 2026-03-09T20:21:01.787Z [DEBUG] LSP server manager initialized successfully
2026-03-09 16:21:01.787 [info] From claude: 2026-03-09T20:21:01.787Z [DEBUG] LSP notification handlers registered successfully for all 0 server(s)
2026-03-09 16:21:01.832 [info] From claude: 2026-03-09T20:21:01.831Z [DEBUG] [Perfetto] initializePerfettoTracing called, env value: undefined
2026-03-09T20:21:01.831Z [DEBUG] [3P telemetry] isTelemetryEnabled=false (CLAUDE_CODE_ENABLE_TELEMETRY=undefined)
2026-03-09 16:21:01.838 [info] From claude: 2026-03-09T20:21:01.837Z [DEBUG] Getting matching hook commands for SessionStart with query: startup
2026-03-09T20:21:01.837Z [DEBUG] Found 0 hook matchers in settings
2026-03-09T20:21:01.837Z [DEBUG] Matched 0 unique hooks for query "startup" (0 before deduplication)
2026-03-09 16:21:01.840 [info] From claude: 2026-03-09T20:21:01.840Z [DEBUG] [ScheduledTasks] scheduler start() — enabled=false, hasTasks=false
2026-03-09 16:21:01.844 [info] From claude: 2026-03-09T20:21:01.842Z [DEBUG] installPluginsForHeadless: starting
2026-03-09T20:21:01.842Z [DEBUG] Found 0 installed plugins
2026-03-09T20:21:01.842Z [DEBUG] installPluginsForHeadless: no missing plugins or marketplaces configured
2026-03-09 16:21:01.847 [info] From claude: 2026-03-09T20:21:01.846Z [DEBUG] Security messages are fresh (<1h old), skipping fetch
2026-03-09 16:21:01.847 [info] From claude: 2026-03-09T20:21:01.847Z [DEBUG] Watching for changes in setting files C:\Users\...\.claude\settings.json, C:\ProgramData\ClaudeCode\managed-settings.json...
2026-03-09 16:21:01.849 [info] From claude: 2026-03-09T20:21:01.848Z [DEBUG] Total plugin output styles loaded: 0
2026-03-09 16:21:01.852 [info] From claude: 2026-03-09T20:21:01.851Z [DEBUG] Ripgrep first use test: PASSED (mode=embedded, path=C:\Users\...\.vscode\extensions\anthropic.claude-code-2.1.71-win32-x64\resources\native-binary\claude.exe)
2026-03-09 16:21:01.858 [info] From claude: 2026-03-09T20:21:01.857Z [ERROR] MCP server "claude-vscode" Failed to fetch tools: MCP error -32601: Method not found
2026-03-09 16:21:01.903 [info] From claude: 2026-03-09T20:21:01.903Z [DEBUG] Org fast mode: disabled (preference)
2026-03-09 16:21:01.904 [info] From claude: 2026-03-09T20:21:01.903Z [DEBUG] [clientData] fetch ok (0 fields)
2026-03-09 16:21:01.904 [info] From claude: 2026-03-09T20:21:01.903Z [DEBUG] [clientData] cache unchanged, skipping write
2026-03-09 16:21:01.969 [info] From claude: 2026-03-09T20:21:01.967Z [DEBUG] [clientData] fetch ok (0 fields)
2026-03-09T20:21:01.967Z [DEBUG] [clientData] cache unchanged, skipping write
2026-03-09 16:21:01.992 [info] From claude: 2026-03-09T20:21:01.992Z [DEBUG] Org fast mode: disabled (preference)
2026-03-09 16:21:02.039 [error] Failed to fetch Claude settings: Error: Query closed before response received
2026-03-09 16:21:02.040 [info] Getting authentication status
2026-03-09 16:21:02.040 [info] OAuth tokens found in secure storage
2026-03-09 16:21:02.040 [info] Getting authentication status
2026-03-09 16:21:02.040 [info] OAuth tokens found in secure storage
2026-03-09 16:21:02.040 [info] Getting authentication status
2026-03-09 16:21:02.040 [info] OAuth tokens found in secure storage
2026-03-09 16:21:02.040 [info] Getting authentication status
2026-03-09 16:21:02.040 [info] OAuth tokens found in secure storage
2026-03-09 16:21:02.040 [info] Getting authentication status
2026-03-09 16:21:02.040 [info] OAuth tokens found in secure storage
2026-03-09 16:21:02.040 [info] Getting authentication status
2026-03-09 16:21:02.040 [info] OAuth tokens found in secure storage
2026-03-09 16:21:02.041 [info] Received message from webview: {"type":"request","requestId":"32p9rvnvx7p","request":{"type":"rename_tab","title":"Claude Code","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:02.042 [info] Received message from webview: {"type":"request","requestId":"qhmxnqe0rdr","request":{"type":"rename_tab","title":"Claude Code","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:02.043 [info] Received message from webview: {"type":"request","requestId":"07t4qv44bue","request":{"type":"rename_tab","title":"Claude Code","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:18.780 [info] Received message from webview: {"type":"request","requestId":"p6vo95461h","request":{"type":"rename_tab","title":"can you read and summari…","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:18.783 [info] Received message from webview: {"type":"io_message","channelId":"5pfstuyj5du","message":{"type":"user","uuid":"089a55e1-9dbe-4673-a1f1-87fd7a3bf562","session_id":"","parent_tool_use_id":null,"message":{"role":"user","content":[{"type":"text","text":"can you read and summarize acme-manual-crash.pdf"}]}},"done":false}
2026-03-09 16:21:18.816 [info] From claude: 2026-03-09T20:21:18.815Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called
2026-03-09T20:21:18.815Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending
2026-03-09 16:21:18.816 [info] From claude: 2026-03-09T20:21:18.815Z [DEBUG] Hooks: Found 0 total hooks in registry
2026-03-09 16:21:18.816 [info] From claude: 2026-03-09T20:21:18.816Z [DEBUG] Sending 4 skills via attachment (initial, 4 total sent)
2026-03-09 16:21:18.816 [info] From claude: 2026-03-09T20:21:18.816Z [DEBUG] Hooks: checkForNewResponses returning 0 responses
2026-03-09 16:21:18.818 [info] From claude: 2026-03-09T20:21:18.817Z [DEBUG] Getting matching hook commands for UserPromptSubmit with query: undefined
2026-03-09T20:21:18.817Z [DEBUG] Found 0 hook matchers in settings
2026-03-09 16:21:18.818 [info] From claude: 2026-03-09T20:21:18.817Z [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication)
2026-03-09 16:21:18.818 [info] From claude: 2026-03-09T20:21:18.818Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:18.819 [info] From claude: 2026-03-09T20:21:18.818Z [DEBUG] FileHistory: Added snapshot for 089a55e1-9dbe-4673-a1f1-87fd7a3bf562, tracking 0 files
2026-03-09 16:21:18.820 [info] From claude: 2026-03-09T20:21:18.819Z [DEBUG] autocompact: tokens=279 threshold=167000 effectiveWindow=180000
2026-03-09 16:21:18.820 [info] Received message from webview: {"type":"request","requestId":"0t2ei4t5zbm","request":{"type":"rename_tab","title":"can you read and summari…","hasPendingPermissions":false,"hasUnseenCompletion":false}}
2026-03-09 16:21:18.820 [info] Received message from webview: {"type":"request","requestId":"psw2edaix2","request":{"type":"update_session_state","sessionId":"04349c53-786f-41b3-b262-1bf0c1967f84","state":"running","title":"can you read and summarize acme-manual-crash.pdf"}}
2026-03-09 16:21:18.821 [info] Received message from webview: {"type":"request","requestId":"tdshhaeisl","request":{"type":"get_session_request","sessionId":"04349c53-786f-41b3-b262-1bf0c1967f84"}}
2026-03-09 16:21:18.823 [info] From claude: 2026-03-09T20:21:18.822Z [DEBUG] Dynamic tool loading: 0/13 deferred tools included
2026-03-09T20:21:18.822Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.71.752; cc_entrypoint=claude-vscode; cch=00000;
2026-03-09T20:21:18.823Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:18.823 [info] From claude: 2026-03-09T20:21:18.823Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false
2026-03-09T20:21:18.823Z [DEBUG] [API:auth] OAuth token check starting
2026-03-09 16:21:18.824 [info] From claude: 2026-03-09T20:21:18.823Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:18.824 [info] From claude: 2026-03-09T20:21:18.823Z [DEBUG] [API:auth] OAuth token check complete
2026-03-09 16:21:18.824 [info] From claude: 2026-03-09T20:21:18.824Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:20.585 [info] From claude: 2026-03-09T20:21:20.584Z [DEBUG] Stream started - received first chunk
2026-03-09 16:21:21.126 [info] From claude: 2026-03-09T20:21:21.125Z [DEBUG] executePreToolHooks called for tool: Glob
2026-03-09 16:21:21.127 [info] From claude: 2026-03-09T20:21:21.127Z [DEBUG] Getting matching hook commands for PreToolUse with query: Glob
2026-03-09T20:21:21.127Z [DEBUG] Found 2 hook matchers in settings
2026-03-09 16:21:21.127 [info] From claude: 2026-03-09T20:21:21.127Z [DEBUG] Matched 0 unique hooks for query "Glob" (0 before deduplication)
2026-03-09 16:21:21.130 [info] From claude: 2026-03-09T20:21:21.129Z [WARN] [3P telemetry] Event dropped (no event logger initialized): tool_decision
2026-03-09 16:21:21.160 [info] From claude: 2026-03-09T20:21:21.160Z [DEBUG] Getting matching hook commands for PostToolUse with query: Glob
2026-03-09T20:21:21.160Z [DEBUG] Found 6 hook matchers in settings
2026-03-09 16:21:21.160 [info] From claude: 2026-03-09T20:21:21.160Z [DEBUG] Matched 1 unique hooks for query "Glob" (1 before deduplication)
2026-03-09 16:21:21.162 [info] From claude: 2026-03-09T20:21:21.161Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called
2026-03-09T20:21:21.161Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending
2026-03-09T20:21:21.161Z [DEBUG] Hooks: Found 0 total hooks in registry
2026-03-09 16:21:21.162 [info] From claude: 2026-03-09T20:21:21.161Z [DEBUG] Hooks: checkForNewResponses returning 0 responses
2026-03-09 16:21:21.162 [info] From claude: 2026-03-09T20:21:21.161Z [DEBUG] autocompact: tokens=13999 threshold=167000 effectiveWindow=180000
2026-03-09 16:21:21.162 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] Dynamic tool loading: 0/13 deferred tools included
2026-03-09 16:21:21.163 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.71.752; cc_entrypoint=claude-vscode; cch=00000;
2026-03-09 16:21:21.163 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:21.163 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false
2026-03-09T20:21:21.162Z [DEBUG] [API:auth] OAuth token check starting
2026-03-09 16:21:21.163 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:21.163 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] [API:auth] OAuth token check complete
2026-03-09 16:21:21.163 [info] From claude: 2026-03-09T20:21:21.162Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:22.451 [info] From claude: 2026-03-09T20:21:22.450Z [DEBUG] Stream started - received first chunk
2026-03-09 16:21:22.878 [info] From claude: 2026-03-09T20:21:22.877Z [DEBUG] executePreToolHooks called for tool: Read
2026-03-09 16:21:22.879 [info] From claude: 2026-03-09T20:21:22.878Z [DEBUG] Getting matching hook commands for PreToolUse with query: Read
2026-03-09T20:21:22.879Z [DEBUG] Found 2 hook matchers in settings
2026-03-09 16:21:22.879 [info] From claude: 2026-03-09T20:21:22.879Z [DEBUG] Matched 1 unique hooks for query "Read" (1 before deduplication)
2026-03-09 16:21:22.939 [info] From claude: 2026-03-09T20:21:22.938Z [DEBUG] Getting matching hook commands for PostToolUse with query: Read
2026-03-09T20:21:22.938Z [DEBUG] Found 6 hook matchers in settings
2026-03-09 16:21:22.939 [info] From claude: 2026-03-09T20:21:22.938Z [DEBUG] Matched 1 unique hooks for query "Read" (1 before deduplication)
2026-03-09 16:21:22.940 [info] From claude: 2026-03-09T20:21:22.939Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called
2026-03-09T20:21:22.939Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending
2026-03-09T20:21:22.939Z [DEBUG] Hooks: Found 0 total hooks in registry
2026-03-09 16:21:22.940 [info] From claude: 2026-03-09T20:21:22.939Z [DEBUG] Hooks: checkForNewResponses returning 0 responses
2026-03-09 16:21:22.940 [info] From claude: 2026-03-09T20:21:22.939Z [DEBUG] autocompact: tokens=14107 threshold=167000 effectiveWindow=180000
2026-03-09 16:21:22.940 [info] From claude: 2026-03-09T20:21:22.940Z [DEBUG] Dynamic tool loading: 0/13 deferred tools included
2026-03-09 16:21:22.941 [info] From claude: 2026-03-09T20:21:22.940Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.71.752; cc_entrypoint=claude-vscode; cch=00000;
2026-03-09 16:21:22.941 [info] From claude: 2026-03-09T20:21:22.940Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:22.941 [info] From claude: 2026-03-09T20:21:22.940Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false
2026-03-09T20:21:22.940Z [DEBUG] [API:auth] OAuth token check starting
2026-03-09T20:21:22.940Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:22.941 [info] From claude: 2026-03-09T20:21:22.940Z [DEBUG] [API:auth] OAuth token check complete
2026-03-09 16:21:22.941 [info] From claude: 2026-03-09T20:21:22.940Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:25.517 [info] From claude: 2026-03-09T20:21:25.517Z [DEBUG] Stream started - received first chunk
2026-03-09 16:21:32.883 [info] From claude: 2026-03-09T20:21:32.882Z [DEBUG] Getting matching hook commands for Stop with query: undefined
2026-03-09T20:21:32.882Z [DEBUG] Found 0 hook matchers in settings
2026-03-09 16:21:32.883 [info] From claude: 2026-03-09T20:21:32.882Z [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication)
2026-03-09 16:21:32.883 [info] From claude: 2026-03-09T20:21:32.883Z [DEBUG] Fast mode unavailable: Fast mode has been disabled by your organization
2026-03-09 16:21:32.884 [info] Received message from webview: {"type":"request","requestId":"93f626skiic","request":{"type":"update_session_state","sessionId":"04349c53-786f-41b3-b262-1bf0c1967f84","state":"idle","title":"can you read and summarize acme-manual-crash.pdf"}}
2026-03-09 16:21:39.217 [info] Received message from webview: {"type":"request","requestId":"r7sic76nfqs","request":{"type":"update_session_state","sessionId":"04349c53-786f-41b3-b262-1bf0c1967f84","state":"running","title":"can you read and summarize acme-manual-crash.pdf"}}
2026-03-09 16:21:39.219 [info] Received message from webview: {"type":"io_message","channelId":"5pfstuyj5du","message":{"type":"user","uuid":"ec182b50-b400-44da-886b-e22bed0ba732","session_id":"","parent_tool_use_id":null,"message":{"role":"user","content":[{"type":"text","text":"."}]}},"done":false}
2026-03-09 16:21:39.223 [info] From claude: 2026-03-09T20:21:39.222Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called
2026-03-09T20:21:39.222Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending
2026-03-09T20:21:39.222Z [DEBUG] Hooks: Found 0 total hooks in registry
2026-03-09 16:21:39.223 [info] From claude: 2026-03-09T20:21:39.222Z [DEBUG] Hooks: checkForNewResponses returning 0 responses
2026-03-09 16:21:39.275 [info] From claude: 2026-03-09T20:21:39.274Z [DEBUG] LSP server manager shut down successfully
2026-03-09 16:21:39.275 [info] Received message from webview: {"type":"request","requestId":"c8v1wipb9ug","request":{"type":"update_session_state","sessionId":"04349c53-786f-41b3-b262-1bf0c1967f84","state":"idle","title":"can you read and summarize acme-manual-crash.pdf"}}
2026-03-09 16:21:39.276 [info] From claude: 2026-03-09T20:21:39.276Z [DEBUG] Getting matching hook commands for SessionEnd with query: other
2026-03-09T20:21:39.276Z [DEBUG] Found 0 hook matchers in settings
2026-03-09T20:21:39.276Z [DEBUG] Matched 0 unique hooks for query "other" (0 before deduplication)
2026-03-09 16:21:39.498 [info] Closing Claude on channel: 5pfstuyj5du
2026-03-09 16:21:39.498 [error] Error from Claude (on channel 5pfstuyj5du): Error: Claude Code process exited with code 1
2026-03-09 16:21:42.154 [info] Received message from webview: {"type":"request","requestId":"trpq3co3o6","request":{"type":"open_output_panel"}}
Steps to Reproduce
- Open a Claude Code session in VS Code
- Ask Claude to read and summarize a PDF file (e.g., "can you read and summarize [file].pdf")
- Wait for Claude to use the Glob and Read tools and return a summary
- Send any follow-up message
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.71
Platform
Other
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗