Partial update? Btrfs-assistant broken?

Hey all,

So earlier today I updated my system as usual (yay) and shut it down.

Now, I just booted up and tried to launch my default terminal (ptyxis) but nothing happened. Running it via another terminal gives me this:

ptyxis: error while loading shared libraries: libicuuc.so.74: cannot open shared object file: No such file or directory

Ok, weird. Did a quick DDG search and checked this forum. Apparently this error often happens due to partial updates? Odd, since the update I ran earlier completed fully before I switched off.

(edit: So I refreshed my mirror lists for both Arch and Endeavour and then ran pacman -Syu, which did nothing at all.)

Then I tried to launch btrfs-assistant to roll back to a pre-update snapshot, but I got this error message:

Warning: No translations available /usr/bin/btrfs-assistant: line 46: 3738 Segmentation fault (core dumped) btrfs-assistant-bin ${params}

Very weird. I even managed to run a btrfs rollback using btrfs subvolume set-default XXXX /, which apparently completed but the app error messages above still persist!

I am totally lost now, so any advice would be most welcome :pray:

I checked out that package and it looks like ptyxis is an aur packages. As you are probably aware, the aur is a third party repo that a lot of use because it is useful. However it is not maintained by the arch nor endeavouros maintainers.

This means that if depends on things in the official repos which are maintained by arch and / or endeavouros. Then it must be manually rebuilt against those newer dependencies. This happens often with python applications which from the brief look that I took of ptyxis, it does use python in some way.

TLDR:
either you need to manually rebuild the package or if the aur maintainer is nice enough. They can bump the pkgrel and force a rebuild for everyone.

P.S: I installed the package myself to make sure that it works with a clean build and it ran fine.

1 Like

icu just updated to 75.1-1, so you need to rebuild ptyxis against the newer version of icu.
Your hint was the outdated version of the libicuuc.so.74 library that your current build of ptyxis was expecting to find.

1 Like

@eznix @d-air1

Makes sense. Much obliged.

What do you make of the btrfs-assistant segmentation fault, incidentally? Is this likely to be related, or is it a separate issue entirely?

btrfs-assistant depends on qt6-base and that just updated today. Maybe btrfs-assistant needs to be rebuilt as well?

Possibly, but for that one. You can contact the endeavouros developers since I believe that is one of their packages. I don’t use btrfs personally and just use borg to backup and restore when needed.

It looks like btrfs-assistant was just updated: Last Updated: 2024-05-19 22:56 (UTC)
I don’t use btrfs as well. Ext4 and external backups are all I ever use. :slight_smile:

2 Likes

That is not how you restore a subvolume.

There was an issue that impacted people running wlroots-based WMs like sway/hyprland/etc. It was fixed yesterday. Try updating.

What’s the best way to manually select a snapshot and rollback a snapshot? I only did what I found suggested online. Never mind. I realized I had to use snapper.

Already have. Refreshed mirrors and fully updated. Btrfs-assistant still crashes. I’m on Gnome.

Can you share the full output from these commands:

btrfs-assistant-bin --version
btrfs-assistant-launcher

❯ btrfs-assistant-bin --version
Warning: No translations available
Btrfs Assistant 2.1.1

❯ btrfs-assistant-launcher
qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
Check your DBus installation.
Warning: No translations available
/usr/bin/btrfs-assistant: line 46: 4313 Segmentation fault (core dumped) btrfs-assistant-bin ${params}

@dalto

Digging a little further, it seems the issue could be related to QT6. In the coredump output below, it seems to reference QAdwaitaDecorations, which I am forcing via an environment variable.

