Discussion:
Bug#980035: aptitude: segmentation fault when starting aptitude
Add Reply
Vincent Lefevre
2021-01-13 09:40:02 UTC
Reply
Permalink
Package: aptitude
Version: 0.8.13-2+b1
Severity: grave
Justification: renders package unusable
Tags: security

I got a first "segmentation fault" just after updating ('u' in the TUI).
Now, each time I run aptitude, a segmentation occurs one second after
starting it.

I suppose that it doesn't like some data that have been fetched.
Tagging security for this reason.

The backtrace:

(gdb) bt
#0 0x00007f4149ad4f1c in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#1 0x00007f4149ad64c4 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#2 0x00007f4149ad87f6 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#3 0x00007f4149ab96bd in pkgDebianIndexFile::Merge(pkgCacheGenerator&, OpProgress*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#4 0x00007f4149ad33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#5 0x00007f4149ad9c30 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#6 0x00007f4149adbd05 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0
#7 0x00005579892393ff in ?? ()
#8 0x0000557989242c83 in ?? ()
#9 0x00005579890dc9f6 in ?? ()
#10 0x00007f4148f5cd0a in __libc_start_main (main=0x5579890daae0, argc=1, argv=0x7fffbe441bf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbe441be8) at ../csu/libc-start.c:308
#11 0x00005579890e5f2a in ?? ()

However, if I run "strace -f -o str.out aptitude", I don't always
get a segmentation fault. So there may be another reason.

It may be a bug in libapt-pkg6.0, or perhaps a change in the upgrade
to apt 2.1.17 triggered an existing issue in aptitude.

Here's the end of the str.out file when "strace -f -o str.out aptitude"
crashed:

