Your message dated Tue, 24 Jun 2025 17:49:13 +0000
with message-id <e1uu7lh-00aeud...@fasolo.debian.org>
and subject line Bug#1107827: fixed in apt 3.1.3
has caused the Debian Bug report #1107827,
regarding https: ./methods/connect.cc:892: virtual bool TlsFd::HasPending():
Assertion `ssl' failed.
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 ow...@bugs.debian.org
immediately.)
--
1107827: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107827
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 3.0.2
Severity: normal
Hi,
I'm upgrading a system from bookworm to trixie:
After changing the sources.list and an apt-get update, I install dpkg
and apt from the target suite, and then run an apt-get dist-upgrade.
During the fetching process of that dist-upgrade, https fails:
https: ./methods/connect.cc:892: virtual bool TlsFd::HasPending(): Assertion
`ssl' failed.
E: Method https has died unexpectedly!
E: Sub-process https received signal 6.
So this is with a new apt (and its direct dependencies), but the rest of
the system is still a bookworm.
It's reproducible; not quite all the time, but reasonably often
apt-get clean -y; apt-get dist-upgrade -d -y
results in that assertion error.
This is the backtrace:
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f2520c9e95c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007f2520c9e95c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f2520c49cc2 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f2520c324ac in abort () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f2520c32420 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x000055e09ec9c7de in TlsFd::HasPending (this=0x55e0c752a6c0) at
./methods/connect.cc:890
#5 TlsFd::HasPending (this=0x55e0c752a6c0) at ./methods/connect.cc:890
#6 0x000055e09eca025e in HttpServerState::Go (this=this@entry=0x55e0c73a82e0,
ToFile=ToFile@entry=true, Req=...) at ./methods/http.cc:774
#7 0x000055e09eca085b in HttpServerState::RunData (this=0x55e0c73a82e0,
Req=...) at ./methods/http.cc:635
#8 0x000055e09ecb7689 in BaseHttpMethod::Loop (this=this@entry=0x7ffc66ccaf90)
at ./methods/basehttp.cc:781
#9 0x000055e09ec96c4e in main (argv=<optimized out>) at ./methods/http.cc:1051
and a bt full:
(gdb) bt full
#0 0x00007f2520c9e95c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f2520c49cc2 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007f2520c324ac in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3 0x00007f2520c32420 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#4 0x000055e09ec9c7de in TlsFd::HasPending (this=0x55e0c752a6c0) at
./methods/connect.cc:890
buf = <optimized out>
__PRETTY_FUNCTION__ = <optimized out>
#5 TlsFd::HasPending (this=0x55e0c752a6c0) at ./methods/connect.cc:890
buf = 0 '\000'
__PRETTY_FUNCTION__ = <optimized out>
#6 0x000055e09eca025e in HttpServerState::Go (this=this@entry=0x55e0c73a82e0,
ToFile=ToFile@entry=true, Req=...) at ./methods/http.cc:774
ServerPending = <optimized out>
rfds = {fds_bits = {8, 0 <repeats 15 times>}}
wfds = {fds_bits = {16, 0 <repeats 15 times>}}
MaxFd = <optimized out>
tv = {tv_sec = 0, tv_usec = 0}
Res = <optimized out>
__d = <optimized out>
__d = <optimized out>
#7 0x000055e09eca085b in HttpServerState::RunData (this=0x55e0c73a82e0,
Req=...) at ./methods/http.cc:635
result = <optimized out>
#8 0x000055e09ecb7689 in BaseHttpMethod::Loop (this=this@entry=0x7ffc66ccaf90)
at ./methods/basehttp.cc:781
Result = <optimized out>
times = {{tv_sec = 1734098919, tv_usec = 0}, {tv_sec = 1734098919,
tv_usec = 0}}
Result = <optimized out>
Req = {Major = 1, Minor = 1, Result = 200,
Code = " OK\000https", '\000' <repeats 11 times>,
"0\254\314f\374\177", '\000' <repeats 26 times>, "P\254\314f\374\177", '\000'
<repeats 26 times>,
"\200CS\307\340U\000\000\020\000\000\000\000\000\000\000\036", '\000' <repeats
15 times>,
"0*Q\307\340U\000\000:\000\000\000\000\000\000\000:\000\000\000\000\000\000\000ATION=C\000\000\000\000\000EMENT=C;LC_IELEPHONE=C;LC_MEC_ADDRESS=C;LC_T",
'\000' <repeats 112 times>..., TotalFileSize = 69360, DownloadSize = 69360,
JunkSize = 0, StartPos = 0, MaximumSize = 1464364, Date = 1734098616,
haveContent = HaveContent::TRI_TRUE, Encoding = RequestState::Stream,
State = RequestState::Data, Location = "", RetryAfter = 0, File = <incomplete
type>, Owner = 0x7ffc66ccaf90, Server = 0x55e0c73a82e0}
Res = <incomplete type>
FailCounter = <optimized out>
#9 0x000055e09ec96c4e in main (argv=<optimized out>) at ./methods/http.cc:1051
Binary = ""
(gdb)
This happens with a single source in my sources.lists{,.d}:
deb https://debian.conova.eu/debian trixie main
Note that this mirror is close and fast, with RTTs sub 1ms, so triggering races
is a possibility.
Cheers,
weasel
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
https://www.palfrader.org/ | `. `' Operating System
| `- https://www.debian.org/
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 3.1.3
Done: Julian Andres Klode <j...@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 1107...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julian Andres Klode <j...@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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 24 Jun 2025 19:31:28 +0200
Source: apt
Architecture: source
Version: 3.1.3
Distribution: experimental
Urgency: medium
Maintainer: APT Development Team <de...@lists.debian.org>
Changed-By: Julian Andres Klode <j...@debian.org>
Closes: 1103640 1103760 1104312 1104313 1106116 1106155 1107827
Changes:
apt (3.1.3) experimental; urgency=medium
.
[ Biswapriyo Nath ]
* Include standard headers to fix clang compiler error
.
[ Julian Andres Klode ]
* Fix stuck acquire queues on partial server errors (LP: #2003851)
* tls: Do not trigger assertion after closing connection (Closes: #1107827)
* German translation update (Closes: #1106116)
.
[ Américo Monteiro ]
* Portuguese manpages translation update (Closes: #1103640)
.
[ bubub ]
* French manpages translation update (Closes: #1103760)
.
[ Frans Spiesschaert ]
* Dutch program translation update (Closes: #1104312)
* Dutch manpages translation update (Closes: #1104313)
.
[ Miroslav Kure ]
* Czech program translation update (Closes: #1106155)
Checksums-Sha1:
b1d2d8e46dbd4ced293507f9ed21754e0a3b9c81 3091 apt_3.1.3.dsc
99e8a3a16d73bcb93ea3e8a563a7b76d67ed15a6 2427728 apt_3.1.3.tar.xz
5a9e23de045291333ae9f2e4662860b7bc2cb967 7409 apt_3.1.3_source.buildinfo
Checksums-Sha256:
1b1945c12e9dabd865da38eeb6f74d7c8fea634afb4f7a25ac34cf5734922a10 3091
apt_3.1.3.dsc
6149420a3755755a3e40c4f9a0e75884e2fcbb6f5942047e2af79543840660b7 2427728
apt_3.1.3.tar.xz
191e7796d37556b771f9b3e92c038f82ae4cabad2ea5dfce37b84227e88ecb7e 7409
apt_3.1.3_source.buildinfo
Files:
32a1897c85d972b73f4b431d1d906108 3091 admin required apt_3.1.3.dsc
bb4ff02c849a6af09a42035f471545f3 2427728 admin required apt_3.1.3.tar.xz
26574f903e6282e373d9f4eb518319ec 7409 admin required apt_3.1.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmha4U0PHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xC0EP/1PoCsz+lksh4NX220kVSOcB/VIa/no2bpkG
CKsPxOQue38l9o1g9WYdOACDPC5Os6Pc3PwyBTS2gGqOt4u7jeDctrNdwh/ndvUM
+Eq6YDzDUI0hjjWPg+O8BHC4mPlwihgro/woDqhrkX5ow4eniQwllI6+jxOs5pva
skctb9OmgA0P30S3iaeHiaKM88XJQkr/1MzmoQ+ohKn3Q818c/vNlQIQkelOa1dj
PbDRBeg5O/lmV3Nxvql9qhDUr45KLulgiKQN/pyLsXgQm+LB2qFPWwiA/YuJ3QBV
sfxs9F+1NsibRuM51xQXB5ikysVKbNAsESr37/fLwMpuKGDwifHRLswI5T2fOg1Z
UmyAVievoOA5p/qQEFSJYjZKsIsN0YfApqCl6xuJO7yIrSSozJDnsLuMf9VOK4Zt
phDYo2a9QiwxZqc855n7U6HzkUx+e5Fq1ircoZYGrKH52mo7o7pgZW0UZ5i/VClZ
V0uKaVVu2fnUarF7xF/n9byEg7a0CeSVqM8sqU7cYh2623Ylj48+b2rJaI0OJna3
Lcx7J3onPuGX5GdeW322NM7wZneMgjbgz5dTF/ast4Jg+OUEmyzJ+1VEAbXj3iL+
lPXb4gw15hTWQe0kvik35ubDWwUHSB7LTz/J06U5A4+2uPPH2+uwnYCmXUu8z96x
8s/KS30r
=1hX6
-----END PGP SIGNATURE-----
pgpg9AbACAcI8.pgp
Description: PGP signature
--- End Message ---