sudo coredumpctl info 11592
           PID: 11592 (btrfs-assistant)
           UID: 1000 (hugh)
           GID: 1001 (hugh)
        Signal: 11 (SEGV)
     Timestamp: Mon 2024-05-20 16:41:46 PDT (2min 52s ago)
  Command Line: btrfs-assistant-bin
    Executable: /usr/bin/btrfs-assistant-bin
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-dbus\x2d:1.2\x2dorg.gnome.Console.slice/vte-spawn-e0e2ce7e-bb07-4>
          Unit: user@1000.service
     User Unit: vte-spawn-e0e2ce7e-bb07-4e31-9d74-281d9e3c2502.scope
         Slice: user-1000.slice
     Owner UID: 1000 (hugh)
       Boot ID: 1e15f81088be4b80b22bf7c2c92c81e4
    Machine ID: e88bb0774f0e44219c12df761c15450f
      Hostname: endeavour
       Storage: /var/lib/systemd/coredump/core.btrfs-assistant.1000.1e15f81088be4b80b22bf7c2c92c81e4.11592.1716248506000000.zst (present)
  Size on Disk: 2.7M
       Message: Process 11592 (btrfs-assistant) of user 1000 dumped core.
                
                Stack trace of thread 11592:QAdwaitaDecorations
                #0  0x000073b94802f3aa _ZN19QAdwaitaDecorations12forceRepaintEv (libqadwaitadecorations.so + 0x113aa)
                #1  0x000073b948033cc6 _ZN19QAdwaitaDecorations17initConfigurationEv (libqadwaitadecorations.so + 0x15cc6)
                #2  0x000073b954d8c8a6 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x18c8a6)
                #3  0x000073b955efc4dc _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfc4dc)
                #4  0x000073b954d45678 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x145678)
                #5  0x000073b954d45a3b _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x145a3b)
                #6  0x000073b954fa45dc n/a (libQt6Core.so.6 + 0x3a45dc)
                #7  0x000073b95470ea89 n/a (libglib-2.0.so.0 + 0x5ca89)
                #8  0x000073b9547709b7 n/a (libglib-2.0.so.0 + 0xbe9b7)
                #9  0x000073b95470df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                #10 0x000073b954fa28ad _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 +>
                #11 0x000073b954d4f94e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f94e)
                #12 0x000073b956167694 _ZN7QDialog4execEv (libQt6Widgets.so.6 + 0x367694)
                #13 0x000073b9561a23c9 n/a (libQt6Widgets.so.6 + 0x3a23c9)
                #14 0x00005b3d28a1cb4e _ZN10MainWindow12displayErrorERK7QString (btrfs-assistant-bin + 0x29b4e)
                #15 0x00005b3d28a0e8d4 _ZN10MainWindowC4EP5BtrfsP16BtrfsMaintenanceP7SnapperP7QWidget (btrfs-assistant-bin + 0x1b8d4)
                #16 0x000073b955239c88 n/a (libc.so.6 + 0x25c88)
                #17 0x000073b955239d4c __libc_start_main (libc.so.6 + 0x25d4c)
                #18 0x00005b3d28a0f1b5 _start (btrfs-assistant-bin + 0x1c1b5)
                
                Stack trace of thread 11604:
                #0  0x000073b95531c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000073b9547708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000073b95470df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                #3  0x000073b954fa28ad _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 +>
                #4  0x000073b954d4f94e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f94e)
                #5  0x000073b954e3afa0 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23afa0)
                #6  0x000073b955c8adfe n/a (libQt6DBus.so.6 + 0x2ddfe)
                #7  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #8  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #9  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11609:
                #0  0x000073b95531c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000073b9547708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000073b95470df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                #3  0x000073b951911fde n/a (libdconfsettings.so + 0x5fde)
                #4  0x000073b95473e236 n/a (libglib-2.0.so.0 + 0x8c236)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11605:
                #0  0x000073b955327e9d syscall (libc.so.6 + 0x113e9d)
                #1  0x000073b9547699e0 g_cond_wait (libglib-2.0.so.0 + 0xb79e0)
                #2  0x000073b9546d78dc n/a (libglib-2.0.so.0 + 0x258dc)
                #3  0x000073b954743687 n/a (libglib-2.0.so.0 + 0x91687)
                #4  0x000073b95473e236 n/a (libglib-2.0.so.0 + 0x8c236)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11615:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x000073b954eceae8 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ceae8)
                #3  0x000073b954ec8b12 n/a (libQt6Core.so.6 + 0x2c8b12)
                #4  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11606:
                #0  0x000073b95531c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000073b9547708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000073b95470df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                #3  0x000073b95470dfea n/a (libglib-2.0.so.0 + 0x5bfea)
                #4  0x000073b95473e236 n/a (libglib-2.0.so.0 + 0x8c236)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11611:
                #0  0x000073b95531c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000073b951995ce8 n/a (libQt6WaylandClient.so.6 + 0x64ce8)
                #2  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #3  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #4  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11607:
                #0  0x000073b955327e9d syscall (libc.so.6 + 0x113e9d)
                #1  0x000073b95476a337 g_cond_wait_until (libglib-2.0.so.0 + 0xb8337)
                #2  0x000073b9546d78a5 n/a (libglib-2.0.so.0 + 0x258a5)
                #3  0x000073b95474424b n/a (libglib-2.0.so.0 + 0x9224b)
                #4  0x000073b95473e236 n/a (libglib-2.0.so.0 + 0x8c236)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11608:
                #0  0x000073b95531c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000073b9547708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                #2  0x000073b95470f787 g_main_loop_run (libglib-2.0.so.0 + 0x5d787)
                #3  0x000073b9503af4b4 n/a (libgio-2.0.so.0 + 0x1124b4)
                #4  0x000073b95473e236 n/a (libglib-2.0.so.0 + 0x8c236)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11620:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000073b915e9891e n/a (radeonsi_dri.so + 0x9891e)
                #3  0x000073b915e766cc n/a (radeonsi_dri.so + 0x766cc)
                #4  0x000073b915e9884d n/a (radeonsi_dri.so + 0x9884d)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11617:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000073b915e9891e n/a (radeonsi_dri.so + 0x9891e)
                #3  0x000073b915e766cc n/a (radeonsi_dri.so + 0x766cc)
                #4  0x000073b915e9884d n/a (radeonsi_dri.so + 0x9884d)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11614:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x000073b954eceae8 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ceae8)
                #3  0x000073b954ec8b12 n/a (libQt6Core.so.6 + 0x2c8b12)
                #4  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11619:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000073b915e9891e n/a (radeonsi_dri.so + 0x9891e)
                #3  0x000073b915e766cc n/a (radeonsi_dri.so + 0x766cc)
                #4  0x000073b915e9884d n/a (radeonsi_dri.so + 0x9884d)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11618:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000073b915e9891e n/a (radeonsi_dri.so + 0x9891e)
                #3  0x000073b915e766cc n/a (radeonsi_dri.so + 0x766cc)
                #4  0x000073b915e9884d n/a (radeonsi_dri.so + 0x9884d)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11621:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000073b915e9891e n/a (radeonsi_dri.so + 0x9891e)
                #3  0x000073b915e766cc n/a (radeonsi_dri.so + 0x766cc)
                #4  0x000073b915e9884d n/a (radeonsi_dri.so + 0x9884d)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11610:
                #0  0x000073b955327e9d syscall (libc.so.6 + 0x113e9d)
                #1  0x000073b9547699e0 g_cond_wait (libglib-2.0.so.0 + 0xb79e0)
                #2  0x000073b9546d78dc n/a (libglib-2.0.so.0 + 0x258dc)
                #3  0x000073b9546d794d g_async_queue_pop (libglib-2.0.so.0 + 0x2594d)
                #4  0x000073b9500fbc48 n/a (libpangoft2-1.0.so.0 + 0x9c48)
                #5  0x000073b95473e236 n/a (libglib-2.0.so.0 + 0x8c236)
                #6  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #7  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11622:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x000073b915e9891e n/a (radeonsi_dri.so + 0x9891e)
                #3  0x000073b915e766cc n/a (radeonsi_dri.so + 0x766cc)
                #4  0x000073b915e9884d n/a (radeonsi_dri.so + 0x9884d)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11612:
                #0  0x000073b95531c39d __poll (libc.so.6 + 0x10839d)
                #1  0x000073b951995ce8 n/a (libQt6WaylandClient.so.6 + 0x64ce8)
                #2  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #3  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #4  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11613:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x000073b954eceae8 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ceae8)
                #3  0x000073b954ec8b12 n/a (libQt6Core.so.6 + 0x2c8b12)
                #4  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 11616:
                #0  0x000073b9552a34e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x000073b9552a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x000073b954eceae8 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ceae8)
                #3  0x000073b954ec8b12 n/a (libQt6Core.so.6 + 0x2c8b12)
                #4  0x000073b954eca037 n/a (libQt6Core.so.6 + 0x2ca037)
                #5  0x000073b9552a6ded n/a (libc.so.6 + 0x92ded)
                #6  0x000073b95532a0dc n/a (libc.so.6 + 0x1160dc)
                ELF object binary architecture: AMD x86-64

