Your message dated Tue, 24 Jun 2025 17:49:03 +0000 with message-id <E1uU7lX-00AeSq-Ny@fasolo.debian.org> and subject line Bug#1107827: fixed in apt 3.0.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 owner@bugs.debian.org immediately.) -- 1107827: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107827 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: https: ./methods/connect.cc:892: virtual bool TlsFd::HasPending(): Assertion `ssl' failed.
- From: Peter Palfrader <weasel@debian.org>
- Date: Sun, 15 Jun 2025 11:27:53 +0000
- Message-id: <[🔎] aE6uOQ5vd7OTiVR-@sarek.noreply.org>
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 ---
- To: 1107827-close@bugs.debian.org
- Subject: Bug#1107827: fixed in apt 3.0.3
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 24 Jun 2025 17:49:03 +0000
- Message-id: <E1uU7lX-00AeSq-Ny@fasolo.debian.org>
- Reply-to: Julian Andres Klode <jak@debian.org>
Source: apt Source-Version: 3.0.3 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 1107827@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: Tue, 24 Jun 2025 19:02:46 +0200 Source: apt Architecture: source Version: 3.0.3 Distribution: unstable Urgency: medium Maintainer: APT Development Team <deity@lists.debian.org> Changed-By: Julian Andres Klode <jak@debian.org> Closes: 1103640 1103760 1104312 1104313 1106116 1106155 1107827 Changes: apt (3.0.3) unstable; urgency=medium . [ 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) . [ Julian Andres Klode ] * German translation update (Closes: #1106116) * Fix stuck acquire queues on partial server errors (LP: #2003851) * tls: Do not trigger assertion after closing connection (Closes: #1107827) . [ Miroslav Kure ] * Czech program translation update (Closes: #1106155) Checksums-Sha1: 75cc2d8a7adec664f1b1058dcab263372da25df5 3091 apt_3.0.3.dsc d5db7bec0f62e2ef71d140c17977e6153bb2d09b 2422096 apt_3.0.3.tar.xz 8b94632b32cb20ddd2717fa60c530ac66eaaac49 7409 apt_3.0.3_source.buildinfo Checksums-Sha256: ccf1666e5b268d76bf62aafb22db089a2fdae9c17d1d1c446546b3621768add7 3091 apt_3.0.3.dsc 5b5f6f6d26121742a83aa80d4ed0eb0c6ce9bea259518db412edefd95760e4ef 2422096 apt_3.0.3.tar.xz 74dc05c16bbf7eb4b53e4d5eb13660f29e54c7a44009f8c9b6144585169b5190 7409 apt_3.0.3_source.buildinfo Files: 472537fef807518f84f35d2acd9030bb 3091 admin required apt_3.0.3.dsc 17a204058fd6219f5d268830e5b77140 2422096 admin required apt_3.0.3.tar.xz 9c85b5b992a7e463657254f8b58f03ba 7409 admin required apt_3.0.3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmha20QPHGpha0BkZWJp YW4ub3JnAAoJEG+kWN0dsD9xTOsP/3OauQ42SLgii55iTCHxYc80S7x6Ozv/VozL OwtGsWYpKK0GlNoZ4Z0UgFqBScSGw8oVN64Hk8n+8SugEU1yTx1yABp9jyVXz8hP +zdiVe8SJKZh6NQkpd4a8s+09+BnrboTjVs1icnhXlGvd78/VnCD5prWNzyML19W XyPh0/yj4QifQrT8vk9PzqkXo2HL5ByYp3vrjq7BQy9OKAEr1hB2q1h+/gVZoXnL 37q7PMh4HvK0lB1rtScpDIA4UPCq/Mly6Id6Hx5vvbH+e5crT6oQHlxRic9pV6RX 9qG87igRIxw7bc68VixaJy3K+Wngmg5t5uSaSq00JY1wNF/bKQaUF2Kqc2AKE9TO YdBZXXord7OEJMJVwEaXnDU8XGKVuLcaPMLI7vqVMwBeUUrST4ZHVGuUO0ORnWTP WGd7odbHFrHvxxj+8BtwNiWERxsShiivVuUo5fxr8qmkc6/DME0pm6bXvuTeclMz dx+9R9oo0SXOudDi2DhPSpvMgUBiw3OxQIyCRJxQCZIxPv0Oxrv2R3Y/UEBQwGzL hwjNW28iQogpHZWsoAodIWcId5VTQd2ZNSnnZxKYGlQWrjFSkBgrQu8L4hKu9V2t /wYoF5ih6s0PfpEXPsG7JgPDNFhFS5iSrmFTDtoIDwLU9Tl8EqR/NF8QXJ5MQbck MH96gO+1 =NeQd -----END PGP SIGNATURE-----Attachment: pgp5IpwsNWOcp.pgp
Description: PGP signature
--- End Message ---