Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

LettuceAI 2.2.0 and 2.2.1 both crash when opening Settings → Models

Aperta
#89 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
tauri, typescript
Ambito
backend, desktop

Direzione di ricerca

Start by tracing the Settings → Models setup flow and identify which native or bundled dependency is invoked when the model picker opens; the report points to an Oniguruma function and a BMI2 instruction on unsupported CPUs. Check the Windows CPU and CUDA builds on a machine without BMI2, then verify they no longer crash or at least show an error. The issue does not name specific files or tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug
Hello, I never used Lettuce AI before. Today I did a fresh install of the 2.2.1 windows, cpu version on windows 10 and tried to follow the setup process. When I opened the setting page for choosing a local LLM model as part of the setup process, the whole app closed after a few seconds, regardless of what I do. There is no error message and this problem persists after restarts, fresh installs and repeated attempts.

I've tried to debug via Chat-GPT and it describes the problem as follows:

Windows 10/11, CPU Intel Xeon E5-2670 v2 (Ivy Bridge, AVX but no BMI2). LettuceAI 2.2.0 and 2.2.1 both crash when opening Settings → Models, before selecting a model. Event Viewer reports exception 0xc000001d. WinDbg identifies the faulting instruction as shlx edx,r8d,edx at lettuceai!onig_builtin_fail+0x1157bb. SHLX is a BMI2 instruction unsupported by Ivy Bridge. The Windows CPU build appears to have been compiled with BMI2 instructions enabled.

That onig_... naming is from Oniguruma, a regular-expression library. onig_builtin_fail is indeed an Oniguruma function.

To Reproduce
Steps to reproduce the behavior, as they have happend on my machine:

  1. Have windows 10 with an Intel Xeon E5-2670 v2 CPU or any other cpu that doesn't support BMI2 instructions.
  2. Install LettuceAI 2.2.1 fresh.
  3. Open LettuceAI.
  4. Click 'Get Started'.
  5. Click 'Yes, I know how this works'.
  6. Click 'I want to use local LLMs'.
  7. Click 'use my own gguf files'.
  8. Wait a few seconds and LettuceAI should close on its own.

Expected behavior
For everything to keep working or at least an error message.

Additional context

  • The CUDA version has the same problem.
Lingua principale
TypeScript
Stelle
141
Fork
37
Merge medio
3h 40m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LettuceAI/app

Tutte le issue di LettuceAI/app

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.