Package: apt
Version: 1.8.4
Severity: important
Running "apt upgrade" I got:
Segmentation fault (core dumped)
/var/log/messages reports:
Mar 9 10:03:48 laptop kernel: [ 3262.779582] apt[44617]: segfault at 0 ip
7f024bc54e6f sp 7ffcc6b28d40 error 4 in
libapt-pkg.so.5.0.2[7f024bbe4000+148000]
Mar 9 10:03:48 laptop kernel: [ 3262.779588] Code: 08 01 48 8d 35 1c b6 0d
00 4c 89 fa 48 8b 38 e8 a7 04 f9 ff 41 89 c4 84 c0 74 50 45 84 ed 74 21 48 8b
05 7c 7d 12 00 48 8b 38 <48> 8b 07 ff 10 41 89 c4 84 c0 0f 84 e3 00 00 00 48 8b
43 08 c6 00
Attached is the error output of "strace apt upgrade".
Note that the apt script ran by reportbug also failed, feel free to ask
for configuration files or other information if needed...
-- Package-specific info:
-- apt-config dump --
-- System Information:
Debian Release: bullseye/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt depends on:
ii adduser 3.118
ii debian-archive-keyring 2019.1
ii gpgv2.2.19-2
ii gpgv1 1.4.23-1+b1
ii gpgv2 2.2.19-2
ii libapt-pkg5.0 1.8.4
ii libc6 2.29-10
ii libgcc-s1 [libgcc1] 10-20200304-1
ii libgcc1 1:10-20200304-1
ii libgnutls30 3.6.12-2
ii libseccomp2 2.4.2-2
ii libstdc++6 10-20200304-1
Versions of packages apt recommends:
ii ca-certificates 20190110
Versions of packages apt suggests:
pn apt-doc
pn aptitude | synaptic | wajig
ii dpkg-dev 1.19.7
ii gnupg2.2.19-2
ii gnupg2 2.2.19-2
ii powermgmt-base 1.36
-- Configuration Files:
/etc/apt/apt.conf.d/01autoremove changed:
APT
{
NeverAutoRemove
{
"^firmware-linux.*";
"^linux-firmware$";
"^linux-image-[a-z0-9]*$";
"^linux-image-[a-z0-9]*-[a-z0-9]*$";
};
VersionedKernelPackages
{
# kernels
"linux-.*";
"kfreebsd-.*";
"gnumach-.*";
# (out-of-tree) modules
".*-modules";
".*-kernel";
};
Never-MarkAuto-Sections
{
"metapackages";
"contrib/metapackages";
"non-free/metapackages";
"restricted/metapackages";
"universe/metapackages";
"multiverse/metapackages";
};
Move-Autobit-Sections
{
"oldlibs";
"contrib/oldlibs";
"non-free/oldlibs";
"restricted/oldlibs";
"universe/oldlibs";
"multiverse/oldlibs";
};
};
-- no debconf information
--
Félix
execve("/bin/apt", ["apt", "upgrade"], 0x7fffe8f747c8 /* 60 vars */) = 0
brk(NULL) = 0x559cb0879000
access("/etc/ld.so.preload", R_OK) = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)= 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=179726, ...}) = 0
mmap(NULL, 179726, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8360d78000
close(3)= 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libapt-private.so.0.0",
O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\371\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=428120, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f8360d76000
mmap(NULL, 431520, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8360d0c000
mprotect(0x7f8360d1a000, 364544, PROT_NONE) = 0
mmap(0x7f8360d1a000, 299008, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f8360d1a000
mmap(0x7f8360d63000, 61440, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3,
0x57000) = 0x7f8360d63000
mmap(0x7f8360d73000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x66000) = 0x7f8360d73000
close(3)= 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libapt-pkg.so.6.0", O_RDONLY|O_CLOEXEC)
= 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\301\4\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1944888, ...}) = 0
mmap(NULL, 1949688, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8360b3
mmap(0x7f8360b77000, 1318912, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x47000) = 0x7f8360b77000
mmap(0x7f8360cb9000, 299008, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3,
0x189000) = 0x7f8360cb9000
mmap(0x7f8360d02000, 40960, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d1000) = 0x7f8360d02000
close(3)= 0
openat(