You are not logged in.

#1 2025-07-26 14:32:46

bababoey
Member
Registered: 2024-03-28
Posts: 16

[SOLVED] Segfault when running some programs

Everything works fine yesterday then this happens.

Selected WSI platform: wayland
[obs-vkcapture] Init Vulkan 1.5.2 (64bit)
Segmentation fault         (core dumped) vkcube

Web browsers, discord, steam, and flatpaks works fine but mpv, vlc, majority of my steam library, and lutris does not even launch.
I was able to launch project zomboid on steam (opengl) so I thought it has something to do with my vulkan drivers but I am also able to play games on my emulators using vulkan renderer (flatpak).

OS: Arch Linux x86_64
Host: B450 AORUS M
Kernel: Linux 6.15.8-zen1-1-zen
Uptime: 40 mins
Packages: 1241 (pacman), 39 (flatpak)
Shell: bash 5.3.3
Display (PHL 223V5): 1920x1080 @ 60 Hz in 22" [External]
DE: KDE Plasma 6.4.3
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: breeze (24px)
Terminal: konsole 25.4.3
CPU: AMD Ryzen 5 3600 (12) @ 4.21 GHz
GPU: AMD Radeon RX 5700 XT [Discrete]
Memory: 14.45 GiB / 15.53 GiB (93%)
Swap: Disabled
Disk (/): 355.47 GiB / 936.84 GiB (38%) - ext4
Disk (/mnt/extension): 375.63 GiB / 915.82 GiB (41%) - ext4
Disk (/mnt/gmae): 605.86 GiB / 937.82 GiB (65%) - ext4
Local IP (wlan0): 192.168.1.44/24
Locale: en_US.UTF-8

Ignore the high memory usage I was doing a memory test lol.

Last edited by bababoey (2025-07-26 15:14:10)

Offline

#2 2025-07-26 14:51:53

safe049
Member
From: Shanxi,China
Registered: 2024-05-02
Posts: 117
Website

Re: [SOLVED] Segfault when running some programs

please provide vulkaninfo and maybe the coredumpctl gdb


命途跌宕也折了鋒芒

Offline

#3 2025-07-26 14:55:52

bababoey
Member
Registered: 2024-03-28
Posts: 16

Re: [SOLVED] Segfault when running some programs

vulkaninfo

WARNING: [Loader Message] Code 0 : Layer VK_LAYER_MANGOHUD_overlay_x86 uses API version 1.3 which is older than the application specified API version of 1.4. May cause issues.
WARNING: [Loader Message] Code 0 : Layer VK_LAYER_MANGOHUD_overlay_x86_64 uses API version 1.3 which is older than the application specified API version of 1.4. May cause issues.
[obs-vkcapture] Init Vulkan 1.5.2 (64bit)
Segmentation fault         (core dumped) vulkaninfo

