Diagnosing LM Studio's Vulkan Survey Crash
LM Studio crashed during its Vulkan hardware survey inside a VM; how the cause was isolated.
In short
LM Studio 0.4.20 aborted once while it asked the computer what graphics chips it could see. The virtual machine offered a Virtio display but no working Vulkan driver (Vulkan is a way programs talk to a GPU). Update past 0.4.20. Reading the crash log is a few commands.
What you need
- The machine where LM Studio crashed
coredumpctl, the systemd tool that stores crash reports- The process id from that report (called
PROCESS_IDbelow) gdbonly if you still need the exact function name
Read the crash record
- List saved crashes, then open the one you care about:
coredumpctl list
coredumpctl info PROCESS_ID
You should see: process node, binary ~/.lmstudio/.internal/utils/node, signal SIGABRT. LM Studio kept running after the abort.
- Rule out the machine running out of memory:
free -h
journalctl -b --no-pager \
| grep -Ei 'out of memory|oom-kill|killed process'
- Read the system log from one minute before the crash to one minute after:
journalctl --since 'CRASH_TIME_MINUS_ONE_MINUTE' \
--until 'CRASH_TIME_PLUS_ONE_MINUTE' --no-pager
Open a core dump only if you still need the cause
A core dump is a copy of the program’s memory. It can hold passwords or private files.
Warning: do not commit it or share it. The commands below delete the copy when the shell exits. If you copy it somewhere else, delete that copy yourself.
core=$(mktemp -t crash-XXXXXX.core)
trap 'rm -f "$core"' EXIT
coredumpctl dump PROCESS_ID --output="$core"
DEBUGINFOD_URLS="https://debuginfod.archlinux.org" \
gdb -q EXECUTABLE "$core" \
-batch \
-ex 'set debuginfod enabled on' \
-ex 'thread apply all bt'
That trace landed in lm_studio::system::QueryGpusVulkan().
What actually failed
On first launch, LM Studio 0.4.20 tried to survey Vulkan hardware. The VM exposed a Virtio GPU but no usable Vulkan ICD (the driver file Vulkan looks up). The helper hit an uncaught C++ exception and aborted on purpose with SIGABRT.
The file that crashed is LM Studio’s bundled Node program. This was not a JavaScript failure.
What followed:
- LM Studio recovered on its own through the CPU survey.
- No user data was lost.
- It happened once.
- The evidence pointed at LM Studio, not Omarchy.
Update the app
- Update LM Studio past 0.4.20.
- If the same crash happens again on the current version, save the version, the GPU and VM setup,
coredumpctl info, and the symbolized backtrace. Send those to LM Studio. -
Do not file a one-off app crash as an Omarchy bug unless the evidence points at Omarchy’s own config or packages.
- Check that it stayed quiet, and that LM Studio is using the CPU or GPU backend you wanted:
coredumpctl list
If it doesn’t work
- The journal shows an out-of-memory kill. That is a memory problem, not this Vulkan survey.
gdbcannot find symbols. LeaveDEBUGINFOD_URLSset tohttps://debuginfod.archlinux.organdset debuginfod enabled on.- The crash returns after the update. Collect the four items above and report them to LM Studio.
- You only have this one crash. Do not treat it as an Omarchy bug.
Spot something wrong or outdated? Leave a comment below. Every comment is reviewed to keep these posts accurate.
By commenting, you agree to our Terms of use and confirm this is your own work. Short quotes are fine with a credit and link. Copied, unsafe, or abusive comments are removed. See something copied? Say so here.