zed-industries / zed

Code at the speed of thought โ€“ Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.27k stars 2.73k forks source link

Regional indicator symbols (emoji flags) broken on Windows #18027

Open taimast opened 2 days ago

taimast commented 2 days ago

Check for existing issues

Describe the bug / provide steps to reproduce it

The symbols of the regional indicators are not displayed in zed. In other IDEs, characters like "๐Ÿ‡ฉ๐Ÿ‡ช" turn into emoji or are displayed simply as text. But in zed there is just an invisible string. Changing fonts didn't help.

Environment

WindowsBuildLabEx : 22621.1.amd64fre.ni_release.220506-1250 WindowsProductName : Windows 10 Home Single Language CsProcessors : {AMD Ryzen 9 7950X 16-Core Processor } PowerPlatformRole : Desktop

If applicable, add mockups / screenshots to help explain present your vision of the feature

https://github.com/user-attachments/assets/d92af7e7-993f-46bf-86b4-3fb0d1834108

If applicable, attach your Zed.log file to this issue.

Zed.log

colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0868679+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0869971+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0871325+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0872584+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0873769+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0874821+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0875572+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0876533+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
2024-09-18T21:42:45.0877576+03:00 [ERROR] The font or sequence of glyphs does not contain colored glyphs. (0x8898500C)
notpeter commented 2 days ago

Do any emojis work for you in the Zed on Windows? Or is it just the flag emojis which are broken? ("๐Ÿ‡ฉ" + "๐Ÿ‡ช" makes "๐Ÿ‡ฉ๐Ÿ‡ช") Both work as expected on MacOS.

taimast commented 1 day ago

I'm not quite sure which specific set of emoji is not displayed. According to tests on windows, only emoji flags do not work. The rest of the emoji, according to my observations, work ok. On windows, neither "๐Ÿ‡ฉ" and "๐Ÿ‡ช" nor "๐Ÿ‡ฉ๐Ÿ‡ช" work separately. I checked on macos, everything works well there.

taimast commented 1 day ago

image

JunkuiZhang commented 1 day ago

@taimast Could you try #18053 to see if that fixs this issue?

taimast commented 22 hours ago

@taimast Could you try #18053 to see if that fixs this issue?

Yes, they are now displayed correctly, but when I start editing the text, the zed crashes

https://github.com/user-attachments/assets/2c4af980-0142-43fb-948e-d7174c39d3be

zed.log
2024-09-20T00:29:30.5398235+03:00 [INFO] ========== starting zed ==========
2024-09-20T00:29:30.6165574+03:00 [INFO] Use Segoe UI as UI font.
2024-09-20T00:29:30.6180664+03:00 [INFO] Opening main db
2024-09-20T00:29:30.6289466+03:00 [INFO] Opening main db
2024-09-20T00:29:30.6422408+03:00 [INFO] Using git binary path: None
2024-09-20T00:29:30.6429158+03:00 [ERROR] SHELL environment variable is not assigned so we can't source login environment variables
Caused by:
    environment variable not found
