Your message dated Wed, 23 Aug 2023 12:57:22 +0200
with message-id <[email protected]>
and subject line Re: opensc: infinite loop in card_detect when unplugging 
yubikey
has caused the Debian Bug report #1013634,
regarding opensc: infinite loop in card_detect when unplugging yubikey
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 [email protected]
immediately.)


-- 
1013634: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013634
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opensc
Version: 0.22.0-2+b1
Severity: important

Hi,

I recently started seeing firefox's socket thread go in an infinite loop
after unplugging my yubikey (not all the time, maybe once a week or so).
I initially reported the bug to Mozilla at
https://bugzilla.mozilla.org/show_bug.cgi?id=1769942 but AFAICT from
more debugging it actually comes from opensc: card_detect never
finishes, it keeps calling sc_detect_card_presence in a loop here:
https://github.com/OpenSC/OpenSC/blob/0.22.0/src/pkcs11/slot.c#L220
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1769942#c6, this commit
may be relevant:
https://github.com/OpenSC/OpenSC/commit/738588fd2b1c69794ba9ebe7bdb898486e001ecb

Cheers,
Julien

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (101, 
'unstable-debug'), (101, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opensc depends on:
ii  libc6          2.33-7
ii  libreadline8   8.1.2-1.2
ii  libssl3        3.0.3-7
ii  opensc-pkcs11  0.22.0-2+b1
ii  zlib1g         1:1.2.11.dfsg-4

Versions of packages opensc recommends:
ii  pcscd  1.9.8-1

opensc suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 0.23.0-0.1

The mentioned commit was included in bookworm.
If you are still experiencing the issue, please reopen.

--- End Message ---

Reply via email to