fprintd fails to start through core-dump

Bug #1962344 reported by Vincent Gerris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fprintd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

some more info :
feb 25 21:14:03 ubuntu-inspiron-5482 systemd[1]: fprintd.service: Main process exited, code=dumped, status=11/SEGV
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit fprintd.service has exited.
░░
░░ The process' exit code is 'dumped' and its exit status is 11.
feb 25 21:14:03 ubuntu-inspiron-5482 systemd[1]: fprintd.service: Failed with result 'core-dump'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit fprintd.service has entered the 'failed' state with result 'core-dump'.
feb 25 21:14:03 ubuntu-inspiron-5482 systemd[1]: Failed to start Fingerprint Authentication Daemon.
░░ Subject: A start job for unit fprintd.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit fprintd.service has finished with a failure.
░░
░░ The job identifier is 4596 and the job result is failed.
ubuntu@ubuntu-inspiron-5482:~$ dpkg -l fprintd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-==========================================
ii fprintd 1.94.2-1 amd64 D-Bus daemon for fingerprint reader access

if the fprintd package is installed and fprintd-enroll is run, it times out.
That triggers a bug in gdm3 at login, where the user account is not visibe and one cannot login.

I have a goodix fingerprint reader:
Bus 001 Device 002: ID 27c6:538c Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: fprintd 1.94.2-1
Uname: Linux 5.12.19-051219-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia wl
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Feb 25 21:19:31 2022
InstallationDate: Installed on 2019-12-17 (801 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: fprintd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Vincent Gerris (vgerris) wrote :
Revision history for this message
Vincent Gerris (vgerris) wrote :
Download full text (3.1 KiB)

reference to login bug:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1960336

snippet from journalctl:
ubuntu@ubuntu-inspiron-5482:~$ journalctl -b 0 | grep fprintd
feb 25 21:09:27 ubuntu-inspiron-5482 sudo[12402]: ubuntu : TTY=pts/0 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/bin/apt install fprintd
feb 25 21:10:14 ubuntu-inspiron-5482 dbus-daemon[1737]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.153' (uid=1000 pid=12715 comm="fprintd-list ")
feb 25 21:10:15 ubuntu-inspiron-5482 kernel: fprintd[12718]: segfault at 40 ip 00007f96fd1b2056 sp 00007ffe9717a980 error 4 in libusb-1.0.so.0.3.0[7f96fd1a8000+f000]
feb 25 21:10:15 ubuntu-inspiron-5482 kernel: fprintd[12723]: segfault at 40 ip 00007f96fd1b2056 sp 00007f96f2ffca60 error 4 in libusb-1.0.so.0.3.0[7f96fd1a8000+f000]
feb 25 21:10:15 ubuntu-inspiron-5482 whoopsie-upload-all[12725]: INFO:root:Collecting info for /var/crash/_usr_libexec_fprintd.0.crash...
feb 25 21:10:16 ubuntu-inspiron-5482 systemd[1]: fprintd.service: Main process exited, code=dumped, status=11/SEGV
feb 25 21:10:16 ubuntu-inspiron-5482 systemd[1]: fprintd.service: Failed with result 'core-dump'.
feb 25 21:10:20 ubuntu-inspiron-5482 whoopsie-upload-all[12725]: INFO:root:Marking /var/crash/_usr_libexec_fprintd.0.crash for whoopsie upload
feb 25 21:10:20 ubuntu-inspiron-5482 whoopsie-upload-all[12725]: INFO:root: missing (remaining: 20 s): /var/crash/_usr_libexec_fprintd.0.uploaded /var/crash/_usr_libexec_tracker-miner-fs-3.1000.uploaded
feb 25 21:10:30 ubuntu-inspiron-5482 whoopsie-upload-all[12725]: INFO:root: missing (remaining: 10 s): /var/crash/_usr_libexec_fprintd.0.uploaded
feb 25 21:10:40 ubuntu-inspiron-5482 whoopsie-upload-all[12725]: INFO:root: missing (remaining: 0 s): /var/crash/_usr_libexec_fprintd.0.uploaded
feb 25 21:14:02 ubuntu-inspiron-5482 polkitd(authority=local)[1769]: Operator of unix-session:2 successfully authenticated as unix-user:root to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.165 [systemctl restart fprintd.service] (owned by unix-user:ubuntu)
feb 25 21:14:03 ubuntu-inspiron-5482 kernel: fprintd[13512]: segfault at 40 ip 00007f49958e0056 sp 00007ffd6ef58100 error 4 in libusb-1.0.so.0.3.0[7f49958d6000+f000]
feb 25 21:14:03 ubuntu-inspiron-5482 systemd[1]: fprintd.service: Main process exited, code=dumped, status=11/SEGV
feb 25 21:14:03 ubuntu-inspiron-5482 systemd[1]: fprintd.service: Failed with result 'core-dump'.

possibly related:
https://bugs.launchpad.net/ubuntu/+source/fprintd/+bug/1933633

from my comment there:
files updates in /etc/pam.d :
-rw-r--r-- 1 root root 1415 feb 9 15:15 gdm-smartcard-sssd-or-password
-rw-r--r-- 1 root root 1373 feb 9 15:15 gdm-smartcard-sssd-exclusive
-rw-r--r-- 1 root root 1408 feb 9 15:15 gdm-smartcard-pkcs11-exclusive
-rw-r--r-- 1 root root 1320 feb 9 15:15 gdm-password
-rw-r--r-- 1 root root 383 feb 9 15:15 gdm-launch-environment
-rw-r--r-- 1 root root 1342 feb 9 15:15 gdm-fingerprint
-rw-r--r-- 1 root root 1192 feb 9 15:15 gdm-autologin

gdm-fingerprint references:
auth required pam_fprintd.so
password required pam_fprin...

Read more...

Revision history for this message
Vincent Gerris (vgerris) wrote :

I found the issue, I had this installed from the Dell repo for 20.04 LTS:
libfprint-2-tod1-goodix
more specifically:
libfprint-2-tod1-goodix_0.0.6-0ubuntu1_somerville1_amd64.deb

This worked great with 20.04 and the fprintd version in there, but apparently it breaks the current version.
Seems I have to wait untill Dell/goodix releases a new version.

I will close this one since the issue is not with fprintd itself.

Changed in fprintd (Ubuntu):
status: New → Invalid
Revision history for this message
Vincent Gerris (vgerris) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.