2024-09-20T00:29:30.6671241+03:00 [INFO] initializing context server client
2024-09-20T00:29:30.667264+03:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-20T00:29:30.6676747+03:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-20T00:29:30.6678693+03:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-20T00:29:30.6681997+03:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-20T00:29:30.6686093+03:00 [INFO] No prompt template overrides directory found at C:\Users\taima\AppData\Local\Zed\prompt_overrides. Using built-in prompts.
2024-09-20T00:29:30.669108+03:00 [INFO] extensions updated. loading 9, reloading 0, unloading 0
2024-09-20T00:29:30.678195+03:00 [INFO] Opening main db
2024-09-20T00:29:30.6895098+03:00 [INFO] set status on client 0: Authenticating
2024-09-20T00:29:30.6896982+03:00 [INFO] set status on client 118327: Connecting
2024-09-20T00:29:30.6904983+03:00 [ERROR] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
2024-09-20T00:29:30.6971237+03:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-20T00:29:30.7062567+03:00 [INFO] Enabling Vulkan Portability
2024-09-20T00:29:30.7063022+03:00 [INFO] Enabling color space support
2024-09-20T00:29:30.7503918+03:00 [INFO] Adapter: "AMD Radeon RX 5600 XT"
2024-09-20T00:29:30.7506482+03:00 [INFO] No ray tracing extensions are supported
2024-09-20T00:29:30.7569663+03:00 [WARN] Requested size 1x1 is outside of surface capabilities
2024-09-20T00:29:30.7570261+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:29:30.7570817+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:29:30.8248052+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:29:30.8255611+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:29:30.8256554+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:29:30.8276629+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8279561+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8285203+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8287832+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8291491+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8293633+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:29:30.8294235+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:29:30.8294769+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:29:30.8295308+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8296317+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:29:30.8300442+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8303932+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.8306057+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.9208557+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.9213477+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.9216596+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.921843+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:29:30.9218887+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:29:30.921933+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:29:30.9219774+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:30.9220629+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:29:30.9265938+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:29:30.9266425+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:29:30.9829763+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:29:30.9830266+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:29:31.0514355+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:29:31.1057229+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:29:31.1069346+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1071431+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1074397+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1076539+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.107881+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1080462+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:29:31.1080904+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:29:31.1081336+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:29:31.108177+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1082588+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:29:31.1085411+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1087719+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.108941+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1092638+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1095946+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1098293+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1099897+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:29:31.1100353+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:29:31.1100804+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:29:31.110125+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:29:31.1102067+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:29:31.1113434+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 5600 XT", driver_name: "AMD proprietary driver", driver_info: "24.5.1 (AMD proprietary shader compiler)" }
2024-09-20T00:29:31.1138646+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:29:31.1742945+03:00 [INFO] Creating texture 0x2a7c8001c90 of size 1024x1024x1 and format R8Unorm, name 'atlas', handle 0
2024-09-20T00:29:31.1769404+03:00 [INFO] Creating buffer 0x2a7c7f54140 of size 65536, name 'chunk-0', handle 1
2024-09-20T00:29:31.1879012+03:00 [INFO] Creating buffer 0x2a7c8144c80 of size 4096, name 'chunk-0', handle 2
2024-09-20T00:29:31.1991289+03:00 [INFO] Opening main db
2024-09-20T00:29:31.2155739+03:00 [INFO] Opening main db
2024-09-20T00:29:31.2178644+03:00 [INFO] Using Windows API for pseudoconsole
2024-09-20T00:29:31.2565395+03:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-09-20T00:29:31.2602852+03:00 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) })
2024-09-20T00:29:31.3119333+03:00 [INFO] Creating buffer 0x2a7c87ff600 of size 65536, name 'chunk-1', handle 3
2024-09-20T00:29:31.3244801+03:00 [INFO] Creating texture 0x2a7d1ecefd0 of size 1024x1024x1 and format Bgra8UnormSrgb, name 'atlas', handle 4
2024-09-20T00:29:31.3346689+03:00 [INFO] Creating buffer 0x2a7c87ffa80 of size 4368, name 'chunk-1', handle 5
2024-09-20T00:29:31.3347352+03:00 [INFO] Creating buffer 0x2a7c87ffb00 of size 14224, name 'chunk-2', handle 6
2024-09-20T00:29:31.3347869+03:00 [INFO] Creating buffer 0x2a7c87ff780 of size 81424, name 'chunk-3', handle 7
2024-09-20T00:29:31.3348444+03:00 [INFO] Creating buffer 0x2a7c87ffb80 of size 4096, name 'chunk-4', handle 8
2024-09-20T00:29:31.3510106+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-20T00:29:31.3974823+03:00 [ERROR] Failed to send events: HTTP 500
2024-09-20T00:29:31.4772197+03:00 [INFO] Creating buffer 0x2a7c89809b0 of size 65536, name 'chunk-2', handle 9
2024-09-20T00:29:31.4986193+03:00 [INFO] Creating buffer 0x2a7c8980830 of size 65536, name 'chunk-3', handle 10
2024-09-20T00:29:31.5004838+03:00 [INFO] Creating buffer 0x2a7c89804b0 of size 69664, name 'chunk-5', handle 11
2024-09-20T00:29:31.5281676+03:00 [INFO] Creating buffer 0x2a7d2279ef0 of size 70336, name 'chunk-6', handle 12
2024-09-20T00:29:31.5307198+03:00 [INFO] Creating buffer 0x2a7d227a3f0 of size 70336, name 'chunk-7', handle 13
2024-09-20T00:29:31.9633368+03:00 [INFO] add connection to peer
2024-09-20T00:29:31.9633956+03:00 [INFO] add_connection;
2024-09-20T00:29:31.9634555+03:00 [INFO] waiting for server hello
2024-09-20T00:29:31.9789017+03:00 [INFO] got server hello
2024-09-20T00:29:31.9789616+03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 541, id: 184164 })
2024-09-20T00:29:31.9790459+03:00 [INFO] set status on client 118327: Connected { peer_id: PeerId { owner_id: 541, id: 184164 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-20T00:29:32.5757479+03:00 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: Some("tg_videpro") })
2024-09-20T00:29:32.5758363+03:00 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Adapting to 'tg_videpro'", status: Complete, percent_complete: None })
2024-09-20T00:29:32.6355735+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:29:32.9223247+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9223994+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9224427+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9224838+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9225246+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9225654+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9226064+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9226457+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9226878+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9227273+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:32.9368657+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.4454553+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.4604885+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.4606247+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.4606679+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.4607074+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.506786+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.5068839+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.507077+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.5071293+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.5071723+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:33.7565425+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:34.0678642+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:34.5026621+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:34.518277+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:34.518348+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:29:34.6748136+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:09.2376853+03:00 [INFO] Creating buffer 0x2a77df624a0 of size 71680, name 'chunk-8', handle 14
2024-09-20T00:33:09.5980392+03:00 [INFO] Creating buffer 0x2a77df61ba0 of size 74256, name 'chunk-9', handle 15
2024-09-20T00:33:14.7492463+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:33:14.7514965+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:33:14.7572509+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:33:14.7633476+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:33:14.8357243+03:00 [INFO] Creating texture 0x2a74d7cb520 of size 1024x1024x1 and format R16Float, name 'atlas', handle 16
2024-09-20T00:33:20.2802365+03:00 [INFO] Creating buffer 0x2a7d20176d0 of size 80864, name 'chunk-10', handle 17
2024-09-20T00:33:20.296274+03:00 [INFO] Creating buffer 0x2a7d2017250 of size 92512, name 'chunk-11', handle 18
2024-09-20T00:33:20.2965091+03:00 [INFO] Creating buffer 0x2a7d2016f50 of size 92512, name 'chunk-12', handle 19
2024-09-20T00:33:55.5881716+03:00 [INFO] ========== starting zed ==========
2024-09-20T00:33:55.6598664+03:00 [INFO] Use Segoe UI as UI font.
2024-09-20T00:33:55.6609606+03:00 [INFO] Opening main db
2024-09-20T00:33:55.6658001+03:00 [INFO] Opening main db
2024-09-20T00:33:55.6709506+03:00 [INFO] Using git binary path: None
2024-09-20T00:33:55.6715467+03:00 [ERROR] SHELL environment variable is not assigned so we can't source login environment variables
Caused by:
    environment variable not found