2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.xz", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.bz2", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.lzma", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.gz", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.lz4", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.zst", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages.uncompressed", 0x7ffdb54ba240) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_binary-all_Packages", 0x7ffdb54ba330) = -1 ENOENT (No such file or directory)
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", O_RDONLY) = 3
2237416 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
2237416 fstat(3, {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 close(3) = 0
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 write(1, "\33[106;246H", 10) = 10
2237416 write(1, "\33(B\33[0;1m\33[37m\33[44m1\33[39;49m\33(B\33"..., 34) = 34
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", O_RDONLY) = 3
2237416 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
2237416 read(3, "Package: libcaf-core0.18\nDescrip"..., 32771) = 32771
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 write(1, "\33[H", 3) = 3
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_experimental_main_i18n_Translation-en", O_RDONLY) = 4
2237416 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
2237416 fstat(4, {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 close(4) = 0
2237416 fstat(3, {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 fstat(3, {st_mode=S_IFREG|0644, st_size=1187463, ...}) = 0
2237416 read(3, "5attica-doc\nDescription-md5: db6"..., 32757) = 32757
2237416 read(3, "elated processes together\n with "..., 32298) = 32298
2237416 read(3, "ilable are: low/high pass filter"..., 32531) = 32531
2237416 read(3, "eve;\n - mail users without logi"..., 32310) = 32310
2237416 read(3, " file system. They are the main "..., 32563) = 32563
2237416 read(3, "4c54bac8e1eca97a6eb9a7\nDescripti"..., 32728) = 32728
2237416 read(3, "gets the REAL(16) type in the GN"..., 32486) = 32486
2237416 read(3, "his is the GNU Objective-C++ com"..., 32612) = 32612
2237416 read(3, "5441936718b11f39\nDescription-en:"..., 32704) = 32704
2237416 read(3, " This package contains files for"..., 32371) = 32371
2237416 read(3, "entation)\n Git is popular versio"..., 32630) = 32630
2237416 read(3, "er's root filesystem as a\n f"..., 32087) = 32087
2237416 read(3, "y\n with debug extensions.\n\nPacka"..., 31573) = 31573
2237416 read(3, "l image processing and graphics,"..., 32498) = 32498
2237416 read(3, "des an advanced configuration sy"..., 32603) = 32603
2237416 read(3, "ns additional widgets for ItemMo"..., 32599) = 32599
2237416 read(3, "iblensfun2\nDescription-md5: 9b24"..., 32761) = 32761
2237416 read(3, "n\n be integrated with, or used a"..., 32577) = 32577
2237416 read(3, "uage using the locales system.\n "..., 32239) = 32239
2237416 read(3, " interface language using the lo"..., 32260) = 32260
2237416 read(3, "languages, you can\n install extr"..., 31936) = 31936
2237416 read(3, "component model\n of LibreOffice,"..., 32549) = 32549
2237416 read(3, "I compatibility with gcc's libst"..., 32420) = 32420
2237416 read(3, "e (CW) source.\n * \316\265/\316\274 and fi"..., 31529) = 31529
2237416 read(3, "a highly flexible and powerful s"..., 32628) = 32628
2237416 read(3, "-md5: c4d7dbc29b7ab0bd870c15daec"..., 32732) = 32732
2237416 read(3, "widget toolkit as a test platfor"..., 32412) = 32412
2237416 read(3, "he data scheme as defined in\n "..., 32553) = 32553
2237416 read(3, "IT infrastructure, then automati"..., 32567) = 32567
2237416 read(3, "ault version)\n Ruby is the inter"..., 32629) = 32629
2237416 read(3, "gs\n are possible, even if not ea"..., 32355) = 32355
2237416 read(3, "ybrid systems and to\n enhance st"..., 31185) = 31185
2237416 read(3, "igBundle integrates Twig with th"..., 32601) = 32601
2237416 read(3, "n of Thunderbird in Indonesian.\n"..., 32403) = 32403
2237416 read(3, "t loaders for various imx platfo"..., 32349) = 32349
2237416 read(3, "nd\n custom schemes;\n * wirel"..., 32289) = 20657
2237416 read(3, "", 11632) = 0
2237416 close(3) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_InRelease", {st_mode=S_IFREG|0644, st_size=43910, ...}) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_InRelease", {st_mode=S_IFREG|0644, st_size=43910, ...}) = 0
2237416 stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=73728, ...}) = 0
2237416 geteuid() = 1000
2237416 faccessat(AT_FDCWD, "/tmp", R_OK|W_OK|X_OK) = 0
2237416 openat(AT_FDCWD, "/tmp", O_RDWR|O_EXCL|O_CLOEXEC|O_TMPFILE, 0600) = 3
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_InRelease", O_RDONLY) = 4
2237416 fstat(4, {st_mode=S_IFREG|0644, st_size=43910, ...}) = 0
2237416 read(4, "-----BEGIN PGP SIGNED MESSAGE---"..., 4096) = 4096
2237416 read(4, "0ef69c17f6b1b4cd7664a037ec "..., 4096) = 4096
2237416 write(3, "Origin: Debian\nLabel: Debian deb"..., 4096) = 4096
2237416 read(4, "nary-i386/Packages.xz\n 8972c8210"..., 4096) = 4096
2237416 write(3, "nts-udeb-amd64.gz\n e3b0c44298fc1"..., 4096) = 4096
2237416 read(4, "49afbf4c8996fb92427ae41e4649b934"..., 4096) = 4096
2237416 write(3, "e02ba1fd4eaaeda5897c37b75b4fb4a6"..., 4096) = 4096
2237416 read(4, "a47fdabfe04c1d4cba52b3cae650ad48"..., 4096) = 4096
2237416 write(3, " 0 contrib/debian-install"..., 4096) = 4096
2237416 read(4, "32452515e7fde1e779e52b586faca1d3"..., 4096) = 4096
2237416 write(3, "0f82e8f73d5e 23143 main/Conte"..., 4096) = 4096
2237416 read(4, "6fb92427ae41e4649b934ca495991b78"..., 4096) = 4096
2237416 write(3, "binary-arm64/Packages\n 775f69fdf"..., 4096) = 4096
2237416 read(4, "fbf4c8996fb92427ae41e4649b934ca4"..., 4096) = 4096
2237416 write(3, "ain/debian-installer/binary-arm6"..., 4096) = 4096
2237416 read(4, "1e4649b934ca495991b7852b855 "..., 4096) = 4096
2237416 write(3, " 0 non-free/Contents-arm64\n "..., 4096) = 4096
2237416 read(4, "\n ef565338dbc0381274dbf9b6e1e50b"..., 4096) = 4096
2237416 write(3, "tents-udeb-mips64el\n f61f27bd17d"..., 4096) = 4096
2237416 read(4, "d0039505328a90b2ff48968db873e9e7"..., 4096) = 2950
2237416 write(3, "87983fcbd58efbe9c 121 non-f"..., 4096) = 4096
2237416 read(4, "", 4096) = 0
2237416 write(3, "79275 32 non-free/debian-i"..., 1299) = 1299
2237416 close(4) = 0
2237416 lseek(3, 0, SEEK_SET) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_InRelease", {st_mode=S_IFREG|0644, st_size=43910, ...}) = 0
2237416 fstat(3, {st_mode=S_IFREG|0600, st_size=42259, ...}) = 0
2237416 read(3, "Origin: Debian\nLabel: Debian deb"..., 42262) = 42259
2237416 read(3, "", 3) = 0
2237416 close(3) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", O_RDONLY) = 3
2237416 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
2237416 fstat(3, {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 close(3) = 0
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", O_RDONLY) = 3
2237416 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
2237416 read(3, "Package: 0ad-dbgsym\nSource: 0ad "..., 32771) = 32771
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, 8) = 0
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 poll([{fd=0, events=POLLIN}], 1, 0) = 0 (Timeout)
2237416 rt_sigaction(SIGTSTP, {sa_handler=0x7fc6f0772ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6f0289140}, NULL, 8) = 0
2237416 stat("/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 openat(AT_FDCWD, "/var/lib/apt/lists/debug.mirrors.debian.org_debian-debug_dists_unstable-debug_main_binary-amd64_Packages", O_RDONLY) = 4
2237416 fcntl(4, F_SETFD, FD_CLOEXEC) = 0
2237416 fstat(4, {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 close(4) = 0
2237416 fstat(3, {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 fstat(3, {st_mode=S_IFREG|0644, st_size=13672027, ...}) = 0
2237416 read(3, "Multi-Arch: same\nAuto-Built-Pack"..., 32517) = 32517
2237416 read(3, "08a38a47be09f3311d1950d\n\nPackage"..., 31868) = 31868
2237416 read(3, "e ce9ccc83d9b326d2f0d37c7c49aeb6"..., 31981) = 31981
2237416 read(3, "chitecture: amd64\nDepends: libkf"..., 32580) = 32580
2237416 read(3, "2.24+dfsg1-1\nInstalled-Size: 422"..., 32725) = 32725
2237416 read(3, "a06cb945e4f7ecfa443634336b10171c"..., 32473) = 32473
2237416 read(3, "8340c21a1cea\n\nPackage: android-l"..., 32171) = 32171
2237416 read(3, "ion: debug\nPriority: optional\nFi"..., 32355) = 32355
2237416 read(3, "6e00ebaf9\nDescription-md5: 89a0f"..., 32336) = 32336
2237416 read(3, "ces: libaprutil1-dbg (<= 1.6.1-3"..., 32593) = 32593
2237416 read(3, " optional\nFilename: pool/main/a/"..., 32365) = 32365
2237416 read(3, ".9.28+dfsg-3\nInstalled-Size: 417"..., 32725) = 32725
2237416 read(3, "Built-Package: debug-symbols\nBui"..., 32402) = 32402
2237416 read(3, "218a46e43b 972e5ea7af7e4c495c3e1"..., 25626) = 25626
2237416 read(3, "tr/libattr1-dbgsym_2.4.48-6_amd6"..., 32343) = 32343
2237416 read(3, "27bb7b432edcd7c20f1b6aa34\nSectio"..., 32442) = 32442
2237416 read(3, "bc74921f756a27c9d0\nDescription-m"..., 32439) = 32439
2237416 read(3, "main/b/ballerburg/ballerburg-dbg"..., 32337) = 32337
2237416 read(3, "n: 2.3.3+dfsg-1.1\nInstalled-Size"..., 32725) = 32725
2237416 read(3, "HA256: 03ab4ae71a72208e5c46ec9d2"..., 32131) = 32131
2237416 read(3, "HA256: f071a578b1674b2ee4a255422"..., 32228) = 32228
2237416 read(3, "n-med-***@lists.alioth.deb"..., 32644) = 32644
2237416 read(3, "\nPackage: libblis64-3-pthread-db"..., 32095) = 32095
2237416 read(3, "-4\nInstalled-Size: 85\nMaintainer"..., 32713) = 32713
2237416 read(3, "4e3aed2fa2a8c295b42e0c0330cd1158"..., 32027) = 32027
2237416 read(3, "1f085134ef5b12d66b9770e59e0\n\nPac"..., 32273) = 32273
2237416 read(3, "71bb\n\nPackage: brickos-dbgsym\nSo"..., 32171) = 32171
2237416 read(3, "\nInstalled-Size: 5451\nMaintainer"..., 32698) = 32698
2237416 read(3, "47\nDescription-md5: ffbdf5563d9e"..., 32430) = 32430
2237416 read(3, ": Debian Cairo-dock Maintainers "..., 32651) = 32651
2237416 read(3, "ock-toons-plug-in-dbgsym_3.4.1+g"..., 32194) = 32194
2237416 read(3, "e50fc315157b22516 6df5cd9153983b"..., 32020) = 32020
2237416 read(3, "cantor-backend-sage\nAuto-Built-P"..., 32504) = 32504
2237416 read(3, "ize: 51628\nSHA256: cc2bfe60868aa"..., 32272) = 32272
2237416 read(3, ")\nDescription: Debug symbols for"..., 32578) = 32578
2237416 read(3, "435ee593b8d450918cbd43b0e64806bc"..., 30994) = 30994
2237416 read(3, "e: 37\nMaintainer: Alvin Chen <so"..., 32702) = 32702
2237416 read(3, "6c1418a893d5bc57289e c6f58567e25"..., 31123) = 31123
2237416 read(3, "aa3a898584ace5ec7b02af51 3cac1c0"..., 32121) = 32121
2237416 read(3, "amd64.deb\nSize: 57772\nSHA256: 2a"..., 32237) = 32237
2237416 read(3, "06c8\nSection: debug\nPriority: op"..., 32288) = 32288
2237416 read(3, "c4368\nSection: debug\nPriority: o"..., 32342) = 32342
2237416 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324
2237416 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604
2237416 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336
2237416 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767
2237416 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237
2237416 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391
2237416 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481
2237416 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449
2237416 mremap(0x7fc6dc600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7fc6d4500000
2237416 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fc6dffef750} ---
2237416 write(1, "\33[?1006;1000l", 13) = 13
2237416 write(1, "\33[106;1H\33[?12l\33[?25h", 20) = 20
2237416 write(1, "\33[?1049l\33[23;0;0t\r\33[?1l\33>", 25) = 25
2237416 ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
2237416 ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
2237416 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
2237416 write(2, "Ouch! Got SIGSEGV, dying..\n", 28) = 28
2237416 rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[SEGV], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6efdbed60}, {sa_handler=0x7fc6f069fcb0, sa_mask=[SEGV], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc6efdbed60}, 8) = 0
2237416 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [SEGV WINCH], 8) = 0
2237416 getpid() = 2237416
2237416 gettid() = 2237416
2237416 tgkill(2237416, 2237416, SIGSEGV) = 0
2237416 rt_sigprocmask(SIG_SETMASK, [SEGV WINCH], NULL, 8) = 0
2237416 rt_sigreturn({mask=[WINCH]}) = 60806594
2237416 --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_TKILL, si_pid=2237416, si_uid=1000} ---
2237418 <... rt_sigtimedwait resumed> <unfinished ...>) = ?
2237417 <... select resumed> <unfinished ...>) = ?
2237419 <... futex resumed>) = ?
2237419 +++ killed by SIGSEGV (core dumped) +++
2237418 +++ killed by SIGSEGV (core dumped) +++
2237417 +++ killed by SIGSEGV (core dumped) +++
2237416 +++ killed by SIGSEGV (core dumped) +++

-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.13
Compiler: g++ 10.2.1 20201207
Compiled against:
apt version 6.0.0
NCurses version 6.2
libsigc++ version: 2.10.4
Gtk+ support disabled.
Qt support disabled.

Current library versions:
NCurses version: ncurses 6.2.20201114
cwidget version: 0.5.18
Apt version: 6.0.0

aptitude linkage:
linux-vdso.so.1 (0x00007ffcf9ffc000)
libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f3f91f0e000)
libapt-pkg.so.6.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f3f91cfd000)
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f3f91cc2000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f3f91c93000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f3f91c8a000)
libcwidget.so.4 => /usr/lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f3f91b84000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f3f91a3f000)
libboost_iostreams.so.1.74.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.74.0 (0x00007f3f91a26000)
libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f3f91804000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3f917e2000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3f91615000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3f914d1000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3f914b5000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3f912f0000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3f912ea000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f3f912d0000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3f912b3000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f3f912a0000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f3f91276000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f3f91253000)
libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f3f91178000)
libudev.so.1 => /usr/lib/x86_64-linux-gnu/libudev.so.1 (0x00007f3f91150000)
libsystemd.so.0 => /usr/lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f3f9109b000)
libgcrypt.so.20 => /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f3f90f7b000)
libxxhash.so.0 => /usr/lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f3f90f60000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3f92356000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3f90f55000)
libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f3f90f4c000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f3f90f26000)

