← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2016914] Re: [SRU] gsd-smartcard: segfault on startup

 

Hello Chorca, or anyone else affected,

Accepted gnome-settings-daemon into noble-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/gnome-settings-
daemon/46.0-1ubuntu1.24.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: gnome-settings-daemon (Ubuntu Noble)
       Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-noble

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-settings-daemon in
Ubuntu.
https://bugs.launchpad.net/bugs/2016914

Title:
  [SRU] gsd-smartcard: segfault on startup

Status in GNOME Settings Daemon:
  Fix Released
Status in gnome-settings-daemon package in Ubuntu:
  Fix Released
Status in gnome-settings-daemon source package in Jammy:
  Won't Fix
Status in gnome-settings-daemon source package in Noble:
  Fix Committed
Status in gnome-settings-daemon source package in Oracular:
  Won't Fix
Status in gnome-settings-daemon source package in Plucky:
  Fix Released

Bug description:
  Impact
  ------

  A smartcard reader attached to the computer on startup, containing a
  non-standard smartcard (in this case an NXP AV3 SAM card) causes gsd-
  smartcard to segfault and restart 200 times after login.

  Test plan
  ---------

  0.1. apt install pcscd.
  0.2. Log out.

  Reproduce the issue:

  1.1. Insert a non-standard smartcard into your computer (if it has a slot for it) or into a smart card reader attached to your computer.
  1.2. Log in.
  * Verify that a couple of automatic error reporter windows appear and the crash is of gsd_smartcard.

  Verify the fix:

  2.1. Enable proposed: https://wiki.ubuntu.com/Testing/EnableProposed.
  2.2. apt install gnome-settings-daemon/noble-proposed.
  2.3. Log out.
  2.4. Insert a non-standard smartcard into your computer (if it has a slot for it) or into a smart card reader attached to your computer.
  2.5. Log in.
  * Verify that no more error reporter windows appear for gsd_smartcard crashes.

  Where things could go wrong
  ---------------------------

  As the code changes are restricted to the smart card module, which is
  packed in the gsd-smartcard binary, it is very unlikely to accept
  other parts of the daemon. So possible regressions are mainly during
  authentication phase in Gnome using a smart card.

  More information
  ----------------

  System Info:
  This is Ubuntu 22.04.2 LTS at Kernel 5.19.0-38-generic
  The Smart Card reader is an Identiv uTrust 4711 F with both SAM and Contactless slots
  The system is an HP ZBook Firefly 14 G7

  Detailed issue:
  When the smartcard reader is plugged into the system, and an NXP SAM AV3 card is inserted into the physical smartcard slot, upon login several (5) Ubuntu Error report windows will open asking to report a crash. The reader lights will flicker for about 5 minutes until they finally stop. No other issues are seen with the system during this time.

  Upon looking at /var/log/syslog, the errors listed in the attachment
  are visible as it appears gsd-smartcard is in a loop of restarting and
  crashing following an error.

  /var/crash contains two files from the crash loop,
  _usr_libexec_gsd_smartcard.1000.crash and
  _usr_libexec_gsd_smartcard_127.crash

  Eventually the crashes seem to stop and the light stops flickering,
  but a logout and log back in will restart the issue again, as will
  rebooting the machine. Re-plugging the device while logged in does not
  seem to cause it to start the crash loop again.

  To complete the standard questions:
  1. I logged into my computer and saw error messages
  2. I expected the smart card to be ignored if there was a card inserted that was unexpected or incompatible with the gnome settings daemon
  3. I encountered several crash reporter messages upon logging in, which seem to have come from the gsd-smartcard program

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/2016914/+subscriptions