However, when commenting out QT_WAYLAND_DECORATION=adwaita, or forcing btrfs-assistant to run with Qt, it still crashes:

❯ QT_STYLE_OVERRIDE=Fusion btrfs-assistant-launcher
qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
Check your DBus installation.
Warning: No translations available
/usr/bin/btrfs-assistant: line 46: 13485 Segmentation fault (core dumped) btrfs-assistant-bin ${params}

I cannot reproduce the problem in Gnome on VM. Something is wrong with your system.

What is an output of sha256sum /usr/bin/btrfs-assistant-bin ?

1 Like

I get

26d5e80e25e89cd67edf2f5d27b8e3f48e183eb7648d35f01ec83209fa92fcac /usr/bin/btrfs-assistant-bin

I can reproduce it. I know what the issue is, the obvious fix will break something else though so I will have to do some experimentation.

@kabe, in the meantime, you could try sudo -E btrfs-assistant-bin as a workaround.

Thanks for the suggestion, but I still get

qt.qpa.theme.dbus: Session DBus not running. qt.qpa.theme.dbus: Application will not react to setting changes. Check your DBus installation. Warning: No translations available zsh: segmentation fault sudo -E btrfs-assistant-bin

It’s ok, I’ll wait for the fix.

If that doesn’t work, there probably is something wrong with your Qt setup.

Ok, how would I diagnose that? Aside from environment variables, I’m not sure what else could be getting in the way.

Partial update?

Another last attempt: If you are using paru, try to run paru -S --rebuild btrfs-assistant if it fixes the issue. yay -S --rebuild btrfs-assistant does the same.

Can we see the output of:

env | grep -i qt
pacman -Q | grep -i qt