lmstudio-ai / lmstudio-bug-tracker

Bug tracking for the LM Studio desktop application
8 stars 3 forks source link

crashes on start. ubuntu 24 (noble). #135

Open yodog opened 1 week ago

yodog commented 1 week ago

my system:

| ~/Downloads : $ cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian

version: https://releases.lmstudio.ai/linux/x86/0.3.2/beta/6/LM_Studio-0.3.2.AppImage

i tried running in four different ways, each one with a different error message.

1

| ~/Downloads : $ ./LM_Studio-0.3.2.AppImage
[1749088:0930/091727.311263:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_LM_Stu2nvESW/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

2

| ~/Downloads : $ sudo ./LM_Studio-0.3.2.AppImage
[0930/091755.464935:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

3

| ~/Downloads : $ sudo ./LM_Studio-0.3.2.AppImage --no-sandbox
09:18:20.213 › App starting...
.
.
Authorization required, but no authorization protocol specified
09:18:21.426 › Failed to survey hardware with backend 'llama.cpp-linux-x86_64-nvidia-cuda-avx2', version '1.1.10': LMSCore load lib failed - child process with PID 1749878 exited with code 1
09:18:21.854 › Tried to get Vulkan environment variable overrides for LLM usage, but GPU survey data showed no GPUs!
.
.
[FileWatchingProvider] Sync completed.
[1749514:0930/091822.516725:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[1749884:0930/091822.568016:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 75497475
Bus error

4

| ~/Downloads : $ ./LM_Studio-0.3.2.AppImage --no-sandbox
09:20:15.525 › App starting...
.
.
[1751069:0930/092016.777838:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
09:20:16.946 › Failed to survey hardware with backend 'llama.cpp-linux-x86_64-nvidia-cuda-avx2', version '1.1.10': LMSCore load lib failed - child process with PID 1751116 exited with code 1
09:20:17.369 › Tried to get Vulkan environment variable overrides for LLM usage, but GPU survey data showed no GPUs!
.
.
[CachedFileDataProvider] Watching file at /home/usuario/.cache/lm-studio/conversations
09:20:20.089 › [CachedFileDataProvider] Error reading file at /home/usuario/.cache/lm-studio/conversations Error: EISDIR: illegal operation on a directory, read
.
.
[CachedFileDataProvider] File at /home/usuario/.cache/lm-studio/conversations is no longer used. Releasing...
Bus error (core dumped)
fornellas commented 4 days ago

Same scenario on 24.10:

$ ./LM_Studio-0.3.3.AppImage 
[8427:1005/121748.872181:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_LM_StuybjmNp/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)