[Engine] strata.exe 0.1.67/0.1.69 crashes with 0xc0000005 after 1-token window capture when --resident-budget-gib > 0 on RTX 5090 (Windows)

Abierto
#7,261 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
46/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

Start by comparing engine versions 0.1.65 and 0.1.67/0.1.69 around the transition after the 1-token window capture, using the listed command and isolation matrix to reproduce the crash. The issue does not name source files or tests, so first trace where --resident-budget-gib affects window capture and inspect the Windows access violation. Done means the same configuration reaches READY with a nonzero resident budget.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Area

[Engine] (speed, kernels, models, the server and API)

Desktop app, Terminal or source?

Source (START-HERE.bat, setup.sh or a build)

What happened

After updating to engine 0.1.69 (and previously on 0.1.67), strata.exe crashes on startup with Windows exception 0xc0000005 (Access Violation) immediately after printing:

strata verify: captured the 1-token window (upload no error, sync no error) in 10.2 ms

It never reaches capturing the 2-token window or READY.

Expected behavior: strata.exe finishes window capture and prints READY (which works reliably on engine 0.1.65 with the exact same model, pack, and configuration).

Windows Application Error Event Log entries:

  • Engine 0.1.69 (timestamp 0x6b06d61f): Exception code 0xc0000005, Fault offset 0x00000000006fbc8b
  • Engine 0.1.67 (timestamp 0x6b051e1f): Exception code 0xc0000005, Fault offset 0x00000000006fe94b
Smallest steps or command that reproduce it

Launch strata.exe --serve with the Qwen3.8-Flash-Next-Uncensored-Q6_K native pack + GGUF and --resident-budget-gib 1 (even with --max-context 4096 and without --vision):

strata.exe --serve --pack <pack_dir> --native <gguf_1_of_5> --ple-gguf <gguf_2_of_5> --ple-io direct --expert-profile <expert-profile.bin> --expert-cache auto --prefill 512 --spec 4 --spec-min-p 0.5 --mtp <mtp_dir> --max-context 4096 --kv-grow --conversation-cache-mib 0 --conversation-cache-slots 0 --kv int8 --pool-workers 15 --adapt-async 1 --vram-reserve-mib 4096 --resident-budget-gib 1

Isolation matrix observed locally:

  • 0.1.65 with --resident-budget-gib 1 (and 76): PASS (READY)
  • 0.1.69 with --resident-budget-gib 0 (at 262144 context, with --vision): PASS (READY 262144 stop hold holdb)
  • 0.1.69 with --resident-budget-gib 1: CRASH (0xc0000005 right after captured the 1-token window)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_SM120_PERF=0: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_NO_CUDA_GRAPH=1: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_DEFAULTS=026: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_PIN_BY_NEED=0: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 without --adapt-async, without --kv-grow, with --prefill auto, or with --expert-cache 0: CRASH (0xc0000005)
Reproduction status

Reproduced locally

Strata version

Strata 0.2.22 (commit c23477403) · engine 0.1.69 (also observed on 0.1.67; 0.1.65 works)

Graphics card, memory and system

NVIDIA GeForce RTX 5090 32 GB (Driver 610.88) · 128 GB RAM · Windows 11 Pro (Build 26300)

Model, size and settings

Qwen3.8-Flash-Next-Uncensored-Q6_K (native pack + 5 GGUF shards) · 262144 context (also reproduces at 4096) · --resident-budget-gib 76 (also reproduces at 1) · --kv int8 · --prefill 512 · --spec 4 · --vision

Logs
strata: sm_120 (Blackwell): 12 exact speed switches on by default (STRATA_SM120_PERF=0 turns them off, as does STRATA_DEFAULTS=026; a switch you set is kept): HC_UPMIX Q80_ROWS1 EXP_MODE SIDE_MIXER DEQUANT_SIDE QFUSE LFUSE PLE_COMPACT PLE_COPY_STREAM PREFILL_CPU_SHARE_NT PREFILL_NVFP4 VERIFY_DEVICE_HITS
strata generate: memory guard: limit 127.7 GiB (source: meminfo), current 13.5 GiB, reclaimable cache credited 0.0 GiB; available 114.2 GiB (MemAvailable 114.2 GiB), floor 2560 MiB
strata generate: GPU 0: NVIDIA GeForce RTX 5090, compute capability 12.0
strata generate: experts via mmap (--mmap-experts; the GGUF shards in place, no experts.bin)
strata generate: expert cache 3601 slots, 14.85 GiB of VRAM; policy is PROFILE, ranked by routing frequency, no eviction.
strata generate: session is up (engine 0.1.69)
FileExpertSource: mapped pinned cache complement ready: resident 76.00 GiB, pinned 76.00 GiB in 19 s; page-locked and mapped
strata generate: resident RAM mode: 76.00 GiB of experts in RAM (page-locked), 3601 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file reads)
strata serve: Windows commit: 130.5 GiB left of a 255.7 GiB limit (RAM + page file)
strata serve: the prompt path borrows 130 CUDA0 cache slots (0.54 GiB)
strata verify: window up to 12 tokens, 137.9 MiB of device buffers
strata mtp: draft head over 106299 tokens (212.9 MiB)
strata serve: adaptive tier asynchronous (--adapt-async 1): up to 96 swaps per round, a round every 4 windows
strata serve: 3970 MiB of VRAM free with everything loaded
strata verify: capturing the 1-token window (3970 MiB of VRAM free)
strata verify: captured the 1-token window (upload no error, sync no error) in 10.2 ms
Lenguaje dominante
C++
Estrellas
11.6k
Forks
1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Niko1221/Strata

Todos los issues de Niko1221/Strata

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.