You are not logged in.

#1 2025-01-02 20:36:07

Ryancode
Member
Registered: 2025-01-01
Posts: 3

Some programs crash due to segmentation fault.

Hello,
I am kinda new to Arch Linux, so I don't know how to handle this situation.
The problem is, that whenever I start a program that was installed from the AUR or flatpak, it start for a second and then crashes due to a segmentation fault.
I have at least three programs from the AUR repo (Spotify, Minecraft Launcher and VSCode) and each of them have the same problem.
I've been looking for any fixes, tried updating the packages, but I nothing works. I am gonna try if reinstalling helps, but before that, I wanted to ask for help from the more experienced users.


Here are the outputs of each of the programs:
[ryancode@ARCHD3SK ~]$ spotify --show-console
User flags:
20:30:46.356 E [f:26                            ] TCPServer: Failed to create port checker
20:30:46.367 I [f:231                           ] Starting step: core_init
20:30:46.367 I [f:158                           ] Access allowance changed from online: 0 stream: 0, sync: 0, persistent conn: 0 to online: 1 stream: 1, sync: 0, persistent conn: 1
20:30:46.368 I [f:49                            ] Connectivity policy is initially allow_all
20:30:46.368 I [f:51                            ] Connection type is initially unknown
20:30:46.368 I [f:68                            ] Enabling all persistent connections
20:30:46.369 I [f:139                           ] Open storage index header at /home/ryancode/.cache/spotify/Storage/index.dat
20:30:46.369 I [f:30                            ] Created or reset storage index at /home/ryancode/.cache/spotify/Storage (this most likely means new install)
20:30:46.369 I [f:271                           ] NmNetworkNotifier is not aware of running NetworkManager (yet), assume 'ethernet'
20:30:46.369 I [f:250                           ] Ending step: core_init
20:30:46.370 E [f:1401                          ] Failed to set default autostart mode!
20:30:46.394 I [f:231                           ] Starting step: cef_context_init
20:30:46.399 I [f:134                           ] D-Bus name 'org.freedesktop.NetworkManager' exists on the system bus
20:30:46.400 I [f:139                           ] Notify subscribers on NetworkManager detection (current state is 'NM_STATE_CONNECTED_GLOBAL')
20:30:46.400 I [f:190                           ] Successfully connected to 'org.freedesktop.NetworkManager'
20:30:46.410 I [f:231                           ] Starting step: main_view_init
20:30:46.410 I [f:250                           ] Ending step: cef_context_init
20:30:46.852 I [f:250                           ] Ending step: main_view_init
Segmentation fault (core dumped)

-------- CRASHED --------