-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii aptitude-common 0.8.13-2
ii libapt-pkg6.0 2.1.17
ii libboost-iostreams1.74.0 1.74.0-7
ii libc6 2.31-9
ii libcwidget4 0.5.18-5
ii libgcc-s1 10.2.1-6
ii libncursesw6 6.2+20201114-2
ii libsigc++-2.0-0v5 2.10.4-2
ii libsqlite3-0 3.34.0-1
ii libstdc++6 10.2.1-6
ii libtinfo6 6.2+20201114-2
ii libxapian30 1.4.17-1

Versions of packages aptitude recommends:
ii libdpkg-perl 1.20.7.1
ii sensible-utils 0.0.12+nmu1

Versions of packages aptitude suggests:
ii apt-xapian-index 0.51
ii aptitude-doc-en [aptitude-doc] 0.8.13-2
pn debtags <none>
ii tasksel 3.62

-- no debconf information
--
Vincent Lefèvre <***@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Vincent Lefevre
2021-01-13 09:50:01 UTC
Reply
Permalink
Post by Vincent Lefevre
However, if I run "strace -f -o str.out aptitude", I don't always
get a segmentation fault. So there may be another reason.
When it crashes, this seems to be at the same place:

[...]
2237416 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324
2237416 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604
2237416 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336
2237416 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767
2237416 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237
2237416 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391
2237416 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481
2237416 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449
2237416 mremap(0x7fc6dc600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7fc6d4500000
2237416 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fc6dffef750} ---
[...]

