[bug] Windows v2.7.72 crashes with 0xC000001D on Ryzen 7 5700X due to AVX-512 instruction
Author: Mii4aCreated Sep 26, 2026Updated Sep 26, 2026
Labelsbug
Bug description
screenpipe v2.7.72 consistently crashes on Windows with:
0xC000001D - STATUS_ILLEGAL_INSTRUCTION
The crashing instruction uses a ZMM register:
vmovups zmm0, zmmword ptr [...]
The machine uses an AMD Ryzen 7 5700X, which supports AVX/AVX2 but does not support AVX-512.
This appears to indicate that the Windows v2.7.72 binary contains an AVX-512 instruction path that is being executed on a non-AVX-512 CPU.
Environment
- screenpipe version: 2.7.72
- executable version: 2.7.72.0
- OS: Windows x64
- Windows build: 10.0.26100.1
- CPU: AMD Ryzen 7 5700X 8-Core Processor
- Architecture: x64
- CPU supports AVX/AVX2
- CPU does not support AVX-512
Reproduction
- Install and launch screenpipe v2.7.72 on Windows.
- Start screenpipe normally.
- The application runs briefly.
- Memory usage increases while the application initializes.
- After roughly several seconds,
screenpipe-app.exeterminates. - Relaunching reproduces the same crash.
The failure occurs repeatedly at the same executable offset.
Windows Event Log
The crash is consistently reported as:
Faulting application name: screenpipe-app.exe
Version: 2.7.72.0
Exception code: 0xc000001d
Fault offset: 0x0000000004393a81
Multiple crashes produce the same exception code and fault offset.
WinDbg analysis
A full crash dump was collected using Windows Error Reporting LocalDumps.
!analyze -v reports:
Failure.Bucket:
ILLEGAL_INSTRUCTION_c000001d_screenpipe-app.exe!Unknown
Failure.Exception.Code:
0xc000001d
Failure.Exception.IP.Address:
0x7ff6fb9c3a81
Failure.Exception.IP.Module:
screenpipe_app
Failure.Exception.IP.Offset:
0x4393a81
Failure.ProblemClass.Primary:
ILLEGAL_INSTRUCTION
The exception context points to:
screenpipe_app!sqlite3_dbdata_init+0x70481
00007ff6`fb9c3a81
62f17c481005c5617902
vmovups zmm0,zmmword ptr [...]
Exception record:
ExceptionAddress: 00007ff6fb9c3a81
ExceptionCode: c000001d (Illegal instruction)
The important part is that the faulting instruction accesses a zmm register:
vmovups zmm0,zmmword ptr [...]
which is an AVX-512 instruction.
Ryzen 7 5700X / Zen 3 does not support AVX-512.
Stack trace
The top of the stack is:
screenpipe_app!sqlite3_dbdata_init+0x70481
screenpipe_app!sqlite3_dbdata_init+0x278dda
screenpipe_app!sqlite3_dbdata_init+0x288a1c
...
I understand that symbol names in an optimized/static binary may not necessarily identify the actual library responsible for emitting the instruction, so I am not assuming SQLite itself is the cause.
The reliable information is that the AVX-512 instruction exists inside screenpipe-app.exe at offset 0x4393a81.
Additional observations
There was initially also a database initialization issue:
Failed to initialize database:
pool timed out while waiting for an open connection
After removing stale legacy SQLite sidecar files from the old database location, the local API successfully returned:
http://localhost:3030/health
StatusCode: 200
So the database/API startup problem appears to be separate from this crash.
Even with the backend healthy, screenpipe-app.exe still terminates with the same 0xC000001D exception.
The crash dump reports:
Analysis.Memory.CommitPeak.Mb: 222
so this does not appear to be an out-of-memory termination.
Expected behavior
screenpipe should run on an AMD Ryzen 7 5700X without executing AVX-512 instructions.
If AVX-512 optimized code is included, there should be runtime CPU feature detection and a fallback path for AVX2 CPUs.
Actual behavior
screenpipe v2.7.72 executes:
vmovups zmm0,zmmword ptr [...]
on a Ryzen 7 5700X and terminates with:
0xC000001D STATUS_ILLEGAL_INSTRUCTION
Possible cause
This looks like a Windows build or dependency being compiled with AVX-512 enabled, or an optimized code path being selected without checking AVX-512 support at runtime.
It may be worth checking dependencies or LTCG/code generation settings for instructions emitted above AVX2.
Available debugging data
I can provide if useful:
- full .dmp
- !analyze -v output
- Windows Event Viewer logs
- screenpipe application logs
- exact disassembly around the faulting instructionSource: screenpipe/screenpipe