Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermitent but steady Seg. fault, 199MB core dumps #476

Open
peter-lyons-kehl opened this issue Dec 24, 2024 · 3 comments
Open

Intermitent but steady Seg. fault, 199MB core dumps #476

peter-lyons-kehl opened this issue Dec 24, 2024 · 3 comments

Comments

@peter-lyons-kehl
Copy link

peter-lyons-kehl commented Dec 24, 2024

Copying from https://forum.manjaro.org/t/add-remove-software-seg-fault-not-showing/172310:

5 years old x64 GNOME (X11) Manjaro, up-to-date, with many AUR packages installed with Add/Remove Software (but no package repository other than Official and AUR). No Flatpak/Snap, nothing very exotic.

Last week (around Dec 17, 2024) Add/Remove Software starting not to show up any window (when run from GNOME > Super key > list of apps).

When I run pamac-manager & in a terminal, I have repeatedly, but NOT consistently, received a segmentation fault error (with no real details). Now even that doesn’t show up. After starting that, for a while there are some processes:

ps aux | grep -i pamac
pkehl    1520009  111 16.9 2655424 1360124 pts/1 Il   11:07   0:15 pamac-manager
root     1520177  0.3  0.2 365688 16960 ?        Ssl  11:07   0:00 /usr/bin/pamac-daemon
pkehl    1520238  0.0  0.0   8920  2228 pts/1    S+   11:07   0:00 grep --colour=auto -i pamac

Then - but only occasionally, comes: [1]+ Segmentation fault (core dumped) pamac-manager.

The process root 1520177 0.0 0.2 365688 16960 ? Ssl 11:07 0:00 /usr/bin/pamac-daemon keeps being active - even after pamac-manager dumps the core.

If I then run pamac update -a, I get Transaction successfully finished. and the above daemon is ended.

pamac update -a seems to work, as does pacman. sudo pacman -Syu is up-to-date.

Same problem (or no obvious difference) with both 6.12.4-1 and 6.13.0rc2-1 kernel (as installed with pacman/pamac/Manjaro Settings Manager).

pamac-manager --version
Pamac  11.7.2-1

Surprisingly, running the following does show Add/Remove Software window, saying “Your system is up to date”:

pamac-manager --updates
MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers

But, if I then click at the leftmost tab “Browse”, MOST OF THE TIME, but NOT ALL THE TIME- says that Add/Remove Software is unresponsive, and Segmentation fault (core dumped) in terminal again.

But, VERY OCCASIONALLY “Browse” does show the packages.

Core dumps are around 199MB. Where/how can I upload/submit them?

ls -al /var/lib/systemd/coredump
total 2624688
drwxr-xr-x   2 root root    122880 Dec 23 11:14 .
drwxr-xr-x  12 root root      4096 Jul  2 23:52 ..
-rw-r-----+  1 root root 199414968 Dec 23 10:22 core.pamac-manager.2000.27eb6a43903f4acc881b50455f0c532a.1445968.1734978108000000.zst
-rw-r-----+  1 root root 199242374 Dec 23 10:33 core.pamac-manager.2000.27eb6a43903f4acc881b50455f0c532a.1452913.1734978779000000.zst
-rw-r-----+  1 root root 189417563 Dec 23 10:42 core.pamac-manager.2000.27eb6a43903f4acc881b50455f0c532a.1458080.1734979283000000.zst
.....

Or, how can I troubleshoot or get any relevant parts of reports/logs or the core dump that would be small enough to upload?

@peter-lyons-kehl
Copy link
Author

peter-lyons-kehl commented Dec 28, 2024

Anecdotal, but hopefully it will help you to narrow down/minimize: Right or early after a reboot, or not too later, and on 6.13.0-rc2-1-MANJARO #1 SMP PREEMPT_DYNAMIC Tue, 10 Dec 2024, Pamac still shows warnings:

MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers

For a while after a reboot, it does show a window, gets updates and installs them. But then it stops (with core dump/seg fault) again.

@peter-lyons-kehl
Copy link
Author

peter-lyons-kehl commented Jan 2, 2025

Related/Similar: https://forum.manjaro.org/t/stable-updates-2024-12-16-kernels-cinnamon-deepin-cosmic-mauikit-zfs/172003/58?u=peter-kehl

Basically, failing most of the time (but very occasionally succeeding). Many times there is NO error in the shell at all - the process just terminates:

❯ pamac-manager &
[1] 27411

When there are some errors, they vary:

  • Often segmentation fault
  • Sometimes:
✦ ❯ MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers

Assorted possibly related:

  • I have pamac-gtk 11.7.2-1, no pamac-gtk3
❯ sudo pacman --query pamac-gtk
[sudo] password for pkehl:       
pamac-gtk 11.7.2-1

~ via  v21.7.3 via 🦀 v1.85.0-nightly took 3s 
❯ sudo pacman --query pamac-gtk3
error: package 'pamac-gtk3' was not found
  • On current unstable/release candidate (non-realtime) kernel 6.13.0-rc2-1-MANJARO #1 SMP PREEMPT_DYNAMIC, just before seg fault was reported, in the same shell:
    Failed to register: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected

  • On current stable (non-realtime) kernel 6.12.4-1-MANJARO #1 SMP PREEMPT_DYNAMIC
    with all GNOME extensions turned off (via "Extensions" application):

MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers

--- and then Pamac DOES start.

It SEEMS that current stable kernel 6.12.4-1-MANJARO is better/more likely to run Pamac than 6.13.0-rc2-1-MANJARO.

If pamac-manager & does run, it's

  • only soon after a reboot (not just GNOME log out & log in)
  • more likely if all GNOME shell extensions are turned off (via "Extensions" application). However, even if I have GNOME extensions turned on, I have the "Official" extension "Pamac Updates Indicator" turned off, so I don't think there is any parallel/process conflict/race condition.

It seems that pamac-manager --with-any-acceptable-parameter & runs much more reliably than just pamac-manager &, though still showing:

MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../mesa-24.2.8/src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers
  • Suprisingly, even after I've installed trizen with yay, trizen is NOT shown by pamac-manager --search=trizen.

@D33M0N
Copy link

D33M0N commented Jan 12, 2025

Crashed for me also a lot, like 75% of times. Replaced pamac-gtk3 with pamac-gtk ... worked for a while. Now started crashing again left and right 100% with also ca 200MB coredumps. ... decided, eff it. Built from scratch from the source. Now working... at least for now.

yay -S vala
cd git
git clone https://github.com/manjaro/pamac.git
cd pamac
mkdir builddir && cd builddir
meson setup --prefix=/usr --sysconfdir=/etc --buildtype=release
meson compile
sudo meson install
pamac-manager

...worksed a little...

...now crashing again 🤣 just hopeless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants