Subject: bug#46359: emacs-guix: segfault on all multiple-result searches

From: Christopher Howard <[email-masked]>
Date: Sun, 07 Feb 2021 02:46:37 -0900

I was thinking this or a similar issue was reported and fixed a few
weeks ago, but it is currently a problem as of a pull yesterday
evening:

To reproduce: Use any package regex search (in name only or in name,
synopsis, description) that you know will return more than one result.
E.g., M-x guix <RET> p N wget.

Result: Emacs crashes with segfault. If you launched emacs from the
terminal, you get a backtrace:

"""
christopher@nightshade ~$ emacs &
[3] 6685
christopher@nightshade ~$ Backtrace:
/home/christopher/.guix-profile/bin/emacs[0x50fe24]
/home/christopher/.guix-profile/bin/emacs[0x41f89c]
/home/christopher/.guix-profile/bin/emacs[0x50e65e]
/home/christopher/.guix-profile/bin/emacs[0x50e8b8]
/home/christopher/.guix-profile/bin/emacs[0x50e92c]
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-
2.31/lib/libpthread.so.0(+0x13010)[0x7ff3b46b0010]
/home/christopher/.guix-profile/bin/emacs[0x5cfbe8]
/home/christopher/.guix-profile/bin/emacs[0x58282d]
/home/christopher/.guix-profile/bin/emacs[0x5d1c37]
/home/christopher/.guix-profile/bin/emacs[0x5d22e9]
/home/christopher/.guix-profile/bin/emacs[0x5d268e]
/home/christopher/.guix-profile/bin/emacs[0x44fb6c]
/home/christopher/.guix-profile/bin/emacs[0x4537b9]
/home/christopher/.guix-profile/bin/emacs[0x453fca]
/home/christopher/.guix-profile/bin/emacs[0x4560c1]
/home/christopher/.guix-profile/bin/emacs[0x456286]
/home/christopher/.guix-profile/bin/emacs[0x46ea04]
/home/christopher/.guix-profile/bin/emacs[0x47322b]
/home/christopher/.guix-profile/bin/emacs[0x56a726]
/home/christopher/.guix-profile/bin/emacs[0x43fe8c]
/home/christopher/.guix-profile/bin/emacs[0x460008]
/home/christopher/.guix-profile/bin/emacs[0x5019cb]
/home/christopher/.guix-profile/bin/emacs[0x5040ed]
/home/christopher/.guix-profile/bin/emacs[0x50571e]
/home/christopher/.guix-profile/bin/emacs[0x56a68e]
/home/christopher/.guix-profile/bin/emacs[0x4f76cc]
/home/christopher/.guix-profile/bin/emacs[0x56a5fd]
/home/christopher/.guix-profile/bin/emacs[0x4f7674]
/home/christopher/.guix-profile/bin/emacs[0x4fc596]
/home/christopher/.guix-profile/bin/emacs[0x4fc8a4]
/home/christopher/.guix-profile/bin/emacs[0x421725]
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-
2.31/lib/libc.so.6(__libc_start_main+0xed)[0x7ff3b442da6d]
/home/christopher/.guix-profile/bin/emacs[0x4222ca]

[3]+  Segmentation fault      emacs
"""

My system info:
"""
christopher@nightshade ~$ neofetch --stdout
christopher@nightshade 
---------------------- 
OS: Guix System 8765b22c711f6e3c2f413cb84f97fbca137b7447 x86_64 
Host: GA-880GM-UD2H 
Kernel: 5.10.13-gnu 
Uptime: 7 hours, 5 mins 
Packages: 105 (guix-system), 87 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1200 
DE: GNOME 3.34.2 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: kitty 
CPU: AMD Athlon II X3 455 (3) @ 3.300GHz 
GPU: NVIDIA GeForce 8400 GS Rev. 3 
Memory: 2504MiB / 7959MiB 

christopher@nightshade ~$ guix describe
Generation 38	Feb 06 2021 12:04:05	(current)
  guix 8765b22
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 8765b22c711f6e3c2f413cb84f97fbca137b7447
"""

-- 
Christopher Howard
p: +1 (907) 374-0257 (no texting)
w: https://librehacker.com
social: https://gnusocial.club/librehacker
gpg: ADDEAADE5D607C8D (keys.gnupg.net)