- Source:
- biometric-authentication
- Description:
- Biometric Authentication Driver (community multidevice)
- Submitter:
- Damyan Ivanov
- Date:
- 2026-07-10 23:21:02 UTC
- Severity:
- important
Hi, Upon startup, the biometric-auth service fails with segmentation violation and a core dump: systemd[1]: Starting Authenticate by human biometric... biometric-authenticationd[1343]: [ NOTE] Database format version is 1.1.0 biometric-authenticationd[1343]: [ NOTE] The database format is compatible with the current framework systemd[1]: biometric-authentication.service: Main process exited, code=dumped, status=11/SEGV systemd[1]: biometric-authentication.service: Failed with result 'core-dump'. systemd[1]: Failed to start Authenticate by human biometric. Here's the stack contents: Thread 3 (Thread 0x7f362ad5d640 (LWP 1717)): #0 0x00007f362f3bd87f in __GI___poll (fds=0x7f3624000b80, nfds=2, timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f362f4d9319 in ?? () from /usr/lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x00007f362f4d67f9 in ?? () from /usr/lib/x86_64-linux-gnu/libusb-1.0.so.0 #3 0x00007f362f4d7d78 in libusb_handle_events_timeout_completed () from /usr/lib/x86_64-linux-gnu/libusb-1.0.so.0 #4 0x00007f362aff808e in ?? () from /usr/lib/x86_64-linux-gnu/libgusb.so.2 #5 0x00007f362f56859d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007f362f4afd80 in start_thread (arg=0x7f362ad5d640) at pthread_create.c:481 #7 0x00007f362f3c976f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f362e77e640 (LWP 1716)): #0 0x00007f362f3bd87f in __GI___poll (fds=0x7f362e77dc60, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f362f4de497 in ?? () from /usr/lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x00007f362f4afd80 in start_thread (arg=0x7f362e77e640) at pthread_create.c:481 #3 0x00007f362f3c976f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f362ea4cd80 (LWP 1715)): #0 0x00007f362f8a3941 in community_ops_discover (dev=0x559071a61c80) at ../../../../src/drivers/community-multidevice/community_ops.c:60 #1 0x00007f362f890cea in bio_device_list_init () from /usr/lib/x86_64-linux-gnu/libbiometric.so.0 #2 0x000055907179ef3b in ?? () #3 0x000055907179bc26 in ?? () #4 0x00007f362f2f27fd in __libc_start_main (main=0x55907179ba30, argc=1, argv=0x7ffc50d2cde8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc50d2cdd8) at ../csu/libc-start.c:332 #5 0x000055907179be6a in ?? () The segmentation fault is in Thread 1 (upekts.so) The machine is a ThinkPad X1 Carbon 5th. It has a fingerprint sensor: Bus 001 Device 004: ID 138a:0097 Validity Sensors, Inc. I guess it is not supported, but still, a segmentation fault is a bit too harsh :)
Hello Damyan,
I was just looking through random bugs and got here.
(Without the hardware to reproduce.)
When I assume the crash happened in thread 1,
then it happens at this line: [1]
60 if ((strcmp(getenv("BIO_PRINT_LEVEL"), "7") == 0) && (strcmp(getenv("BIO_PRINT_COLOR"), "1") == 0))
61 setenv ("G_MESSAGES_DEBUG", "all", 0);
Both getenv might return NULL, and passing these to strcmp
seems to be undefined behaviour.
Therefore it might be interesting to see what happens
if these environments get actually set?
Not necessarily to the values expected above.
But I am not sure as I would expect seeing the strcmp in the backtrace.
Kind regards,
Bernhard
[1] https://sources.debian.org/src/biometric-authentication/0.9.71-1/src/drivers/community-multidevice/community_ops.c/#L60
We believe that the bug you reported is fixed in the latest version of
biometric-authentication, 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 1011325@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
zhangpan <zhangpan@kylinos.cn> (supplier of updated biometric-authentication 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)
Format: 1.8
Date: Fri, 10 Jul 2026 15:14:18 +0800
Source: biometric-authentication
Architecture: source
Version: 0.9.72-2
Distribution: unstable
Urgency: medium
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Changed-By: zhangpan <zhangpan@kylinos.cn>
Closes: 1011325 1022541
Changes:
biometric-authentication (0.9.72-2) unstable; urgency=medium
.
* Update Vcs-* fields to point to Salsa.
* Update copyright Source to point to Gitee.
* Update upstream/metadata to point to Gitee.
* Add debian/gbp.conf.
* Add debian/salsa-ci.yml.
* Update debian/watch to use @PACKAGE@ placeholder.
* Add Files: debian/* paragraph to copyright.
* Update Standards-Version to 4.7.4.
* Bump debhelper-compat to 14.
* Update Homepage to Gitee.
* Add patch to fix segfault when getenv returns NULL.
(Closes: #1011325)
* Fix #DEBHELPER# placement in maintainer scripts.
(Closes: #1022541)
* Add update-rc.d registration for init.d script.
Checksums-Sha1:
ca854a59f60501eb3ea39606fa876c9f91fa19b4 2650 biometric-authentication_0.9.72-2.dsc
605ccf723485c0c5819e5b10354154978360613a 6984 biometric-authentication_0.9.72-2.debian.tar.xz
b2ad3908a394667dee0ec25c5362f5dce737e223 18653 biometric-authentication_0.9.72-2_amd64.buildinfo
Checksums-Sha256:
fbb311437a8b9261cabf447a426c8d462dfcfe7c12e9e492ae09bbd93c23ead0 2650 biometric-authentication_0.9.72-2.dsc
14d44842a8ebf95817b4ad023d13f63f4cf0f107edce8f852bcf428bf694b26d 6984 biometric-authentication_0.9.72-2.debian.tar.xz
8ead25ef5a10b091f145ee55e0f9565fe8069515110250e7c4f9fa4c2adf65ea 18653 biometric-authentication_0.9.72-2_amd64.buildinfo
Files:
3029fa960a841bbea3cb34c405035b42 2650 admin optional biometric-authentication_0.9.72-2.dsc
4342afab20c036ba1b5000b7e9b2088d 6984 admin optional biometric-authentication_0.9.72-2.debian.tar.xz
105f4112622da008325643385d9e7f29 18653 admin optional biometric-authentication_0.9.72-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmpReP8RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFo4A/+Pb6V5dcvrS7ml/4+vL2xcUNukSJlU/ib
V05G+aLucWPwZinE8Lt+rP64ChqIHTSNrhikBNkkLTYNMCSeOf0YIy+MoZdYNI/O
8PRFMnXwefJetlcJ2nHli31UWefgy/zHG02l9FtOqWJCds1NWes3i+qGDlRdruHb
KpY7By7WnNI/m86yJurgi67vEh5lOr3m0TMVQftsgkr3+x0rLlHJ8CzqNiD4ADIm
yLniVfuriQifYdNxd12hJrZZtJjENijHtzbRE1EjrwkbS3jTm87x82lMatBZkLnf
s9nkWAkKvzlId+JhZImmNoqwB4BA+DllzbTJeE1+feTNVIJtjQNEHPA+iUuBX1qQ
mB/kLCkdGuAIe+9z10PkJBGiNQnV7Vth8tdsnmToHMPd3dqwF72eVZfEEEkAN1Fx
pBWDJEdcMY//OJ6Hkck/cNYNEfEPeTsvrVEiE/zLqKu5OPzyr2ejO89LwDRuDVwx
cWR/RZqNMSR+1b9ZT8KI1VmF5Y9j9oJf+TE0grUU+ewJJODFdwSyrq+tRYrr6bTK
fRILtgmgwNYIYNLvhgpuFIvd+yelxn4kZ9Y5BSlDS+w6C79qh0qGwd98IN02KhbV
n+ZdHpqzVX+yOifYXNw3E2rDkyT9lZvw5rnegMQM2ticG4B2G9+73Iz5pAeq61hl
8D0YV59hjXE=
=bGtO
-----END PGP SIGNATURE-----