coredumpctl gdb

           PID: 26683 (vulkaninfo)
           UID: 1000 (mrcuriouscat)
           GID: 1000 (mrcuriouscat)
        Signal: 11 (SEGV)
     Timestamp: Sat 2025-07-26 22:53:00 PST (1min 9s ago)
  Command Line: vulkaninfo
    Executable: /usr/bin/vulkaninfo
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-22966.scope
          Unit: user@1000.service
     User Unit: app-org.kde.konsole-22966.scope
         Slice: user-1000.slice
     Owner UID: 1000 (mrcuriouscat)
       Boot ID: 5aed0945c02c4d3c99b97fca7a75d13c
    Machine ID: 4ec96484a5b34060a94725b8803ae016
      Hostname: archlinux
       Storage: /var/lib/systemd/coredump/core.vulkaninfo.1000.5aed0945c02c4d3c99b97fca7a75d13c.26683.1753541580000000.zst (present)
  Size on Disk: 1018.5K
       Message: Process 26683 (vulkaninfo) of user 1000 dumped core.
                
                Stack trace of thread 26683:
                #0  0x00007f947ced3992 n/a (liblsfg-vk.so + 0x7f992)
                #1  0x00007f947cecff9d _ZN6Config12updateConfigERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (liblsfg-vk.so + 0x7bf9d)
                #2  0x00007f947cea93d7 n/a (liblsfg-vk.so + 0x553d7)
                #3  0x00007f948a9542d7 n/a (ld-linux-x86-64.so.2 + 0x52d7)
                #4  0x00007f948a9543ad n/a (ld-linux-x86-64.so.2 + 0x53ad)
                #5  0x00007f948a9514b5 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x24b5)
                #6  0x00007f948a95b089 n/a (ld-linux-x86-64.so.2 + 0xc089)
                #7  0x00007f948a951416 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x2416)
                #8  0x00007f948a95b49e n/a (ld-linux-x86-64.so.2 + 0xc49e)
                #9  0x00007f948a2a1b34 n/a (libc.so.6 + 0x91b34)
                #10 0x00007f948a951416 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x2416)
                #11 0x00007f948a951569 n/a (ld-linux-x86-64.so.2 + 0x2569)
                #12 0x00007f948a2a1623 n/a (libc.so.6 + 0x91623)
                #13 0x00007f948a2a1beb dlopen (libc.so.6 + 0x91beb)
                #14 0x00007f948a6f316f n/a (libvulkan.so.1 + 0x3216f)
                #15 0x00007f948a709848 vkCreateInstance (libvulkan.so.1 + 0x48848)
                #16 0x00005567cf51e04b n/a (/usr/bin/vulkaninfo + 0x3804b)
                #17 0x00005567cf51186d n/a (/usr/bin/vulkaninfo + 0x2b86d)
                #18 0x00007f948a2376b5 n/a (libc.so.6 + 0x276b5)
                #19 0x00007f948a237769 __libc_start_main (libc.so.6 + 0x27769)
                #20 0x00005567cf514c35 n/a (/usr/bin/vulkaninfo + 0x2ec35)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/vulkaninfo...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) 
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in /usr/bin/vulkaninfo)
[New LWP 26683]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/vulkaninfo'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f947ced3992 in ?? () from /usr/lib/liblsfg-vk.so
Function(s) ^std::(move|forward|as_const|(__)?addressof) will be skipped when stepping.
Function(s) ^std::(shared|unique)_ptr<.*>::(get|operator) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|(forward_)?list|(unordered_|flat_)?(multi)?(map|set)|span)<.*>::(c?r?(begin|end)|front|back|data|size|empty) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|span)<.*>::operator.] will be skipped when stepping.

Offline

#4 2025-07-26 14:58:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED] Segfault when running some programs

What, exactly, is liblsfg-vk.so? It doesn't appear to exist in the repos.

Offline

#5 2025-07-26 14:59:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,147

Re: [SOLVED] Segfault when running some programs

Probably https://aur.archlinux.org/packages/lsfg-vk-git you'll want to check whether rebuilding that fixes things or remove it.

Offline

#6 2025-07-26 15:02:29

bababoey
Member
Registered: 2024-03-28
Posts: 16

Re: [SOLVED] Segfault when running some programs

Removing the package fixes it, TYSM!!!

Offline

#7 2025-07-26 15:11:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,147

Re: [SOLVED] Segfault when running some programs

If you consider that a solution and don't want to investigate into why it breaks/potentially report upstream, please mark as [SOLVED] by editing the title in your first post.

FWIW out of own curiousity, it seems recent commits changed the way this should get configured and you're likely dying in the config parser somewhere, see https://github.com/PancakeTAS/lsfg-vk/w … E2%80%90vk -- from context https://github.com/PancakeTAS/lsfg-vk/pull/135 might fix this.

Last edited by V1del (2025-07-26 15:15:38)

Offline

#8 2025-07-26 15:23:28

bababoey
Member
Registered: 2024-03-28
Posts: 16

Re: [SOLVED] Segfault when running some programs

Might also be because I have an older version of Lossless Scaling installed in Steam but I never thought this package was the problem since it's just sitting on my system and I was not actively using it.
Nevertheless, thanks for the help.

Offline

Board footer

Powered by FluxBB