2024-09-20T00:33:55.6943866+03:00 [INFO] initializing context server client
2024-09-20T00:33:55.6945003+03:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-20T00:33:55.6948511+03:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-20T00:33:55.6950483+03:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-20T00:33:55.6953821+03:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-20T00:33:55.6956595+03:00 [INFO] No prompt template overrides directory found at C:\Users\taima\AppData\Local\Zed\prompt_overrides. Using built-in prompts.
2024-09-20T00:33:55.6959869+03:00 [INFO] extensions updated. loading 9, reloading 0, unloading 0
2024-09-20T00:33:55.7040445+03:00 [INFO] Opening main db
2024-09-20T00:33:55.7056981+03:00 [INFO] set status on client 0: Authenticating
2024-09-20T00:33:55.7058665+03:00 [INFO] set status on client 118327: Connecting
2024-09-20T00:33:55.7065639+03:00 [ERROR] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
2024-09-20T00:33:55.7179132+03:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-20T00:33:55.7247905+03:00 [INFO] Enabling Vulkan Portability
2024-09-20T00:33:55.7248392+03:00 [INFO] Enabling color space support
2024-09-20T00:33:55.7741442+03:00 [INFO] Adapter: "AMD Radeon RX 5600 XT"
2024-09-20T00:33:55.7747117+03:00 [INFO] No ray tracing extensions are supported
2024-09-20T00:33:55.7817689+03:00 [WARN] Requested size 1x1 is outside of surface capabilities
2024-09-20T00:33:55.7818361+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:33:55.7818915+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:33:55.8413008+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:33:55.8419761+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:33:55.8420359+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:33:55.8437831+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8440604+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8444798+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8447351+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8451092+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8453107+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:33:55.8453609+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:33:55.8454173+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:33:55.8454697+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8455706+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:33:55.8460108+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8463053+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8465107+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8469636+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8474685+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8477704+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8479602+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:33:55.8480219+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:33:55.8480914+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:33:55.8481424+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:55.8482447+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:33:55.8568891+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:33:55.8569552+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:33:55.9160485+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:33:55.9161015+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:33:55.9893209+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:33:56.0261067+03:00 [ERROR] Failed to send events: HTTP 500
2024-09-20T00:33:56.0426107+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:33:56.0438103+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0440097+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0442839+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0444606+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.044675+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0448319+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:33:56.0448773+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:33:56.0449214+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:33:56.0449653+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0450503+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:33:56.0453326+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0455262+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0456869+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0460261+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0463503+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0465513+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0467107+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:33:56.0467575+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:33:56.0468031+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:33:56.046849+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:33:56.0469304+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:33:56.0476512+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 5600 XT", driver_name: "AMD proprietary driver", driver_info: "24.5.1 (AMD proprietary shader compiler)" }
2024-09-20T00:33:56.0502886+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:33:56.1110241+03:00 [INFO] Creating texture 0x2315523c2b0 of size 1024x1024x1 and format R8Unorm, name 'atlas', handle 0
2024-09-20T00:33:56.1119665+03:00 [INFO] Creating buffer 0x2315462fb50 of size 65536, name 'chunk-0', handle 1
2024-09-20T00:33:56.1197219+03:00 [INFO] Creating buffer 0x2314ad0a780 of size 4096, name 'chunk-0', handle 2
2024-09-20T00:33:56.1296907+03:00 [INFO] Opening main db
2024-09-20T00:33:56.1424126+03:00 [INFO] Opening main db
2024-09-20T00:33:56.1443467+03:00 [INFO] Using Windows API for pseudoconsole
2024-09-20T00:33:56.1525979+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-20T00:33:56.1828997+03:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-09-20T00:33:56.1866392+03:00 [INFO] Creating buffer 0x230ba142180 of size 4096, name 'chunk-1', handle 3
2024-09-20T00:33:56.1896647+03:00 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) })
2024-09-20T00:33:56.2357884+03:00 [INFO] Creating buffer 0x231725f4420 of size 65536, name 'chunk-1', handle 4
2024-09-20T00:33:56.2462254+03:00 [INFO] Creating texture 0x23172ad7af0 of size 1024x1024x1 and format Bgra8UnormSrgb, name 'atlas', handle 5
2024-09-20T00:33:56.2610558+03:00 [INFO] Creating buffer 0x231725f44a0 of size 4368, name 'chunk-2', handle 6
2024-09-20T00:33:56.2611258+03:00 [INFO] Creating buffer 0x231725f45a0 of size 14560, name 'chunk-3', handle 7
2024-09-20T00:33:56.2611788+03:00 [INFO] Creating buffer 0x231725f3ea0 of size 90496, name 'chunk-4', handle 8
2024-09-20T00:33:56.2973289+03:00 [INFO] Creating buffer 0x2317327e1e0 of size 4096, name 'chunk-5', handle 9
2024-09-20T00:33:56.2974083+03:00 [INFO] Creating buffer 0x2317327e460 of size 4368, name 'chunk-6', handle 10
2024-09-20T00:33:56.2974695+03:00 [INFO] Creating buffer 0x2317327e4e0 of size 14560, name 'chunk-7', handle 11
2024-09-20T00:33:56.2975281+03:00 [INFO] Creating buffer 0x2317327ece0 of size 90496, name 'chunk-8', handle 12
2024-09-20T00:33:56.2975962+03:00 [INFO] Creating buffer 0x2317327ea60 of size 4096, name 'chunk-9', handle 13
2024-09-20T00:33:56.3802751+03:00 [INFO] Creating buffer 0x2308b0f8f40 of size 65536, name 'chunk-2', handle 14
2024-09-20T00:33:56.4004848+03:00 [INFO] Creating buffer 0x2308b0f9240 of size 65536, name 'chunk-3', handle 15
2024-09-20T00:33:56.4277624+03:00 [INFO] Creating buffer 0x2308b0f8cc0 of size 39536, name 'chunk-10', handle 16
2024-09-20T00:33:56.4278359+03:00 [INFO] Creating buffer 0x2308b0f86c0 of size 72912, name 'chunk-11', handle 17
2024-09-20T00:33:56.6234846+03:00 [INFO] Creating buffer 0x23172ea3cf0 of size 71456, name 'chunk-12', handle 18
2024-09-20T00:33:56.7769927+03:00 [INFO] add connection to peer
2024-09-20T00:33:56.7770532+03:00 [INFO] add_connection;
2024-09-20T00:33:56.7771159+03:00 [INFO] waiting for server hello
2024-09-20T00:33:56.7919467+03:00 [INFO] got server hello
2024-09-20T00:33:56.7920081+03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 541, id: 187553 })
2024-09-20T00:33:56.7920834+03:00 [INFO] set status on client 118327: Connected { peer_id: PeerId { owner_id: 541, id: 187553 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-20T00:33:57.3766001+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:33:57.3770254+03:00 [INFO] Summarizing updated entries took 10.5ยตs
2024-09-20T00:33:57.5489148+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:33:57.657403+03:00 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: Some("tg_videpro") })
2024-09-20T00:33:57.6574792+03:00 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Adapting to 'tg_videpro'", status: Complete, percent_complete: None })
2024-09-20T00:33:57.9442764+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9443516+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.944395+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.944437+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9444792+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9447258+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9447788+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9448203+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9448621+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9449038+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9449443+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9602445+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.960307+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9603521+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:57.9603939+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.377035+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.3771435+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.3773537+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.3774195+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.3774798+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.4228751+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.4242061+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:33:58.4246509+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:33:58.4301156+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:33:58.4351978+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:33:58.6540194+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:58.991008+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:59.2879792+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:59.288099+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:59.3029218+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:59.3030142+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:33:59.4427272+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:34:06.4478021+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:34:06.5143765+03:00 [INFO] Creating buffer 0x2308aa28e20 of size 72128, name 'chunk-13', handle 19
2024-09-20T00:34:07.3628184+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:34:15.7423703+03:00 [INFO] Creating buffer 0x23090365e30 of size 120960, name 'chunk-14', handle 20
2024-09-20T00:34:19.3669318+03:00 [INFO] Creating buffer 0x2308b28c170 of size 139552, name 'chunk-15', handle 21
2024-09-20T00:34:19.4227512+03:00 [INFO] Creating buffer 0x2308b28c670 of size 170128, name 'chunk-16', handle 22
2024-09-20T00:34:20.5352176+03:00 [INFO] Creating buffer 0x2308b28c4f0 of size 200592, name 'chunk-17', handle 23
2024-09-20T00:34:27.0668412+03:00 [INFO] Creating buffer 0x2308e5e5380 of size 222768, name 'chunk-18', handle 24
2024-09-20T00:34:27.0805167+03:00 [INFO] Creating buffer 0x230c9e7e190 of size 223552, name 'chunk-19', handle 25
2024-09-20T00:34:27.1010172+03:00 [INFO] Creating buffer 0x2308e5e5f80 of size 223664, name 'chunk-20', handle 26
2024-09-20T00:34:27.1707574+03:00 [INFO] Creating buffer 0x2308b038860 of size 228032, name 'chunk-21', handle 27
2024-09-20T00:34:37.7945401+03:00 [INFO] Summarizing updated entries took 3.9ยตs
2024-09-20T00:34:37.9634801+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:34:52.2028727+03:00 [INFO] Creating texture 0x2308d769130 of size 1024x1024x1 and format R16Float, name 'atlas', handle 28
2024-09-20T00:35:05.534785+03:00 [INFO] ========== starting zed ==========
2024-09-20T00:35:05.60779+03:00 [INFO] Use Segoe UI as UI font.
2024-09-20T00:35:05.6088783+03:00 [INFO] Opening main db
2024-09-20T00:35:05.6137565+03:00 [INFO] Opening main db
2024-09-20T00:35:05.6186362+03:00 [INFO] Using git binary path: None
2024-09-20T00:35:05.6193276+03:00 [ERROR] SHELL environment variable is not assigned so we can't source login environment variables
Caused by:
    environment variable not found
