Several applications have started to mysteriously segfault

As the title states. It’s really odd, but several applications have started segfaulting when I try to launch them without escalated privilege (i.e. sudo).
Two of the applications I’ve found that do this are gnome-abrt and variety (the latter is a wallpaper changer). Whenever I launch them (non-sudo), I get the following message: Segmentation fault (core dumped).

Could someone help me sort this out? Thanks :blush:

1 Like

Can you start by checking what versions of these tools you are using?

rpm -q gnome-abrt variety

The output of fpaste --sysinfo --printonly would also be very useful

Next, what does the journal say around these crashes?

https://docs.fedoraproject.org/en-US/quick-docs/viewing-logs/

Since these are segmentation faults, you should be able to see the core dumps using coredumpctl. Some info on using it here:

2 Likes

Sorry for the late reply, Ankur, but I’ve been away for the weekend. Anyway, here’s the output of the first command:

gnome-abrt-1.4.0-2.fc34.x86_64
variety-0.8.5-4.fc34.noarch

Here’s the output of fpaste:

=== fpaste 0.4.2.0 System Information ===
* OS Release (cat /etc/*-release | uniq):
     Fedora release 34 (Thirty Four)
     NAME=Fedora
     VERSION="34 (Workstation Edition)"
     ID=fedora
     VERSION_ID=34
     VERSION_CODENAME=""
     PLATFORM_ID="platform:f34"
     PRETTY_NAME="Fedora 34 (Workstation Edition)"
     ANSI_COLOR="0;38;2;60;110;180"
     LOGO=fedora-logo-icon
     CPE_NAME="cpe:/o:fedoraproject:fedora:34"
     HOME_URL="https://fedoraproject.org/"
     DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/"
     SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
     BUG_REPORT_URL="https://bugzilla.redhat.com/"
     REDHAT_BUGZILLA_PRODUCT="Fedora"
     REDHAT_BUGZILLA_PRODUCT_VERSION=34
     REDHAT_SUPPORT_PRODUCT="Fedora"
     REDHAT_SUPPORT_PRODUCT_VERSION=34
     PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
     VARIANT="Workstation Edition"
     VARIANT_ID=workstation
     Fedora release 34 (Thirty Four)
     
* Kernel (uname -r ; cat /proc/cmdline):
     5.14.11-200.fc34.x86_64
     BOOT_IMAGE=(hd1,gpt2)/vmlinuz-5.14.11-200.fc34.x86_64 root=UUID=83614cf6-e3bb-42be-ad45-454741c48ef1 ro rootflags=subvol=root rhgb quiet
     
* Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon|lxdm-session)' ):
     gnome-session-b
     gnome-session-c
     gnome-session-b
     
* Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
     gnome-classic, gnome, gnome-xorg
     
* SELinux Status (sestatus):
     SELinux status:                 enabled
     SELinuxfs mount:                /sys/fs/selinux
     SELinux root directory:         /etc/selinux
     Loaded policy name:             targeted
     Current mode:                   enforcing
     Mode from config file:          enforcing
     Policy MLS status:              enabled
     Policy deny_unknown status:     allowed
     Memory protection checking:     actual (secure)
     Max kernel policy version:      33
     
* SELinux Errors (without results: "selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn"):
     N/A

* CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
     sed -re 's/^ +//' ):
     12  Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz
     
* 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Load average (uptime):
      21:39:08 up 36 min,  1 user,  load average: 1,67, 2,45, 2,31
     
* Memory usage (free -m):
                    total        used        free      shared  buff/cache   available
     Mem:           15902        2694        2263         146       10943       12725
     Swap:           8191           1        8190
     
* Top 5 CPU hogs (ps axuScnh | awk '$2!=14241' | sort -rnk3 | head -5):
         1000    1930  155  2.1 6855272 355832 ?      Ssl  21:02  56:08 gnome-shell
         1000    1796 26.0  0.0  23440 15260 ?        Ss   21:02   9:25 systemd
         1000   13696 13.4  1.3 30107356 215800 ?     Sl   21:38   0:06 brave
         1000   13591 12.0  2.0 17654316 337856 ?     SLl  21:38   0:05 brave
         1000   13636  6.1  0.9 17696852 148816 ?     Sl   21:38   0:02 brave
     
* Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5):
         1000    1930  155  2.1 6855272 355832 ?      Ssl  21:02  56:08 gnome-shell
         1000   13591 12.0  2.0 17654316 337856 ?     SLl  21:38   0:05 brave
         1000   13696 13.4  1.3 30107356 215800 ?     Sl   21:38   0:06 brave
            0    1430  0.1  1.7 763468 277872 ?       Ssl  21:02   0:02 packagekitd
          998     849  0.0  0.0  17712  8724 ?        Ss   21:02   0:00 systemd-oomd
     
* Disk space usage (df -hT):
     Filesystem     Type      Size  Used Avail Use% Mounted on
     devtmpfs       devtmpfs  7,8G     0  7,8G   0% /dev
     tmpfs          tmpfs     7,8G  107M  7,7G   2% /dev/shm
     tmpfs          tmpfs     3,2G  2,0M  3,2G   1% /run
     /dev/nvme0n1p3 btrfs     930G  598G  333G  65% /
     tmpfs          tmpfs     7,8G  5,7M  7,8G   1% /tmp
     /dev/nvme0n1p3 btrfs     930G  598G  333G  65% /home
     /dev/nvme0n1p2 ext4      976M  270M  639M  30% /boot
     /dev/nvme0n1p1 vfat      599M   17M  583M   3% /boot/efi
     tmpfs          tmpfs     1,6G  156K  1,6G   1% /run/user/1000
     /dev/sda1      btrfs     932G  644G  288G  70% /run/media/zeno/samsung
     
* Block devices (without results: "blkid" AND "/sbin/blkid"):
     N/A

* PCI devices (lspci -nn):
     00:00.0 Host bridge [0600]: Intel Corporation Comet Lake-S 6c Host Bridge/DRAM Controller [8086:9b53] (rev 05)
     00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 05)
     00:14.0 USB controller [0c03]: Intel Corporation Comet Lake PCH-V USB Controller [8086:a3af]
     00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a3ba]
     00:17.0 SATA controller [0106]: Intel Corporation 400 Series Chipset Family SATA AHCI Controller [8086:a382]
     00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:a3e9] (rev f0)
     00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a392] (rev f0)
     00:1c.3 PCI bridge [0604]: Intel Corporation Device [8086:a393] (rev f0)
     00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a398] (rev f0)
     00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a3c8]
     00:1f.2 Memory controller [0580]: Intel Corporation Memory controller [8086:a3a1]
     00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a3f0]
     00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH-V SMBus Host Controller [8086:a3a3]
     01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c3)
     02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
     03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3)
     03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT] [1002:ab28]
     06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
     07:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. A2000 NVMe SSD [2646:2263] (rev 03)
     
* USB devices (lsusb):
     Bus 002 Device 002: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5
     Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 001 Device 004: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
     Bus 001 Device 003: ID 1038:12ad SteelSeries ApS SteelSeries Arctis 7
     Bus 001 Device 002: ID 045e:082a Microsoft Corp. Microsoft Pro Intellimouse
     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     
* DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ):
     [drm] amdgpu kernel modesetting enabled.
     fb0: switching to amdgpudrmfb from EFI VGA
     [drm] initializing kernel modesetting (SIENNA_CICHLID 0x1002:0x73BF 0x1043:0x04F6 0xC3).
     [drm] register mmio base: 0xA0100000
     [drm] register mmio size: 1048576
     [drm] add ip block number 0 <nv_common>
     [drm] add ip block number 1 <gmc_v10_0>
     [drm] add ip block number 2 <navi10_ih>
     [drm] add ip block number 3 <psp>
     [drm] add ip block number 4 <smu>
     [drm] add ip block number 5 <dm>
     [drm] add ip block number 6 <gfx_v10_0>
     [drm] add ip block number 7 <sdma_v5_2>
     [drm] add ip block number 8 <vcn_v3_0>
     [drm] add ip block number 9 <jpeg_v3_0>
     [drm] VCN(0) decode is enabled in VM mode
     [drm] VCN(1) decode is enabled in VM mode
     [drm] VCN(0) encode is enabled in VM mode
     [drm] VCN(1) encode is enabled in VM mode
     [drm] JPEG decode is enabled in VM mode
     [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
     [drm] Detected VRAM RAM=16368M, BAR=256M
     [drm] RAM width 256bits GDDR6
     [drm] amdgpu: 16368M of VRAM memory ready
     [drm] amdgpu: 11926M of GTT memory ready.
     [drm] GART: num cpu pages 131072, num gpu pages 131072
     [drm] PCIE GART of 512M enabled (table at 0x0000008000E10000).
     [drm] Loading DMUB firmware via PSP: version=0x02020003
     [drm] use_doorbell being set to: [true]
     [drm] use_doorbell being set to: [true]
     [drm] use_doorbell being set to: [true]
     [drm] use_doorbell being set to: [true]
     [drm] Found VCN firmware Version ENC: 1.13 DEC: 2 VEP: 0 Revision: 42
     [drm] reserve 0xa00000 from 0x83fe000000 for PSP TMR
     [drm] Display Core initialized with v3.2.141!
     [drm] DMUB hardware initialized: version=0x02020003
     [drm] REG_WAIT timeout 1us * 100000 tries - mpc2_assert_idle_mpcc line:479
     [drm] kiq ring mec 2 pipe 1 q 0
     [drm] VCN decode and encode initialized successfully(under DPG Mode).
     [drm] JPEG decode initialized successfully.
     [drm] fb mappable at 0xB1195000
     [drm] vram apper at 0xB0000000
     [drm] size 14745600
     [drm] fb depth is 24
     [drm]    pitch is 10240
     amdgpu 0000:03:00.0: [drm] fb0: amdgpu frame buffer device
     [drm] Initialized amdgpu 3.42.0 20150101 for 0000:03:00.0 on minor 0
     [drm] REG_WAIT timeout 1us * 100000 tries - mpc2_assert_idle_mpcc line:479
     
* Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
     glx amdgpu ati radeon modesetting fbdev vesa fbdevhw fb dri2 glamoregl ramdac libinput
     
* GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"):
     OpenGL renderer string: AMD Radeon RX 6800 (SIENNA_CICHLID, DRM 3.42.0, 5.14.11-200.fc34.x86_64, LLVM 12.0.1)
     OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.8
     
* Xorg errors (grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- ):
     [   489.044] (EE) open /dev/fb0: Permission denied
     
* Kernel buffer tail (dmesg | tail):
     [   23.289955] Code: 00 00 00 48 c1 ef 02 48 8d 05 c2 49 02 00 48 8b 1c f8 48 85 db 0f 84 15 01 00 00 4c 8d 25 0e 54 02 00 4c 89 e7 e8 26 97 fd ff <4c> 8b 73 30 4d 85 f6 0f 84 21 01 00 00 41 8b 0e 49 8b 7e 08 85 c9
     [   23.320502] BTRFS info (device sda1): enabling ssd optimizations
     [   46.482305] signal: winedevice.exe[4469] overflowed sigaltstack
     [   46.482309] signal: winedevice.exe[4469] overflowed sigaltstack
     [   47.269811] chrome-gnome-sh[4847]: segfault at a7f52e70 ip 00007f511b23279a sp 00007fffbaa5f910 error 4 in libgobject-2.0.so.0.6800.4[7f511b20b000+30000]
     [   47.269822] Code: 00 00 00 48 c1 ef 02 48 8d 05 c2 49 02 00 48 8b 1c f8 48 85 db 0f 84 15 01 00 00 4c 8d 25 0e 54 02 00 4c 89 e7 e8 26 97 fd ff <4c> 8b 73 30 4d 85 f6 0f 84 21 01 00 00 41 8b 0e 49 8b 7e 08 85 c9
     [   47.282082] chrome-gnome-sh[4848]: segfault at d307e70 ip 00007f2599b8b79a sp 00007ffe9c52e930 error 4 in libgobject-2.0.so.0.6800.4[7f2599b64000+30000]
     [   47.282091] Code: 00 00 00 48 c1 ef 02 48 8d 05 c2 49 02 00 48 8b 1c f8 48 85 db 0f 84 15 01 00 00 4c 8d 25 0e 54 02 00 4c 89 e7 e8 26 97 fd ff <4c> 8b 73 30 4d 85 f6 0f 84 21 01 00 00 41 8b 0e 49 8b 7e 08 85 c9
     [ 2139.363201] gnome-abrt[13478]: segfault at d90016c0 ip 00007f02e739779a sp 00007ffc145dfd20 error 4 in libgobject-2.0.so.0.6800.4[7f02e7370000+30000]
     [ 2139.363207] Code: 00 00 00 48 c1 ef 02 48 8d 05 c2 49 02 00 48 8b 1c f8 48 85 db 0f 84 15 01 00 00 4c 8d 25 0e 54 02 00 4c 89 e7 e8 26 97 fd ff <4c> 8b 73 30 4d 85 f6 0f 84 21 01 00 00 41 8b 0e 49 8b 7e 08 85 c9
     
* Last few reboots (last -x -n10 reboot runlevel):
     runlevel (to lvl 5)   5.14.11-200.fc34 Sun Oct 17 21:02   still running
     reboot   system boot  5.14.11-200.fc34 Sun Oct 17 21:02   still running
     runlevel (to lvl 5)   5.14.11-200.fc34 Sun Oct 17 20:57 - 21:02  (00:04)
     reboot   system boot  5.14.11-200.fc34 Sun Oct 17 20:57 - 21:02  (00:04)
     runlevel (to lvl 5)   5.14.11-200.fc34 Thu Oct 14 07:39 - 10:46  (03:06)
     reboot   system boot  5.14.11-200.fc34 Thu Oct 14 07:39 - 10:46  (03:06)
     runlevel (to lvl 5)   5.14.10-200.fc34 Thu Oct 14 07:34 - 07:39  (00:04)
     reboot   system boot  5.14.10-200.fc34 Thu Oct 14 07:34 - 07:39  (00:04)
     runlevel (to lvl 5)   5.14.10-200.fc34 Wed Oct 13 14:38 - 20:04  (05:26)
     reboot   system boot  5.14.10-200.fc34 Wed Oct 13 14:37 - 20:04  (05:26)
     
     wtmp begins Sat Aug  7 19:30:34 2021
     
* DNF Repositories (dnf repolist):
     repo id                                            repo name
     brave-browser-rpm-release.s3.brave.com_x86_64_     created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
     code                                               Visual Studio Code
     copr:copr.fedorainfracloud.org:dawid:better_fonts  Copr repo for better_fonts owned by dawid
     copr:copr.fedorainfracloud.org:zawertun:hack-fonts Copr repo for hack-fonts owned by zawertun
     copr:copr.fedorainfracloud.org:zeno:scrcpy         Copr repo for scrcpy owned by zeno
     copr:copr.fedorainfracloud.org:zirix:gdm-wallpaper Copr repo for gdm-wallpaper owned by zirix
     docker-ce-stable                                   Docker CE Stable - x86_64
     fedora                                             Fedora 34 - x86_64
     fedora-cisco-openh264                              Fedora 34 openh264 (From Cisco) - x86_64
     fedora-modular                                     Fedora Modular 34 - x86_64
     protonvpn-fedora-stable                            ProtonVPN Fedora Stable repository
     rpmfusion-free                                     RPM Fusion for Fedora 34 - Free
     rpmfusion-free-updates                             RPM Fusion for Fedora 34 - Free - Updates
     rpmfusion-nonfree                                  RPM Fusion for Fedora 34 - Nonfree
     rpmfusion-nonfree-updates                          RPM Fusion for Fedora 34 - Nonfree - Updates
     sublime-text                                       Sublime Text - x86_64 - Stable
     updates                                            Fedora 34 - x86_64 - Updates
     updates-modular                                    Fedora Modular 34 - x86_64 - Updates
     
* DNF Extras (dnf -C list extras):
     ProtonVPN Fedora Stable repository              9.7 kB/s | 2.4 kB     00:00    
     Is this ok [y/N]: 
* Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20):
     xen-libs-4.14.3-2.fc34.x86_64                 sø. 17. okt. 2021 kl. 20.59 +0200
     vim-minimal-8.2.3512-1.fc34.x86_64            sø. 17. okt. 2021 kl. 20.59 +0200
     vim-enhanced-8.2.3512-1.fc34.x86_64           sø. 17. okt. 2021 kl. 20.59 +0200
     steam-1.0.0.72-1.fc34.i686                    sø. 17. okt. 2021 kl. 20.59 +0200
     spice-gtk3-0.39-3.fc34.x86_64                 sø. 17. okt. 2021 kl. 20.59 +0200
     python3-pyOpenSSL-21.0.0-1.fc34.noarch        sø. 17. okt. 2021 kl. 20.59 +0200
     openldap-devel-2.4.57-6.fc34.i686             sø. 17. okt. 2021 kl. 20.59 +0200
     openldap-2.4.57-6.fc34.x86_64                 sø. 17. okt. 2021 kl. 20.59 +0200
     mod_http2-1.15.24-1.fc34.x86_64               sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libxatracker-21.1.8-3.fc34.x86_64        sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libOSMesa-devel-21.1.8-3.fc34.i686       sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libOSMesa-21.1.8-3.fc34.x86_64           sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libOpenCL-devel-21.1.8-3.fc34.i686       sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libOpenCL-21.1.8-3.fc34.x86_64           sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libGL-devel-21.1.8-3.fc34.i686           sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libGL-21.1.8-3.fc34.x86_64               sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libEGL-devel-21.1.8-3.fc34.x86_64        sø. 17. okt. 2021 kl. 20.59 +0200
     mesa-libEGL-21.1.8-3.fc34.i686                sø. 17. okt. 2021 kl. 20.59 +0200
     mangohud-0.6.5-3.fc34.x86_64                  sø. 17. okt. 2021 kl. 20.59 +0200
     mangohud-0.6.5-3.fc34.i686                    sø. 17. okt. 2021 kl. 20.59 +0200
     
* EFI boot manager output (efibootmgr -v):
     BootCurrent: 0000
     Timeout: 1 seconds
     BootOrder: 0000
     Boot0000* Fedora	HD(1,GPT,69b573d8-41df-48db-9044-b6059f0002df,0x800,0x12c000)/File(\EFI\FEDORA\SHIMX64.EFI)
     

Gathering system info .............................

And, lastly:

$ coredumpctl list --since=today
TIME                           PID  UID  GID SIG     COREFILE EXE                SIZE
Sun 2021-10-17 20:57:57 CEST  2454 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.4M
Sun 2021-10-17 21:03:00 CEST  2411 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.4M
Sun 2021-10-17 21:03:24 CEST  4847 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.1M
Sun 2021-10-17 21:03:24 CEST  4848 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.1M
Sun 2021-10-17 21:38:16 CEST 13478 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.2M
Sun 2021-10-17 21:45:55 CEST 14701 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.2M
Sun 2021-10-17 21:45:57 CEST 14782 1000 1000 SIGSEGV present  /usr/bin/python3.9 1.4M

How about your logs?

https://docs.fedoraproject.org/en-US/quick-docs/viewing-logs/

especially just after something died?

1 Like

Sorry, but the other answer contained identifying info, so I deleted it.

$ journalctl -xe | grep abrt
okt. 18 13:38:11 mypc audit[11416]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=11416 comm="gnome-abrt" exe="/usr/bin/python3.9" sig=11 res=1
okt. 18 13:38:11 mypc kernel: gnome-abrt[11416]: segfault at 9e16f6c0 ip 00007f358d87879a sp 00007ffdbce5b940 error 4 in libgobject-2.0.so.0.6800.4[7f358d851000+30000]
okt. 18 13:38:11 mypc systemd-coredump[11418]: Process 11416 (gnome-abrt) of user 1000 dumped core.
░░ Subject: Process 11416 (gnome-abrt) dumped core
░░ Process 11416 (gnome-abrt) crashed and dumped core.
okt. 18 13:38:12 mypc abrt-server[11430]: Deleting problem directory ccpp-2021-10-18-13:38:11.853632-11416 (dup of ccpp-2021-10-14-09:21:57.519023-23667)
okt. 18 13:38:12 mypc abrt-notification[11489]: Process 23667 (python3.9) crashed in g_type_set_qdata()
░░ Documentation: man:abrt(1)
░░ Use the abrt command-line tool for further analysis or to report

This line (okt. 18 13:38:11 mypc kernel: gnome-abrt[11416]: segfault at 9e16f6c0 ip 00007f358d87879a sp 00007ffdbce5b940 error 4 in libgobject-2.0.so.0.6800.4[7f358d851000+30000]) looks interesting.

Just wanted to tell you that I have upgraded to the F35 beta, so I don’t need assistance any more. It’s just a couple of days away and I might as well help out in the testing :grinning_face_with_smiling_eyes:

1 Like

Is the issue no longer happening after the upgrade?

1 Like

Oddly, no. But I think it might have had something to do with Python or one/some of its dependencies. Really weird.

1 Like

Hrm, I think we need to see full errors now. The specifics about abrt etc. don’t tell us enough to be able to diagnose the general issue.

Have you tinkered with system files at all? pip installed bits with sudo and that type of thing?

It looks like he might have a ~/.local/lib/python3.9/site-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so on his system that is getting called somehow:

https://retrace.fedoraproject.org/faf/problems/bthash/?bth=233c54bb23ea5b93d73f72d2b9c1060ed697a13a&bth=08ceb216953fbe2d40a35daed14fde414fb594ae

2 Likes

That indicates a Python installation that’s interfering with system libraries.

@telometto : Do you have virtual environments and perhaps is one always enabled? Maybe using conda? Or maybe you just used pip to install bits but didn’t install them in a virtual environment, so the modules you installed are now conflicting with system versions?

You cannot run dnf etc. in a virtual environment if the virtual environment includes other versions of system libraries used by dnf, since dnf is built to work with particular system versions only.

1 Like

Yes, I have. The only thing I can’t recall is if I updated packages using escalated privileges, but I’m starting to think that it’s exactly what I’ve done :roll_eyes:

This is exactly what I’ve done. I didn’t know that you shouldn’t update them without using a venv

For future reference: how does one update Python packages the “proper” way? Or should I just leave them alone?

On a Fedora system, you’ll have “system packages” which go into /usr/ and need privileged access to install/remove/update. These are critical for the system to function, so it’s best to not tinker with these directly—always use dnf to work with these packages (and if at all possible limit your sources to the Fedora, RPM Fusion, and maybe COPR repositories).

You can install lots of python packages that we include in the repositories using dnf. Look for what you need here:

https://packages.fedoraproject.org/search?query=python

or run:

sudo dnf list python3\*

For any modules that are not packaged in the repositories, you can use pip and so on to install them as “user packages”, but then you should use a virtual environment for a number of reasons:

  • first, this ensures that you do not mix these with the system packages (which means they won’t affect other users either)
  • when you don’t need these, you can remove them without worrying about messing up your system.

Let’s see if we can fix your system though. To begin with, let’s see:

$ python -c 'import sys; print(sys.path)'

on my system, without any virtual environment, you’ll see that it just lists the system site packages:

$ python -c 'import sys; print(sys.path)'
['', '/usr/lib64/python310.zip', '/usr/lib64/python3.10', '/usr/lib64/python3.10/lib-dynload', '/usr/lib64/python3.10/site-packages', '/usr/lib/python3.10/site-packages']

What does your system say?

What did you install that has put files in ~/.local/lib/python3.9/site-packages/ (which I would expect to be in the path now)?

1 Like

I upgraded to F35 and now everything works just fine :sweat_smile: Thought I could help out in beta-testing… thanks anyway, though :blush:

I found this resource; is this what you mean with virtual environment? Or maybe there is another resource I can use to educate myself?

1 Like

That’s good. I’d still remove the ~/.local/lib/python3.9 etc. directories though. It’s probably only working because this is holding Python 3.9 modules while Fedora 35 now uses Python 3.10.

Yeh, that and the other page in the Python docs:

https://docs.python.org/3/library/venv.html?highlight=virtual%20environments

should be enough

1 Like