[...]
2237777 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324
2237777 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604
2237777 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336
2237777 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767
2237777 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237
2237777 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391
2237777 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481
2237777 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449
2237777 mremap(0x7fad28600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7fad20500000
2237777 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fad2bfef750} ---
[...]

[...]
2238354 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324
2238354 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604
2238354 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336
2238354 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767
2238354 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237
2238354 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391
2238354 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481
2238354 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449
2238354 mremap(0x7f9754600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7f974c500000
2238354 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f9757fef750} ---
[...]

And when it doesn't:

[...]
2237967 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324
2237967 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604
2237967 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336
2237967 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767
2237967 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237
2237967 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391
2237967 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481
2237967 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449
2237967 mremap(0x7ff909d00000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7ff909d00000
2237967 read(3, "b\n\nPackage: cue2toc-dbgsym\nSourc"..., 32156) = 32156
2237967 read(3, "fc5e9475f8ea1996ad1d1\nDescriptio"..., 32468) = 32468
2237967 read(3, "noit <***@rezozer.net>\nArch"..., 32635) = 32635
2237967 read(3, "446f87a121ed255bd081 e3830a9a187"..., 26866) = 26866
[...]
--
Vincent Lefèvre <***@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Vincent Lefevre
2021-01-13 10:30:01 UTC
Reply
Permalink
A bundle is available for a limited time:

https://www.vinc17.net/aptitude-segv.bundle

I can reproduce the crash (but not always) with

aptitude-run-state-bundle aptitude-segv.bundle

on this machine and on another one.
--
Vincent Lefèvre <***@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Julian Andres Klode
2021-01-13 11:40:02 UTC
Reply
Permalink
Post by Vincent Lefevre
Package: aptitude
Version: 0.8.13-2+b1
Severity: grave
Justification: renders package unusable
Tags: security
I got a first "segmentation fault" just after updating ('u' in the TUI).
Now, each time I run aptitude, a segmentation occurs one second after
starting it.
I suppose that it doesn't like some data that have been fetched.
Tagging security for this reason.
Smells like 980037? Bug in APT's cache building upon mremap() in new
code path in 2.1.16/17.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Debian Bug Tracking System
2021-01-13 14:10:01 UTC
Reply
Permalink
clone -1 -2
Bug #980035 [aptitude] aptitude: segmentation fault when starting aptitude
Bug 980035 cloned as bug 980053
retile -2 aptitude-create-state-bundle should include more files from file:/// URLs
Unknown command or malformed arguments to command.
severity -2 minor
Bug #980053 [aptitude] aptitude: segmentation fault when starting aptitude
Severity set to 'minor' from 'grave'
Bug #980053 [aptitude] aptitude: segmentation fault when starting aptitude
tag -2 - security
Bug #980053 [aptitude] aptitude: segmentation fault when starting aptitude
Removed tag(s) security.
--
980035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980035
980053: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980053
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Vincent Lefevre
2021-01-13 14:40:02 UTC
Reply
Permalink
Post by Vincent Lefevre
https://www.vinc17.net/aptitude-segv.bundle
I can reproduce the crash (but not always) with
aptitude-run-state-bundle aptitude-segv.bundle
on this machine and on another one.
When it doesn't crash, aptitude doesn't suggest any action.
But on a 3rd machine, which has the same aptitude version, but older
[1(1)/...] Actions: 2 keeps, 1 upgrade
e: Examine !: Apply .: Next ,: Previous
Packages Resolve Dependencies
desktop-file-utils [0.26-1 (now, testing, unstable)]
gvfs-common [1.46.1-2 (now, testing, unstable)]
libmtp-common [1.1.17-3 now, testing, unstable -> 1.1.18-1 experimental]
(suggesting to upgrade a package to experimental like that is
incorrect, unless aptitude already broke the system).
The cause of this issue seems to be that aptitude-run-state-bundle
depends on the current system status, not just aptitude-segv.bundle.
--
Vincent Lefèvre <***@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Vincent Lefevre
2021-01-13 14:50:02 UTC
Reply
Permalink
Vincent: Got the bundle, thanks! Wasn't able to provoke a segfault
with it, even not after pressing "u".
With the bundle, the crash occurs while the UI isn't displayed yet.
But I can see in particular:

2300077 stat("/var/lib/dpkg/status", {st_mode=S_IFREG|0644, st_size=3777850, ...}) = 0
2300081 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = -1 ENOENT (No such file or directory)
2300082 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = -1 ENOENT (No such file or directory)
2300083 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = -1 ENOENT (No such file or directory)
2300077 stat("/var/lib/apt-xapian-index/index", {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
2300077 openat(AT_FDCWD, "/var/lib/apt-xapian-index/index", O_RDONLY) = 36
2300077 openat(AT_FDCWD, "/var/lib/aptitude//pkgstates", O_RDONLY) = 36
2300077 openat(AT_FDCWD, "/var/lib/debtags/package-tags", O_RDONLY) = -1 ENOENT (No such file or directory)
2299992 symlinkat("/var/local/apt/./Packages", 4, ".//var/lib/apt/lists/_var_local_apt_._Packages") = 0

while most files are read from the /tmp version.

So, as this seems to depend on the system, this is not surprising.
When I look in detail:

--\ Upgradable Packages (65)
--\ admin Administrative utilities (install software, manage users, e
--\ main The main Debian archive (3)
i apt 2.1.17 2.1.17+local1
i apt-utils 2.1.17 2.1.17+local1
[...]

The 2.1.17+local1 packages are the newly reinstalled patched versions
(now listed in /var/local/apt/Packages).

They do not exist in the bundle!!!
But as mentioned in #980037 this seems normal in such a case without
a special kernel. So thanks for the bug report!
Note that I do *not* have a special kernel. So this is unrelated.
--
Vincent Lefèvre <***@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Axel Beckert
2021-01-14 01:20:02 UTC
Reply
Permalink
Control: clone -1 -2
Control: retitle -2 aptitude-run-state-bundle: uses some local files instead of only those from the bundle
Control: tag -2 - security
Control: tag -1 + moreinfo
Control: severity -2 normal

Hi Vincent,
Post by Vincent Lefevre
With the bundle, the crash occurs while the UI isn't displayed yet.
2300077 stat("/var/lib/dpkg/status", {st_mode=S_IFREG|0644, st_size=3777850, ...}) = 0
2300081 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = -1 ENOENT (No such file or directory)
2300082 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = -1 ENOENT (No such file or directory)
2300083 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = -1 ENOENT (No such file or directory)
2300077 stat("/var/lib/apt-xapian-index/index", {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
2300077 openat(AT_FDCWD, "/var/lib/apt-xapian-index/index", O_RDONLY) = 36
2300077 openat(AT_FDCWD, "/var/lib/aptitude//pkgstates", O_RDONLY) = 36
Yep, and the later seems to have bitten me a bit when testing the
bundle. At least chromium had no more forbidden version afterwards
which was unexpected.

Then again, /var/lib/aptitude//pkgstates is in your bundle as
.//var/lib/aptitude/pkgstates, so there's no reason for a fall-back or
so.
Post by Vincent Lefevre
2300077 openat(AT_FDCWD, "/var/lib/debtags/package-tags", O_RDONLY) = -1 ENOENT (No such file or directory)
2299992 symlinkat("/var/local/apt/./Packages", 4, ".//var/lib/apt/lists/_var_local_apt_._Packages") = 0
while most files are read from the /tmp version.
So, as this seems to depend on the system, this is not surprising.
Ack.
Post by Vincent Lefevre
But as mentioned in #980037 this seems normal in such a case without
a special kernel. So thanks for the bug report!
Note that I do *not* have a special kernel.
I know. That's the reason why I mentioned this.
Post by Vincent Lefevre
So this is unrelated.
Not necessarily. It's possible. But IMHO unlikely.

Since Julian has uploaded a fix as apt/2.1.18, would you mind checking
if you can still reproduce the issue in any way?

Regards, Axel
--
,''`. | Axel Beckert <***@debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Debian Bug Tracking System
2021-01-14 01:20:02 UTC
Reply
Permalink
clone -1 -2
Bug #980035 [aptitude] aptitude: segmentation fault when starting aptitude
Bug 980035 cloned as bug 980075
retitle -2 aptitude-run-state-bundle: uses some local files instead of only those from the bundle
Bug #980075 [aptitude] aptitude: segmentation fault when starting aptitude
Changed Bug title to 'aptitude-run-state-bundle: uses some local files instead of only those from the bundle' from 'aptitude: segmentation fault when starting aptitude'.
tag -2 - security
Bug #980075 [aptitude] aptitude-run-state-bundle: uses some local files instead of only those from the bundle
Removed tag(s) security.
tag -1 + moreinfo
Bug #980035 [aptitude] aptitude: segmentation fault when starting aptitude
Added tag(s) moreinfo.
severity -2 normal
Bug #980075 [aptitude] aptitude-run-state-bundle: uses some local files instead of only those from the bundle
Severity set to 'normal' from 'grave'
--
980035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980035
980075: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980075
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2021-01-14 12:00:01 UTC
Reply
Permalink
Your message dated Thu, 14 Jan 2021 12:49:57 +0100
with message-id <***@sym.noone.org>
and subject line Re: [Aptitude-devel] Bug#980035: aptitude: segmentation fault when starting aptitude
has caused the Debian Bug report #980035,
regarding aptitude: segmentation fault when starting aptitude
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
980035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980035
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...