2024-09-20T00:35:05.6426028+03:00 [INFO] initializing context server client
2024-09-20T00:35:05.6427107+03:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-20T00:35:05.643063+03:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-20T00:35:05.6432636+03:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-20T00:35:05.643602+03:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-20T00:35:05.643909+03:00 [INFO] No prompt template overrides directory found at C:\Users\taima\AppData\Local\Zed\prompt_overrides. Using built-in prompts.
2024-09-20T00:35:05.6442729+03:00 [INFO] extensions updated. loading 9, reloading 0, unloading 0
2024-09-20T00:35:05.65162+03:00 [INFO] Opening main db
2024-09-20T00:35:05.6531076+03:00 [INFO] set status on client 0: Authenticating
2024-09-20T00:35:05.6533175+03:00 [INFO] set status on client 118327: Connecting
2024-09-20T00:35:05.6539584+03:00 [ERROR] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
2024-09-20T00:35:05.6647112+03:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-20T00:35:05.6714171+03:00 [INFO] Enabling Vulkan Portability
2024-09-20T00:35:05.6714665+03:00 [INFO] Enabling color space support
2024-09-20T00:35:05.7112381+03:00 [INFO] Adapter: "AMD Radeon RX 5600 XT"
2024-09-20T00:35:05.7116323+03:00 [INFO] No ray tracing extensions are supported
2024-09-20T00:35:05.7177151+03:00 [WARN] Requested size 1x1 is outside of surface capabilities
2024-09-20T00:35:05.7177812+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:35:05.7178364+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:05.7764094+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:05.7771244+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:05.7771873+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:35:05.7789199+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7792006+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7796793+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7799452+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7803966+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7806399+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:05.7806949+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:05.7807526+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:05.7808081+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7809049+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:05.7813459+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7816621+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7818938+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7823593+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7828168+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7831051+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7833056+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:05.7833597+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:05.7834529+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:05.783505+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.7836198+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:05.7926159+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:35:05.792696+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:05.8524614+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:35:05.8525261+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:05.9209707+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:05.9747634+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:35:05.9760168+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9762392+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9765435+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9767307+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9769506+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9771133+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:05.9771591+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:05.9772044+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:05.9772492+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9773305+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:05.9777011+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9779518+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9781261+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9784589+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9787836+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9789892+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9791484+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:05.9791944+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:05.9792394+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:05.9792846+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:05.9793679+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:05.980116+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 5600 XT", driver_name: "AMD proprietary driver", driver_info: "24.5.1 (AMD proprietary shader compiler)" }
2024-09-20T00:35:05.9825488+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:06.0330705+03:00 [ERROR] Failed to send events: HTTP 500
2024-09-20T00:35:06.0433156+03:00 [INFO] Creating texture 0x1815c069080 of size 1024x1024x1 and format R8Unorm, name 'atlas', handle 0
2024-09-20T00:35:06.0440652+03:00 [INFO] Creating buffer 0x1815b71e460 of size 65536, name 'chunk-0', handle 1
2024-09-20T00:35:06.0515157+03:00 [INFO] Creating buffer 0x1815b71e660 of size 4096, name 'chunk-0', handle 2
2024-09-20T00:35:06.0532526+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-20T00:35:06.0593111+03:00 [INFO] Opening main db
2024-09-20T00:35:06.070416+03:00 [INFO] Opening main db
2024-09-20T00:35:06.0724714+03:00 [INFO] Using Windows API for pseudoconsole
2024-09-20T00:35:06.1085081+03:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-09-20T00:35:06.1110984+03:00 [ERROR] No path or contents found for buffer
2024-09-20T00:35:06.1118056+03:00 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) })
2024-09-20T00:35:06.1555369+03:00 [INFO] Creating buffer 0x18147d977d0 of size 65536, name 'chunk-1', handle 3
2024-09-20T00:35:06.1647054+03:00 [INFO] Creating texture 0x1815c2188a0 of size 1024x1024x1 and format Bgra8UnormSrgb, name 'atlas', handle 4
2024-09-20T00:35:06.1777447+03:00 [INFO] Creating buffer 0x18147d97550 of size 4368, name 'chunk-1', handle 5
2024-09-20T00:35:06.1778144+03:00 [INFO] Creating buffer 0x18147d975d0 of size 14224, name 'chunk-2', handle 6
2024-09-20T00:35:06.1778691+03:00 [INFO] Creating buffer 0x18147d97c50 of size 84112, name 'chunk-3', handle 7
2024-09-20T00:35:06.1779299+03:00 [INFO] Creating buffer 0x18147d97bd0 of size 4096, name 'chunk-4', handle 8
2024-09-20T00:35:06.2031129+03:00 [INFO] Creating buffer 0x18147d97cd0 of size 4096, name 'chunk-5', handle 9
2024-09-20T00:35:06.2031897+03:00 [INFO] Creating buffer 0x18147d97d50 of size 4368, name 'chunk-6', handle 10
2024-09-20T00:35:06.2032484+03:00 [INFO] Creating buffer 0x18147d979d0 of size 14224, name 'chunk-7', handle 11
2024-09-20T00:35:06.203305+03:00 [INFO] Creating buffer 0x18147d97150 of size 84112, name 'chunk-8', handle 12
2024-09-20T00:35:06.2033752+03:00 [INFO] Creating buffer 0x18147d972d0 of size 4096, name 'chunk-9', handle 13
2024-09-20T00:35:06.3094009+03:00 [INFO] Creating buffer 0x18147d978d0 of size 65536, name 'chunk-2', handle 14
2024-09-20T00:35:06.3284753+03:00 [INFO] Creating buffer 0x18147d97a50 of size 65536, name 'chunk-3', handle 15
2024-09-20T00:35:06.3584118+03:00 [INFO] Creating buffer 0x18147d97050 of size 39536, name 'chunk-10', handle 16
2024-09-20T00:35:06.3584875+03:00 [INFO] Creating buffer 0x18147d971d0 of size 71008, name 'chunk-11', handle 17
2024-09-20T00:35:06.6537559+03:00 [INFO] add connection to peer
2024-09-20T00:35:06.6538132+03:00 [INFO] add_connection;
2024-09-20T00:35:06.6538763+03:00 [INFO] waiting for server hello
2024-09-20T00:35:06.6574922+03:00 [INFO] got server hello
2024-09-20T00:35:06.657548+03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 541, id: 188659 })
2024-09-20T00:35:06.6576258+03:00 [INFO] set status on client 118327: Connected { peer_id: PeerId { owner_id: 541, id: 188659 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-20T00:35:07.2824867+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:35:07.6206191+03:00 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: Some("tg_videpro") })
2024-09-20T00:35:07.6206986+03:00 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Adapting to 'tg_videpro'", status: Complete, percent_complete: None })
2024-09-20T00:35:07.8896528+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.889723+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8897679+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8898097+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8898506+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8898918+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8899328+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.889974+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8900168+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8900587+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8901025+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8901438+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8901848+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.890226+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:07.8902685+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.3041665+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.3042769+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.3043983+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.3044909+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.3045387+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.316607+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:08.3170709+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:08.3209868+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:35:08.3267398+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:35:08.3499259+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.4723825+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:08.888798+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:09.150283+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:09.1649242+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:09.1649888+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:09.1799088+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:09.3353036+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:28.6606584+03:00 [INFO] Creating buffer 0x1815c2f7140 of size 72128, name 'chunk-12', handle 18
2024-09-20T00:35:54.9875408+03:00 [INFO] ========== starting zed ==========
2024-09-20T00:35:55.0602617+03:00 [INFO] Use Segoe UI as UI font.
2024-09-20T00:35:55.0613347+03:00 [INFO] Opening main db
2024-09-20T00:35:55.0659248+03:00 [INFO] Opening main db
2024-09-20T00:35:55.071161+03:00 [INFO] Using git binary path: None
2024-09-20T00:35:55.0719183+03:00 [ERROR] SHELL environment variable is not assigned so we can't source login environment variables
Caused by:
    environment variable not found
