Your message dated Fri, 18 Oct 2019 15:04:58 +0000 with message-id <E1iLToI-000GEt-PT@fasolo.debian.org> and subject line Bug#942568: fixed in fwupd 1.3.2-3 has caused the Debian Bug report #942568, regarding [fwupd] busy spinning in fu_util_prompt_for_boolean 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.) -- 942568: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942568 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [fwupd] busy spinning in fu_util_prompt_for_boolean
- From: Giovanni Mascellani <gio@debian.org>
- Date: Fri, 18 Oct 2019 10:26:09 +0200
- Message-id: <[🔎] 91350228-b9ae-ebbe-d81a-53e011936828@debian.org>
Package: fwupd Version: 1.3.2-2 Severity: normal Hi, approximately a few times a day fwupd is automatically called as "fwupd refresh". Unfortunately on my system it gets stuck in a busy loop trying to read from a stream. I believe that it fails to read, but it also fails to acknowledge an error condition, therefore keeping trying. Here is the gdb session: > (gdb) attach 6735 > Attaching to process 6735 > [New LWP 6736] > [New LWP 6737] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > 0x00007fc5d7e115ce in _IO_fgets (buf=buf@entry=0x7fff674457b4 "", n=n@entry=4, fp=0x7fc5d7f58a00 <_IO_2_1_stdin_>) at iofgets.c:39 > 39 iofgets.c: File o directory non esistente. > (gdb) info threads > Id Target Id Frame > * 1 Thread 0x7fc5d530b8c0 (LWP 6735) "fwupdmgr" 0x00007fc5d7e115ce in _IO_fgets (buf=buf@entry=0x7fff674457b4 "", n=n@entry=4, fp=0x7fc5d7f58a00 <_IO_2_1_stdin_>) at iofgets.c:39 > 2 Thread 0x7fc5d5023700 (LWP 6736) "gmain" 0x00007fc5d7e8ed2f in __GI___poll (fds=0x556a5107a1b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 > 3 Thread 0x7fc5d4822700 (LWP 6737) "gdbus" 0x00007fc5d7e8ed2f in __GI___poll (fds=0x556a510988a0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 > (gdb) bt > #0 0x00007fc5d7e115ce in _IO_fgets (buf=buf@entry=0x7fff674457b4 "", n=n@entry=4, fp=0x7fc5d7f58a00 <_IO_2_1_stdin_>) at iofgets.c:39 > #1 0x0000556a4f0d58e4 in fgets (__stream=<optimized out>, __n=4, __s=0x7fff674457b4 "") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:265 > #2 fu_util_prompt_for_boolean (def=1) at ../src/fu-util-common.c:126 > #3 0x0000556a4f0d4327 in fu_util_download_metadata_enable_lvfs (error=0x7fff67445870, priv=0x556a51073a90) at ../src/fu-util.c:1203 > #4 fu_util_download_metadata (priv=0x556a51073a90, error=0x7fff67445870) at ../src/fu-util.c:1234 > #5 0x0000556a4f0d079f in main (argc=<optimized out>, argv=<optimized out>) at ../src/fu-util.c:2478 > (gdb) continue > Continuing. > ^C > Thread 1 "fwupdmgr" received signal SIGINT, Interrupt. > __GI___uflow (fp=0x7fc5d7f58a00 <_IO_2_1_stdin_>) at genops.c:298 > 298 genops.c: File o directory non esistente. > (gdb) bt > #0 __GI___uflow (fp=0x7fc5d7f58a00 <_IO_2_1_stdin_>) at genops.c:298 > #1 0x00007fc5d7e125bc in __GI__IO_getline_info (fp=fp@entry=0x7fc5d7f58a00 <_IO_2_1_stdin_>, buf=buf@entry=0x7fff674457b4 "", n=n@entry=3, delim=delim@entry=10, extract_delim=extract_delim@entry=1, eof=eof@entry=0x0) at iogetline.c:60 > #2 0x00007fc5d7e126b8 in __GI__IO_getline (fp=fp@entry=0x7fc5d7f58a00 <_IO_2_1_stdin_>, buf=buf@entry=0x7fff674457b4 "", n=n@entry=3, delim=delim@entry=10, extract_delim=extract_delim@entry=1) at iogetline.c:34 > #3 0x00007fc5d7e1166d in _IO_fgets (buf=buf@entry=0x7fff674457b4 "", n=n@entry=4, fp=0x7fc5d7f58a00 <_IO_2_1_stdin_>) at iofgets.c:53 > #4 0x0000556a4f0d58e4 in fgets (__stream=<optimized out>, __n=4, __s=0x7fff674457b4 "") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:265 > #5 fu_util_prompt_for_boolean (def=1) at ../src/fu-util-common.c:126 > #6 0x0000556a4f0d4327 in fu_util_download_metadata_enable_lvfs (error=0x7fff67445870, priv=0x556a51073a90) at ../src/fu-util.c:1203 > #7 fu_util_download_metadata (priv=0x556a51073a90, error=0x7fff67445870) at ../src/fu-util.c:1234 > #8 0x0000556a4f0d079f in main (argc=<optimized out>, argv=<optimized out>) at ../src/fu-util.c:2478 The only way I can get rid of it is by killing it with SIGKILL. Please, let me know how I can provide more useful information. Thanks, Giovanni. --- System information. --- Architecture: Kernel: Linux 5.2.0-3-amd64 Debian Release: bullseye/sid 500 xenial updates.signal.org 500 unstable-debug debug.mirrors.debian.org 500 unstable deb.debian.org 500 testing deb.debian.org 500 stable repo.skype.com 500 stable dl.google.com 1 experimental deb.debian.org --- Package information. --- Depends (Version) | Installed ======================================-+-============= libarchive13 (>= 3.0.4) | 3.4.0-1 libc6 (>= 2.17) | libefiboot1 (>= 37) | libefivar1 (>= 37) | libelf1 (>= 0.142) | libfwupd2 (>= 1.3.2) | libgcab-1.0-0 (>= 1.0) | libglib2.0-0 (>= 2.53.2) | libgnutls30 (>= 3.6.5) | libgpg-error0 (>= 1.14) | libgpgme11 (>= 1.2.0) | libgudev-1.0-0 (>= 212) | libgusb2 (>= 0.2.10) | libjson-glib-1.0-0 (>= 1.2.0) | libpolkit-gobject-1-0 (>= 0.99) | libsmbios-c2 | libsoup2.4-1 (>= 2.41.90) | libsqlite3-0 (>= 3.5.9) | libtss2-esys0 | libxmlb1 | shared-mime-info | Recommends (Version) | Installed ===========================-+-=========== python3 | 3.7.5-1 bolt | 0.8-4 fwupd-signed | Package's Suggests field is empty. -- Giovanni Mascellani <g.mascellani@gmail.com> Postdoc researcher - Université Libre de BruxellesAttachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
- To: 942568-close@bugs.debian.org
- Subject: Bug#942568: fixed in fwupd 1.3.2-3
- From: Mario Limonciello <mario.limonciello@dell.com>
- Date: Fri, 18 Oct 2019 15:04:58 +0000
- Message-id: <E1iLToI-000GEt-PT@fasolo.debian.org>
Source: fwupd Source-Version: 1.3.2-3 We believe that the bug you reported is fixed in the latest version of fwupd, 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 942568@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mario Limonciello <mario.limonciello@dell.com> (supplier of updated fwupd 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: Fri, 18 Oct 2019 09:50:55 -0500 Source: fwupd Binary: libfwupd2 fwupd fwupd-tests fwupd-doc libfwupd-dev gir1.2-fwupd-2.0 fwupd-amd64-signed-template fwupd-i386-signed-template fwupd-armhf-signed-template fwupd-arm64-signed-template Architecture: source Version: 1.3.2-3 Distribution: unstable Urgency: medium Maintainer: Debian EFI <debian-efi@lists.debian.org> Changed-By: Mario Limonciello <mario.limonciello@dell.com> Description: fwupd - Firmware update daemon fwupd-amd64-signed-template - Template for signed fwupd package fwupd-arm64-signed-template - Template for signed fwupd package fwupd-armhf-signed-template - Template for signed fwupd package fwupd-doc - Firmware update daemon documentation (HTML format) fwupd-i386-signed-template - Template for signed fwupd package fwupd-tests - Test suite for firmware update daemon gir1.2-fwupd-2.0 - GObject introspection data for libfwupd libfwupd-dev - development files for libfwupd libfwupd2 - Firmware update daemon library Closes: 942567 942568 Changes: fwupd (1.3.2-3) unstable; urgency=medium . * backport patch for fwupd-refresh: don't try to enable LVFS if disabled (Closes: #942568) * fwupd-refresh: backport a series of patches that essentially turns off motd refresh unless running on a very new systemd (v243) due to systemd v242 bug. (Closes: #942567) Checksums-Sha1: beee5b7f0d9dba4a30246426b7f4f9a39bbdc3e3 3650 fwupd_1.3.2-3.dsc 6702b85fbfed2259271efd2a0f20e09a2fdd7c98 2100817 fwupd_1.3.2.orig.tar.gz b6e7ff81a44024d09a0fa17826fc811a3aab600b 21552 fwupd_1.3.2-3.debian.tar.xz Checksums-Sha256: aa0d7c0aea430f58ba702d76deeef91c754d1437b3ab250b842110305127e8fa 3650 fwupd_1.3.2-3.dsc efe85c40dfa84b1e6427c71558f0f32a95fa657ccb520ff1f7ecfbd4d792fb89 2100817 fwupd_1.3.2.orig.tar.gz 44c81d92f87a09087982309f14d90c65b998b57db540131a22ed9b5fcc1282ae 21552 fwupd_1.3.2-3.debian.tar.xz Files: 1f8579a31563264ccd73c430c5c4b2ba 3650 admin optional fwupd_1.3.2-3.dsc 4c3dd02507a301d563aba41cd9a0cb5e 2100817 admin optional fwupd_1.3.2.orig.tar.gz 4aafc943457ab85c33fc5d1a6c44980c 21552 admin optional fwupd_1.3.2-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJdqdHEAAoJEC0ZLKYkdwJ2IGIP/1AcOwTN8jVzMQkAMuiD0R5A JJvLKw2UOdZxoFqqSFaTMOA7xBqL5RTpkNdhRbQJes4vYZRMwTWoqQJ4v4nHku13 xIn8ULZOzUsXCQt0f73s7gUsoPqfscZnDSYKdTiBzQKQoheuK5fjAmL49DimShLl jNvnQg1Vk9Tos0S9Qs5tdx98iPngAlxyUvJGuHBxV0BMtDVGmf1Kg8GQUkEbEpv3 lQy23oYGL8+KvNZFhU2/NgF9D+SoaPm/CGIscwxPAyRT2AabPNWBm2/wB7luiQv8 R0wSz4IzylDdfJvVI/GQkHJN3NT2KzzqS7Btn4cNr2KWexbRif/cOnb45OuMlrBK 48/GRK59pYOGGwpkPhogCbpvA18EGf2BLHkMBUoFkhn+skjHj7yZJkz+/O0s8S6t Nir3nYVoaHAP5GLWnDHEhqKJPbjIxYxFxDioRkrwONWQZNDzdV4X+fls2/D4tm/K eBUQfBcgjlZxacr4CGUv7fJGKWDNXbrxaaJI9gqshbr9TZJI+u1r87Ed0fQ7PA4O C+thf1m995gQ6UXRJCXkB0Tjgg6RavaMLzmQzAresarhyQlOUrOHleRBMyLl662a XB7wBsCPOtSCYrkgjHX5mGX+3EZgcUkka+tSJQepVE3lqYxWrggvmC+nfoyrRwzS 8xR/8emwjSHT61JyCoza =tlZs -----END PGP SIGNATURE-----
--- End Message ---