getcursor / cursor

The AI Code Editor
https://cursor.com
25.34k stars 1.57k forks source link

Cursor crash, Error SQLITE_CANOPEN, exit_code 133 #1972

Open hungpham2411 opened 1 month ago

hungpham2411 commented 1 month ago

I will put the log here for I think it's best explanation:

[main 2024-09-23T09:55:13.671Z] update#setState disabled
[main 2024-09-23T09:55:13.685Z] update#ctor - updates are disabled as there is no update URL
[main 2024-09-23T09:55:13.758Z] [storage state.vscdb] error checking size of src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.workspaceUser: Error: Unexpected number of rows - 0
[main 2024-09-23T09:55:13.767Z] [uncaught exception in main]: Error: SQLITE_CANTOPEN: unable to open database file
[main 2024-09-23T09:55:13.767Z] Error: SQLITE_CANTOPEN: unable to open database file
[main 2024-09-23T09:55:15.256Z] vscode-file: Refused to load resource /tmp/.mount_cursorDjkING/resources/app/extensions/theme-seti/icons/seti.woff from vscode-file: protocol (original URL: vscode-file://vscode-app/tmp/.mount_cursorDjkING/resources/app/extensions/theme-seti/icons/seti.woff)
[66977:0923/171815.540788:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[67059:0923/171815.774463:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[66977:0923/171815.775043:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171816.017146:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[66977:0923/171816.017485:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[67059:0923/171816.132119:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[66977:0923/171816.235248:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171816.442397:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171816.669441:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171816.849285:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171817.043418:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171817.225168:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[66977:0923/171817.225184:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

System information:

I start Cursor in --no-sandbox mode.
Step to reproduce: Not available. Cursor crashes randomly.

0proof commented 1 month ago

Hit this also, cursor starts, but unable to complete the welcome tutorial:

./cursor-0.41.2x86_64.AppImage
[main 2024-09-25T17:12:52.275Z] update#setState disabled
[main 2024-09-25T17:12:52.288Z] update#ctor - updates are disabled as there is no update URL
[main 2024-09-25T17:12:52.347Z] [storage state.vscdb] error checking size of src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.workspaceUser: Error: Unexpected number of rows - 0
[main 2024-09-25T17:12:52.348Z] [storage state.vscdb] error checking size of workbench.panel.aichat.view.aichat.chatdata: Error: Unexpected number of rows - 0
[main 2024-09-25T17:12:52.351Z] [uncaught exception in main]: Error: SQLITE_CANTOPEN: unable to open database file
[main 2024-09-25T17:12:52.351Z] Error: SQLITE_CANTOPEN: unable to open database file

Getting this on Linux Mint 21.3 and Ubuntu 24.04

giannoulakis commented 1 month ago

The SQLITE_CANTOPEN error pops up because it's trying to open VSCode's database - which doesn't exist if you haven't installed VSCode.

Gunther-Schulz commented 1 month ago

The SQLITE_CANTOPEN error pops up because it's trying to open VSCode's database - which doesn't exist if you haven't installed VSCode.

Can this just be ignored or is it relevant to anything else besides the tutorial?

ngothanhthien commented 1 month ago

Same