[ryancode@ARCHD3SK ~]$ minecraft-launcher
[0102/213114.646562:WARNING:alloy_main_delegate.cc(559)] Alloy bootstrap is deprecated and will be removed in ~M127. See https://github.com/chromiumembedded/cef/issues/3685
[0102/213114.929219:INFO:main_context.cpp(131)] CEF initialized successfully.
[0102/213114.929275:INFO:main_context.cpp(133)] CEF version: 127.3.5+g114ea2a+chromium-127.0.6533.120
[0102/213115.075287:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
Created browser window for reuse: 0x400004
OK
[0102/213119.303150:WARNING:alloy_main_delegate.cc(559)] Alloy bootstrap is deprecated and will be removed in ~M127. See https://github.com/chromiumembedded/cef/issues/3685
[0102/213119.421735:INFO:main_context.cpp(131)] CEF initialized successfully.
[0102/213119.421797:INFO:main_context.cpp(133)] CEF version: 127.3.5+g114ea2a+chromium-127.0.6533.120
[0102/213119.548026:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
Created browser window for reuse: 0x400004
[ryancode@ARCHD3SK ~]$ minecraft-launcher --verbose
[0102/213133.612774:WARNING:alloy_main_delegate.cc(559)] Alloy bootstrap is deprecated and will be removed in ~M127. See https://github.com/chromiumembedded/cef/issues/3685
[0102/213133.730648:INFO:main_context.cpp(131)] CEF initialized successfully.
[0102/213133.730697:INFO:main_context.cpp(133)] CEF version: 127.3.5+g114ea2a+chromium-127.0.6533.120
[0102/213133.867690:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
Created browser window for reuse: 0x400004
OK
[0102/213137.677226:WARNING:alloy_main_delegate.cc(559)] Alloy bootstrap is deprecated and will be removed in ~M127. See https://github.com/chromiumembedded/cef/issues/3685
[0102/213137.794513:INFO:main_context.cpp(131)] CEF initialized successfully.
[0102/213137.794563:INFO:main_context.cpp(133)] CEF version: 127.3.5+g114ea2a+chromium-127.0.6533.120
[0102/213137.927841:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
Created browser window for reuse: 0x400004

-------- CRASHED --------

This is my system info:
[ryancode@ARCHD3SK ~]$ neofetch
OS: Arch Linux x86_64
Kernel: 6.12.7-arch1-1
Uptime: 9 hours, 57 mins
Packages: 689 (pacman), 5 (flatpak)
Shell: bash 5.2.37
WM: Hyprland
Terminal: kitty
Memory: 1836MiB / 11834MiB

Offline

#2 2025-01-03 07:50:06

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,224

Re: Some programs crash due to segmentation fault.

A backtrace is needed to debug crashes

Offline

#3 2025-01-03 08:42:25

Ryancode
Member
Registered: 2025-01-01
Posts: 3

Re: Some programs crash due to segmentation fault.

This is the output of journalctl of the event. Hope it helps:

Jan 03 09:35:47 ARCHD3SK kernel: ThreadPoolForeg[7194]: segfault at 7e61009fdfdf ip 00007e610848984e sp 00007e61009fdfc0 error 6 in libc.so.6[3e84e,7e610846f000+171000] likely on CPU 2 (core 1, socket 0)
Jan 03 09:35:47 ARCHD3SK kernel: Code: 06 00 00 48 81 c4 98 0c 00 00 4c 89 f8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 40 00 c6 85 a0 f3 ff ff 2f 4c 8d 8d a1 f3 ff ff <c6> 85 5f f3 ff ff 00 c7 85 58 f3 ff ff 00 00 00 00 90 0f b6 71 01
Jan 03 09:35:47 ARCHD3SK systemd-coredump[7289]: Process 7185 (spotify) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Jan 03 09:35:47 ARCHD3SK systemd[1]: Started Process Core Dump (PID 7289/UID 0).
░░ Subject: A start job for unit systemd-coredump@2-7289-0.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
░░
░░ A start job for unit systemd-coredump@2-7289-0.service has finished successfully.
░░
░░ The job identifier is 1689.
Jan 03 09:35:48 ARCHD3SK systemd-coredump[7290]: [?] Process 7185 (spotify) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 7194:
                                                 #0  0x00007e610848984e realpath (libc.so.6 + 0x3e84e)
                                                 #1  0x00007e61104a0e93 n/a (libcef.so + 0x6ca0e93)
                                                 #2  0x00007e611179cf9e n/a (libcef.so + 0x7f9cf9e)
                                                 #3  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #4  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #5  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #6  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #7  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #8  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #9  0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #10 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #11 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #12 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #13 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #14 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #15 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #16 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #17 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #18 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #19 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #20 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #21 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #22 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #23 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #24 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #25 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #26 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #27 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #28 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #29 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #30 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #31 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #32 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #33 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #34 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #35 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #36 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #37 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #38 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #39 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #40 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #41 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #42 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #43 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #44 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #45 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #46 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #47 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #48 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #49 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #50 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #51 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #52 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #53 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #54 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #55 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #56 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #57 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #58 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #59 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #60 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #61 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #62 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 #63 0x00007e611179d4ea n/a (libcef.so + 0x7f9d4ea)
                                                 
                                                 Stack trace of thread 7185:
                                                 #0  0x00007e6108556bb0 ppoll (libc.so.6 + 0x10bbb0)
                                                 #1  0x00007e610883d327 n/a (libglib-2.0.so.0 + 0xc0327)
                                                 #2  0x00007e61087d9a55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                                 #3  0x00007e61104b8a0d n/a (libcef.so + 0x6cb8a0d)
                                                 #4  0x00007e61104598a1 n/a (libcef.so + 0x6c598a1)
                                                 #5  0x00007e611041cb2e n/a (libcef.so + 0x6c1cb2e)
                                                 #6  0x00007e610c14f76e n/a (libcef.so + 0x294f76e)
                                                 #7  0x0000646b7800f43a n/a (n/a + 0x0)
                                                 ELF object binary architecture: AMD x86-64
░░ Subject: Process 7185 (spotify) dumped core
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
░░ Documentation: man:core(5)
░░
░░ Process 7185 (spotify) crashed and dumped core.
░░
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.
Jan 03 09:35:48 ARCHD3SK systemd[1]: systemd-coredump@2-7289-0.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
░░
░░ The unit systemd-coredump@2-7289-0.service has successfully entered the 'dead' state.
Jan 03 09:35:48 ARCHD3SK systemd[1]: systemd-coredump@2-7289-0.service: Consumed 1.023s CPU time, 485.4M memory peak.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/l … temd-devel
░░
░░ The unit systemd-coredump@2-7289-0.service completed and consumed the indicated resources.

I don't know what else information do you need to debug this. Hope this can help.

Offline

#4 2025-01-03 08:54:26

Ryancode
Member
Registered: 2025-01-01
Posts: 3

Re: Some programs crash due to segmentation fault.

I have generated a backtrace file with gdb:

#0  0x00007fffe94f284e in realpath_stk (name=0x7fffdd3ffd38 "/usr/share/icons", resolved=0x7fffdd3fecd0 '\252' <repeats 200 times>..., bufs=0x7fffdd3fe010) at canonicalize.c:241
        dest = 0x7fffdd3fe021 ""
        end = <optimized out>
        rname = 0x7fffdd3fe020 "/"
        end_in_extra_buffer = false
        prefix_len = 0
        start = 0x7fffdd3ffd38 "/usr/share/icons"
        num_links = 0
        failed = true
        dest = <optimized out>
        start = <optimized out>
        end = <optimized out>
        num_links = <optimized out>
        rname = <optimized out>
        end_in_extra_buffer = <optimized out>
        failed = <optimized out>
        prefix_len = <optimized out>
        error = <optimized out>
        startlen = <optimized out>
        buf = <optimized out>
        n = <optimized out>
        dest_offset = <optimized out>
        bufsize = <optimized out>
        extra_buf = <optimized out>
        end_idx = <optimized out>
        len = <optimized out>
        pfxlen = <optimized out>
#1  __GI___realpath (name=0x7fffdd3ffd38 "/usr/share/icons", resolved=0x7fffdd3fecd0 '\252' <repeats 200 times>...) at canonicalize.c:431
        bufs = {rname = {data = 0x7fffdd3fe020, length = 1024, __space = {__align = {__max_align_ll = 47, __max_align_ld = 0}, __c = "/", '\000' <repeats 295 times>...}}, extra = {data = 0>
        result = <optimized out>
#2  0x00007ffff14a0e93 in ?? () from /opt/spotify/libcef.so
No symbol table info available.
#3  0x00005555585bf218 in ?? ()
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Offline

#5 2025-01-03 10:13:30

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,185
Website

Re: Some programs crash due to segmentation fault.

I think for spotify this is a known issue: https://community.spotify.com/t5/Deskto … -p/6439555

Offline

#6 2025-01-03 10:24:38

seth
Member
Registered: 2012-09-03
Posts: 66,263

Re: Some programs crash due to segmentation fault.

Spotify looks like it's the cursor theme and actually all electron clients will suffer from that.
https://bbs.archlinux.org/viewtopic.php … 1#p2082761

If you're using the Adwaita cursor theme: don't. It's deliberately broken.
Use dmz instead (visually the same)

Offline

Board footer

Powered by FluxBB