[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1090068: marked as done ("apt show :" segfaults)



Your message dated Thu, 19 Dec 2024 18:04:54 +0000
with message-id <E1tOKtK-00GDnW-UW@fasolo.debian.org>
and subject line Bug#1090068: fixed in apt 2.9.18
has caused the Debian Bug report #1090068,
regarding "apt show :" segfaults
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 owner@bugs.debian.org
immediately.)


-- 
1090068: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090068
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 2.9.17
Severity: normal

$ apt show :
/usr/include/c++/14/bits/basic_string.h:1269: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed.
Aborted (core dumped)
$


It looks OK in bookworm:

$ apt show :
N: Unable to locate package :
N: Unable to locate package :
E: No packages found
$


Backtrace:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007ffff769dcef in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:78
#2  0x00007ffff7649c42 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff76324f0 in __GI_abort () at ./stdlib/abort.c:79
#4  0x00007ffff78d4f9e in std::__glibcxx_assert_fail(char const*, int, char const*, char const*) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff7cf918d in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[] (this=0x7fffffffd630, 
    __pos=<optimized out>) at /usr/include/c++/14/bits/basic_string.h:1265
#6  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[] (this=0x7fffffffd630, __pos=<optimized out>)
    at /usr/include/c++/14/bits/basic_string.h:1265
#7  APT::CacheSetHelper::PackageFromTask (this=this@entry=0x7fffffffdc90, pci=pci@entry=0x7fffffffd800, Cache=..., pattern="")
    at ./apt-pkg/cacheset.cc:63
#8  0x00007ffff7cfae01 in APT::CacheSetHelper::PackageFrom (this=0x7fffffffdc90, select=<optimized out>, pci=0x7fffffffd800, Cache=..., pattern=...)
    at /usr/include/c++/14/bits/basic_string.tcc:242
#9  0x00007ffff7cfab61 in APT::CacheSetHelper::PackageFromString (this=this@entry=0x7fffffffdc90, pci=pci@entry=0x7fffffffd800, Cache=..., str=":")
    at ./apt-pkg/cacheset.cc:326
#10 0x00007ffff7cfb55b in APT::CacheSetHelper::PackageFrom (this=0x7fffffffdc90, select=APT::CacheSetHelper::STRING, pci=0x7fffffffd800, Cache=..., 
    pattern=...) at ./apt-pkg/cacheset.cc:48
#11 APT::VersionContainerInterface::FromString (vci=vci@entry=0x7fffffffdbc0, Cache=..., pkg=":", 
    fallback=fallback@entry=APT::CacheSetHelper::CANDIDATE, helper=..., onlyFromName=onlyFromName@entry=false) at ./apt-pkg/cacheset.cc:462
#12 0x00007ffff7f3a8af in ShowPackage (CmdL=...) at /usr/include/c++/14/bits/basic_string.tcc:242
#13 0x00007ffff7d1017f in CommandLine::DispatchArg (this=this@entry=0x7fffffffe350, Map=<optimized out>, NoMatch=NoMatch@entry=true)
    at ./apt-pkg/contrib/cmndline.cc:373
#14 0x00007ffff7efbd44 in DispatchCommandLine (CmdL=..., Cmds=std::vector of length 33, capacity 64 = {...}) at ./apt-private/private-cmndline.cc:614
#15 0x00005555555562a1 in main (argc=3, argv=0x7fffffffe4d8) at ./cmdline/apt.cc:123

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 2.9.18
Done: Julian Andres Klode <jak@debian.org>

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1090068@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 19 Dec 2024 18:38:04 +0100
Source: apt
Architecture: source
Version: 2.9.18
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 1090068
Changes:
 apt (2.9.18) unstable; urgency=medium
 .
   * Fix out-of-bounds read in `apt show :` (Closes: #1090068)
   * Introduce git-like automatic pager for apt(8), emulating git behavior.
     It is enabled for the show, list, search, policy, showsrc commands.
     The pager can be set using APT_PAGER or PAGER and defaults to `pager`
   * Add initial pinning information to apt show --full.
     The fields `APT-Pin`, `APT-Candidate`, and `APT-Release` provide
     pinning information. It is not yet possible to see multiple sources,
     and the per-source pinning is not shown.
   * gpgv: Extract VerifyDetachedSignatureFile()
Checksums-Sha1:
 401f3e453fc5b965b9265520a3fbdce5909d8218 3011 apt_2.9.18.dsc
 3d71b0ce4149b1baff79ab0e6ae2aa407d0a2a8c 2392352 apt_2.9.18.tar.xz
 bf16295067bcee89dac56d166e79ee28404d102d 7721 apt_2.9.18_source.buildinfo
Checksums-Sha256:
 9b99b30c3b937d2cc842d26e7bbe1b67a2aa108f633aa227197cc5b89588df4b 3011 apt_2.9.18.dsc
 9903bbbbc89bb6a4687a080a1bf90bb8ba36802ec196b3549a4c1fd0502d1a3a 2392352 apt_2.9.18.tar.xz
 be6bdaf5028a7d902cdd0ac794fc7d9d0dfeaceb4352fd505a3b8f5ad1957823 7721 apt_2.9.18_source.buildinfo
Files:
 4189a3de069b4a350115b7704aba1fc5 3011 admin required apt_2.9.18.dsc
 4db0c0e23b8c102ae33e76b4f84b04bb 2392352 admin required apt_2.9.18.tar.xz
 e97f65c8950c4dd85ab93aa21d4ec87a 7721 admin required apt_2.9.18_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmdkXd8PHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xIQAP/RRfgiJb0TwVsfJ4U3LXRsW/bDGSjXnpoJm1
WOHX8Lnr0Hh+6pDb64xUqIx0sNf6TRIvnf6T4JXtVmd+EDlpHJd3qRtCEcr7OiiJ
1qw6aVK51BIG22jgCorz1axU3/24NLDVAZAO/Ngva41NtkjaVHiKAgzlE8VCaXJm
r4HcJwcnvJF7BGHwVcQvvuPL+UWGQmPC6EvnmOL6Yobv3BHOUk9hTvjCyVRQH7gv
AmBYa3+KXn+YStUOglydeIf7uJEI3Z4Q3SrELjXypCO5SWZ6uv/WLuinUn9NhB4L
h3EhZSQLxUP89lzBDJMLzln109UHRhBz3FaUSOyuNxJr1r38Eic9ZWKAug9cYsEj
f72FZVk+Kj689FsWec/BFmuh2SzkkfrA+Ks1OKY7OZNiAxeIMx3qbPwfv6DRdYfL
SfET6iwLQFdSwDjUmsyGw9WvryrfduNOIRx4IaYs2f/sBguGlNPhIWKvU7m7WSnH
M1ha6M6y+qVPviBW+hw3qEhBmSW95dtudFwfQFN0MnbuJdgRunESgn2/T5Yt9HQ0
QtHWEgEKDkr9fY8NSwyRoN3ZM/ZZCmpum790cVuLXFkDY9g9wxi4WAqd9LdXVsiA
dGtuuudHFdyOTcbTnc06bEu2c8JIN8PHWJ6pbFuU3JFQNq/ytRf/DAByOYdFcuRK
U7j85EU+
=bMfi
-----END PGP SIGNATURE-----

Attachment: pgpbH2qKNuRCr.pgp
Description: PGP signature


--- End Message ---

Reply to: