[Aptitude-devel] Bug#980035: Bug#980035: Bug#980035: aptitude: segmentation fault when starting aptitude

Vincent Lefevre vincent at vinc17.net
Wed Jan 13 14:45:00 GMT 2021


On 2021-01-13 15:07:26 +0100, Axel Beckert wrote:
> 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 <vincent at 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)



More information about the Aptitude-devel mailing list