2024-09-20T00:35:55.0983565+03:00 [INFO] initializing context server client
2024-09-20T00:35:55.0984642+03:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-20T00:35:55.0988144+03:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-20T00:35:55.0990304+03:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-20T00:35:55.0993727+03:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-20T00:35:55.0996895+03:00 [INFO] No prompt template overrides directory found at C:\Users\taima\AppData\Local\Zed\prompt_overrides. Using built-in prompts.
2024-09-20T00:35:55.1000344+03:00 [INFO] extensions updated. loading 9, reloading 0, unloading 0
2024-09-20T00:35:55.1098479+03:00 [INFO] Opening main db
2024-09-20T00:35:55.1111988+03:00 [INFO] set status on client 0: Authenticating
2024-09-20T00:35:55.1113896+03:00 [INFO] set status on client 118327: Connecting
2024-09-20T00:35:55.1121052+03:00 [ERROR] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
2024-09-20T00:35:55.1241759+03:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-20T00:35:55.1301965+03:00 [INFO] Enabling Vulkan Portability
2024-09-20T00:35:55.1302423+03:00 [INFO] Enabling color space support
2024-09-20T00:35:55.1718142+03:00 [INFO] Adapter: "AMD Radeon RX 5600 XT"
2024-09-20T00:35:55.1719807+03:00 [INFO] No ray tracing extensions are supported
2024-09-20T00:35:55.1781313+03:00 [WARN] Requested size 1x1 is outside of surface capabilities
2024-09-20T00:35:55.178191+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:35:55.1782371+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:55.2394477+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:55.2401485+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:55.2402145+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:35:55.2422878+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2426116+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2430874+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2433464+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2437184+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2439478+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:55.2440009+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:55.2440519+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:55.2441029+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2442018+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:55.2446653+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2450092+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2452885+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.245774+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2462851+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.246596+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2468217+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:55.2468765+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:55.2469265+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:55.2469753+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.2470685+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:55.2567013+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:35:55.2567777+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:55.3186492+03:00 [ERROR] No composite alpha flag for transparency: OPAQUE
2024-09-20T00:35:55.3187055+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:55.3971717+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:55.453325+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-20T00:35:55.4545563+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4547876+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4550978+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4552826+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4555078+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4556751+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:55.4557201+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:55.4557642+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:55.4558086+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4558926+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:55.4561911+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4564057+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4565744+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.456927+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.457255+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4574566+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4576161+03:00 [INFO] Skip function Some("to_device_position_impl")
2024-09-20T00:35:55.457661+03:00 [INFO] Skip function Some("to_device_position")
2024-09-20T00:35:55.4577051+03:00 [INFO] Skip function Some("to_device_position_transformed")
2024-09-20T00:35:55.4577822+03:00 [INFO] Skip function Some("to_tile_position")
2024-09-20T00:35:55.4578701+03:00 [INFO] Skip function Some("blend_color")
2024-09-20T00:35:55.4585852+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon RX 5600 XT", driver_name: "AMD proprietary driver", driver_info: "24.5.1 (AMD proprietary shader compiler)" }
2024-09-20T00:35:55.4609201+03:00 [INFO] Using surface present mode FIFO_RELAXED
2024-09-20T00:35:55.4957553+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-20T00:35:55.5097428+03:00 [ERROR] Failed to send events: HTTP 500
2024-09-20T00:35:55.5215055+03:00 [INFO] Creating texture 0x2bee7190130 of size 1024x1024x1 and format R8Unorm, name 'atlas', handle 0
2024-09-20T00:35:55.522244+03:00 [INFO] Creating buffer 0x2bedde33530 of size 65536, name 'chunk-0', handle 1
2024-09-20T00:35:55.5297793+03:00 [INFO] Creating buffer 0x2bedde32cb0 of size 4096, name 'chunk-0', handle 2
2024-09-20T00:35:55.538505+03:00 [INFO] Opening main db
2024-09-20T00:35:55.5462873+03:00 [INFO] Creating buffer 0x2bef03aff40 of size 4096, name 'chunk-1', handle 3
2024-09-20T00:35:55.5528749+03:00 [INFO] Opening main db
2024-09-20T00:35:55.5547695+03:00 [INFO] Using Windows API for pseudoconsole
2024-09-20T00:35:55.5902067+03:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-09-20T00:35:55.5945343+03:00 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) })
2024-09-20T00:35:55.6419765+03:00 [INFO] Creating buffer 0x2bee78b1920 of size 65536, name 'chunk-1', handle 4
2024-09-20T00:35:55.6516732+03:00 [INFO] Creating texture 0x2bf5d363920 of size 1024x1024x1 and format Bgra8UnormSrgb, name 'atlas', handle 5
2024-09-20T00:35:55.6647464+03:00 [INFO] Creating buffer 0x2bee78b0c20 of size 4368, name 'chunk-2', handle 6
2024-09-20T00:35:55.6648164+03:00 [INFO] Creating buffer 0x2bee78b13a0 of size 14560, name 'chunk-3', handle 7
2024-09-20T00:35:55.6648731+03:00 [INFO] Creating buffer 0x2bee78b0fa0 of size 83776, name 'chunk-4', handle 8
2024-09-20T00:35:55.8289144+03:00 [INFO] Creating buffer 0x2be94f91f30 of size 65536, name 'chunk-2', handle 9
2024-09-20T00:35:55.8405133+03:00 [INFO] Creating buffer 0x2bf5d9521b0 of size 72800, name 'chunk-5', handle 10
2024-09-20T00:35:55.8714112+03:00 [INFO] Creating buffer 0x2bef075dd00 of size 39536, name 'chunk-6', handle 11
2024-09-20T00:35:55.8714857+03:00 [INFO] Creating buffer 0x2bef075e180 of size 72800, name 'chunk-7', handle 12
2024-09-20T00:35:56.1267125+03:00 [INFO] add connection to peer
2024-09-20T00:35:56.1267786+03:00 [INFO] add_connection;
2024-09-20T00:35:56.1268623+03:00 [INFO] waiting for server hello
2024-09-20T00:35:56.1396931+03:00 [INFO] got server hello
2024-09-20T00:35:56.1397575+03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 541, id: 189250 })
2024-09-20T00:35:56.1398359+03:00 [INFO] set status on client 118327: Connected { peer_id: PeerId { owner_id: 541, id: 189250 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-20T00:35:56.8247008+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:35:56.8254087+03:00 [INFO] Summarizing updated entries took 6.1ยตs
2024-09-20T00:35:56.9415337+03:00 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: Some("tg_videpro") })
2024-09-20T00:35:56.9416125+03:00 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Adapting to 'tg_videpro'", status: Complete, percent_complete: None })
2024-09-20T00:35:57.0133602+03:00 [ERROR] failed to fetch cached embeddings via cloud model
Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
2024-09-20T00:35:57.3405329+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3405995+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3406451+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3406892+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3407319+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3410529+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3411108+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3411532+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.341197+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.341282+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3556217+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3556771+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.3557226+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.355767+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.773989+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.7891544+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.7893267+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.7893782+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.789423+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:57.8355937+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.0808911+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.0910011+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:58.093816+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-20T00:35:58.0958253+03:00 [INFO] Creating buffer 0x2bef075e300 of size 72800, name 'chunk-8', handle 13
2024-09-20T00:35:58.0958932+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:35:58.102133+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-20T00:35:58.4324617+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.6626491+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.6784848+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.6944671+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.6945632+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-20T00:35:58.850647+03:00 [WARN] request completed with error: failed to connect to the server
JunkuiZhang commented 21 hours ago

