Public bug reported:
`snapper -c home cleanup help` segfaults, with or without root.
```
% gdb --args snapper -c home cleanup help
(gdb) r
(gdb) bt
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
#1 0x00007ffff766f948 in __printf_buffer (buf=buf@entry=0x7fffffffca20,
format=0x5555555b30d0 "Unknown cleanup algorithm '%s'.",
ap=0x7fffffffcb60, mode_flags=2) at
./stdio-common/vfprintf-process-arg.c:443
#2 0x00007ffff7696af9 in __vasprintf_internal (result=0x7fffffffcb58,
format=<optimised out>, args=<optimised out>,
mode_flags=<optimised out>) at ./libio/vasprintf.c:102
#3 0x00007ffff7f27583 in snapper::sformat[abi:cxx11](char const*, ...) () from
/usr/lib/x86_64-linux-gnu/libsnapper.so.7
#4 0x0000555555599d41 in snapper::command_cleanup (global_options=...,
get_opts=..., snappers=<optimised out>)
at /usr/src/snapper-0.10.6-1.3/client/cmd-cleanup.cc:265
#5 0x00005555555721c6 in main (argc=<optimised out>, argv=<optimised out>) at
/usr/src/snapper-0.10.6-1.3/client/snapper.cc:227
```
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: snapper 0.10.6-1.3
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: sway:wlroots
Date: Sat Oct 24 20:29:13 2026
InstallationDate: Installed on 2023-09-30 (1120 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Beta amd64 (20230919.1)
SourcePackage: snapper
UpgradeStatus: Upgraded to resolute on 2026-05-09 (168 days ago)
mtime.conffile..etc.default.snapper: 2026-10-19T14:03:01.198080
** Affects: snapper (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172137
Title:
`snapper -c home cleanup help` segfaults
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapper/+bug/2172137/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs