lapce / lapce/lapce

Panic upon startup Windows 10

Open
#1,079 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-crash 💥 P-windows
Dominant language
Rust
Stars
38.9k
Forks
1.3k
Avg merge
19m
Merged PRs (30d)
1

Description

General Info

I'm using Lapce 0.2.0 on a Windows 10 21H1 machine

The Issue

Upon startup, Lapce crashes given the following backtrace

thread 'main' panicked at 'ERROR: 0:7: 'location' : syntax error parse error

', C:\Users\runneradmin\.cargo\git\checkouts\piet-wgpu-913b036275d2afb6\f863b3e\src\pipeline.rs:89:13
stack backtrace:
   0:     0x7ff6d48d9b0e - git_filter_source_repo
   1:     0x7ff6d38afd4a - <unknown>
   2:     0x7ff6d48b83c9 - git_filter_source_repo
   3:     0x7ff6d48db2ab - git_filter_source_repo
   4:     0x7ff6d48dbea7 - git_filter_source_repo
   5:     0x7ff6d48dba73 - git_filter_source_repo
   6:     0x7ff6d48db9d9 - git_filter_source_repo
   7:     0x7ff6d48db994 - git_filter_source_repo
   8:     0x7ff6d51ac805 - tree_sitter_rust
   9:     0x7ff6d45a6000 - git_filter_source_repo
  10:     0x7ff6d45a5d41 - git_filter_source_repo
  11:     0x7ff6d3a8bde1 - git_filter_source_repo
  12:     0x7ff6d3a7824e - git_filter_source_repo
  13:     0x7ff6d3a6f301 - git_filter_source_repo
  14:     0x7ffee131e858 - CallWindowProcW
  15:     0x7ffee131e3dc - DispatchMessageW
  16:     0x7ffee1332bf7 - InitDManipHook
  17:     0x7ffee1590d74 - KiUserCallbackDispatcher
  18:     0x7ffedf211ec4 - NtUserCreateWindowEx
  19:     0x7ffee1317d8b - CreateWindowExW
  20:     0x7ffee1317958 - CreateWindowExW
  21:     0x7ffee13177a2 - CreateWindowExW
  22:     0x7ff6d4506018 - git_filter_source_repo
  23:     0x7ff6d44f785f - git_filter_source_repo
  24:     0x7ff6d37f1006 - <unknown>
  25:     0x7ff6d37f1185 - <unknown>
  26:     0x7ff6d51a6f30 - tree_sitter_rust
  27:     0x7ffee1267034 - BaseThreadInitThunk
  28:     0x7ffee1542651 - RtlUserThreadStart

Additional info

I've tried installing it with the wizard provided, using the portable version and winget giving the same crash

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the startup crash on Windows 10 across the installer, portable, and winget versions described in the issue. Inspect the panic at piet-wgpu's src/pipeline.rs:89:13 and the reported shader parse error; done means Lapce starts without this panic on the affected setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.