@taimast The log seems not include the panic info. Could you paste the console output here using cargo run?

JunkuiZhang commented 20 hours ago

BTW, would you mid sharing the file? I can not reproduce the crash on my end.

taimast commented 17 hours ago

BTW, would you mid sharing the file? I can not reproduce the crash on my end.

github won't let me send .ftl file. It will need to be renamed language.txt in language.ftl

language.txt

cargo run
[2024-09-20T05:33:47+03:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-09-20T05:33:47+03:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE
[2024-09-20T05:33:47+03:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE
[2024-09-20T05:33:47+03:00 ERROR client::telemetry] Failed to send events: HTTP 500
[2024-09-20T05:33:47+03:00 ERROR client::telemetry] Failed to send events: HTTP 500
[2024-09-20T05:33:47+03:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE
[2024-09-20T05:33:48+03:00 ERROR client::telemetry] Failed to send events: HTTP 500
[2024-09-20T05:33:48+03:00 ERROR] No path or contents found for buffer
[2024-09-20T05:34:03+03:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-09-20T05:34:03+03:00 ERROR] failed to read path after update
Thread "main" panicked with "byte index 2 is not a char boundary; it is inside '๐Ÿ‡ท' (bytes 0..4) of `๐Ÿ‡ท๐Ÿ‡บ ะ ัƒัั`" at crates\supermaven\src\supermaven_completion_provider.rs:78:40
   0: backtrace::backtrace::dbghelp64::trace
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\backtrace-0.3.74\src\backtrace\dbghelp64.rs:91
      backtrace::backtrace::trace_unsynchronized
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\backtrace-0.3.74\src\backtrace\mod.rs:66
   1: backtrace::backtrace::trace
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\backtrace-0.3.74\src\backtrace\mod.rs:53
   2: backtrace::capture::Backtrace::create
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\backtrace-0.3.74\src\capture.rs:292
   3: backtrace::capture::Backtrace::new
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\backtrace-0.3.74\src\capture.rs:257
   4: zed::reliability::init_panic_hook::closure$0
             at G:\CodeProjects\RustroverProjects\other\zed\crates\zed\src\reliability.rs:59
   5: alloc::boxed::impl$50::call
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\alloc\src\boxed.rs:2084
      std::panicking::rust_panic_with_hook
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\panicking.rs:808
   6: std::panicking::begin_panic_handler::closure$0
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\panicking.rs:674
   7: std::sys::backtrace::__rust_end_short_backtrace
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\sys\backtrace.rs:168
   8: std::panicking::begin_panic_handler
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\panicking.rs:665
   9: core::panicking::panic_fmt
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\core\src\panicking.rs:74
  10: core::str::slice_error_fail_rt
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\core\src\str\mod.rs:132
  11: core::str::slice_error_fail
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\core\src\str\mod.rs:89
  12: core::str::traits::impl$7::index
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\str\traits.rs:245
  13: core::str::traits::impl$4::index >
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\str\traits.rs:63
  14: supermaven::supermaven_completion_provider::completion_state_from_diff
             at G:\CodeProjects\RustroverProjects\other\zed\crates\supermaven\src\supermaven_completion_provider.rs:78
  15: supermaven::supermaven_completion_provider::impl$1::active_completion_text
             at G:\CodeProjects\RustroverProjects\other\zed\crates\supermaven\src\supermaven_completion_provider.rs:224
  16: editor::inline_completion_provider::impl$0::active_completion_text
             at G:\CodeProjects\RustroverProjects\other\zed\crates\editor\src\inline_completion_provider.rs:134
  17: editor::Editor::update_visible_inline_completion
             at G:\CodeProjects\RustroverProjects\other\zed\crates\editor\src\editor.rs:5215
  18: editor::impl$16::set_inline_completion_provider::closure$0::closure$0
             at G:\CodeProjects\RustroverProjects\other\zed\crates\editor\src\editor.rs:2255
  19: gpui::window::impl$36::observe::closure$0::closure$0::closure$0,e
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\window.rs:4109
  20: gpui::window::impl$24::update_view,gpui::window::impl$36::observe::closure$0::closure$0::closure_env$0,gpui::window::impl$36::observe::closure$0::closure$0::closure_env$0,gpui::window::impl$36::observe::closure$0::closure$0::closure_env$0,editor::impl
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\window.rs:4109
  24: gpui::app::impl$5::update_window::closure$0 >,gpui::app::impl$5::update_window::closure_env$0,editor::impl$16::set_in
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\window.rs:4106
  29: alloc::boxed::impl$49::call_mut >,dyn$ >,assoc$ > >,alloc::alloc::Global>
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\alloc\src\boxed.rs:2077
  30: gpui::app::impl$4::apply_notify_effect::closure$0
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app.rs:821
  31: gpui::subscription::impl$1::retain::closure$1 >,assoc$ > >,alloc::alloc::Global>,gpui::app::impl$4::apply_notify_effect::c
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\subscription.rs:125
  32: alloc::collections::btree::map::impl$20::retain::closure$0 >,assoc$ > >,alloc::alloc::Global> >,alloc::alloc::Global,
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\alloc\src\collections\btree\map.rs:1115
  33: alloc::collections::btree::map::ExtractIfInner::next >,assoc$ > >,alloc::alloc::Global> >,alloc::collections::btree::
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\alloc\src\collections\btree\map.rs:1945
  34: alloc::collections::btree::map::impl$53::next >,assoc$ > >,alloc::alloc::Global> >,alloc::collections::btree::map::im
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\alloc\src\collections\btree\map.rs:1923
  35: core::iter::traits::iterator::Iterator::fold >,assoc$ > >,alloc::alloc::Glo
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\iter\traits\iterator.rs:2587
  36: core::iter::traits::iterator::Iterator::for_each
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\iter\traits\iterator.rs:818
      alloc::collections::btree::map::BTreeMap::retain >,assoc$ > >,alloc::alloc::Global> >,alloc::alloc::Global,gpui::subs
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\alloc\src\collections\btree\map.rs:1115
  37: gpui::subscription::SubscriberSet::retain >,assoc$ > >,alloc::alloc::Global>,gpui::app::impl$4::apply_notify_effect::closu
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\subscription.rs:123
  38: gpui::app::AppContext::apply_notify_effect
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app.rs:819
  39: gpui::app::AppContext::flush_effects
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app.rs:728
  40: gpui::app::AppContext::update,gpui::app::impl$5::update_model::closure_env$0,supermaven::supermaven_completion_provider::impl$1::refresh::closure$1::async_block$0::c
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app.rs:366
  41: gpui::app::impl$5::update_model,supermaven::supermaven_completion_provider::impl$1::refresh::closure$1::async_block$0::closure_env$0>
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app.rs:1368
  42: gpui::app::async_context::impl$0::update_model,supermaven::supermaven_completion_provider::impl$1::refresh::closure$1::async_block$0::closure_env$0>
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app\async_context.rs:69
  43: gpui::app::entity_map::impl$34::update::closure$1,supermaven::supermaven_completion_provider::impl$1::refresh::closure$1::async_bloc
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app\entity_map.rs:604
  44: core::result::Result::map,anyhow::Error,enum2$,anyhow::Error> >,gpui::app::entity_map::impl$34::update::closure_env$1,supermaven::supermaven_completion_provider::impl$1::refresh::closure$1::async_block$0::clos
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app\entity_map.rs:602
  46: supermaven::supermaven_completion_provider::impl$1::refresh::closure$1::async_block$0
             at G:\CodeProjects\RustroverProjects\other\zed\crates\supermaven\src\supermaven_completion_provider.rs:144
  47: core::future::future::impl$1::poll,anyhow::Error> > > > >,alloc::alloc::Global> >
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\future\future.rs:123
  48: async_task::runnable::impl$6::spawn_local::impl$1::poll,anyhow::Error> > > > >,alloc::alloc::Global> > >
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-task-4.7.1\src\runnable.rs:455
  49: async_task::raw::RawTask::run,anyhow::Error> > > > >,alloc::alloc::Global> > >,enum2$ >
             at C:\Users\taima\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-task-4.7.1\src\runnable.rs:781
  51: gpui::platform::windows::platform::WindowsPlatform::run_foreground_tasks
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\platform\windows\platform.rs:190
  52: gpui::platform::windows::platform::impl$2::run
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\platform\windows\platform.rs:237
  53: gpui::app::App::run
             at G:\CodeProjects\RustroverProjects\other\zed\crates\gpui\src\app.rs:161
  54: zed::main
             at G:\CodeProjects\RustroverProjects\other\zed\crates\zed\src\main.rs:437
  55: core::ops::function::FnOnce::call_once >
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\ops\function.rs:250
  56: core::hint::black_box
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\core\src\hint.rs:389
      std::sys::backtrace::__rust_begin_short_backtrace >
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\std\src\sys\backtrace.rs:152
  57: std::rt::lang_start::closure$0 >
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\std\src\rt.rs:162
  58: std::rt::lang_start_internal::closure$2
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\rt.rs:141
      std::panicking::try::do_call
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\panicking.rs:557
      std::panicking::try
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\panicking.rs:521
      std::panic::catch_unwind
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\panic.rs:350
      std::rt::lang_start_internal
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library\std\src\rt.rs:141
  59: std::rt::lang_start >
             at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c\library\std\src\rt.rs:161
  60: main
  61: invoke_main
             at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
      __scrt_common_main_seh
             at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
  62: BaseThreadInitThunk
  63: RtlUserThreadStart
JunkuiZhang commented 15 hours ago

Based on the logs you provided and my own testing, this crash doesn't appear to be related to this #18053 , nor is it specific to Windows. In fact, I was able to reproduce the crash on my Mac.

Steps to reproduce:

ๆˆชๅฑ2024-09-20 12 38 41