(address . bug-guix@gnu.org)
I ran
$ guix system search ""
A minute later, my desktop froze. I did it again with htop running and
saw that memory usage climbed right up to the full 32GiB in my
(swapless) machine. Right as it reached that point, the freeze recurred.
I haven't tested but it seems likely this same issue would occur with
guix search and guix home search as well. The best fix I can think of
is to refuse to search for an empty string without --force.
I looked for the following on issues.guix and found no existing bug:
empty string
empty search
guix search
system search
home search
service search
package search
""
''
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEELAGoSzc6nHIdbhP+S8DcQuG8sXMFAmYQXA0ACgkQS8DcQuG8
sXOk9ggA3TVDCRVuBe6P6tkCTX1SThmcYzcNyhuZBqO5SzWr5gyYjjJGGCrvKG8B
IC0XiPitFV/E7/hO4UMiNv19YSVFE8bA6p3X6xgRtYi8JP3240b0fBiyxXpv5yMl
0NghtTmZva4khWeYEOU43Vq93TaF0vhVyhR5xaN4FyXd9lkKKRYJ8BZK7W1KIzbq
ijHLvJ/b32/AELJYJC2wIIarCjCg/mBbDSgdblwNc2XrUoRArwAyPs3aJnVcNPxt
DZzETphirgy14wH0HnqqxjNLyMwcMg+VY+VCpCj9Bh0WZtKjEXNzLi33vABowVya
Q5GNu0Eu4zI6X/70TuR2DOss7NrKIg==
=Jg8w
-----END PGP SIGNATURE-----