[fprint] dbus + fprintd error

Konstantin V. Gavrilenko mlists at arhont.com
Mon Jan 12 12:18:08 GMT 2009


Hi Bastien,

by default the fprintd installs the pam_fprintd into the /usr/lib64/security, whil egentoo searches them in /lib/security.
So I simply simlinked it to the correct location /usr/lib64/security/pam_fprintd.so to /lib/security/pam_fprintd.so
I've removed the symlink, and copied the file, but it does not change anything, the same error appears.

As you asked,  recompiled some of the packages with "-O1 -gddb" and  "nostrip" options.



So here is the bt full output of the gdb



g_kos at dynomob ~ $ gdb /bin/su
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args -
(gdb) run
Starting program: /bin/su -
** Message: debug on
process 22019: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details.
Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection.
  /usr/lib/libdbus-1.so.3 [0x7fa3344d2bd6]
  /usr/lib/libdbus-1.so.3 [0x7fa3344d2189]
  /usr/lib/libdbus-1.so.3 [0x7fa3344c7797]
  /usr/lib/libdbus-1.so.3(dbus_connection_unref+0x1e9) [0x7fa3344a3899]
  /lib64/security/pam_fprintd.so(pam_sm_authenticate+0x395) [0x7fa334915284]
  /lib/libpam.so.0 [0x7fa33636dd2f]
  /lib/libpam.so.0(pam_authenticate+0x6c) [0x7fa33636d580]
  /bin/su [0x40337b]
  /lib/libc.so.6(__libc_start_main+0xf4) [0x7fa335e45b74]
  /bin/su(misc_conv+0x219) [0x4025b9]

Program received signal SIGABRT, Aborted.
0x00007fa335e583c5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt full
#0  0x00007fa335e583c5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1  0x00007fa335e5973e in *__GI_abort () at abort.c:88
        act = {__sigaction_handler = {sa_handler = 0x7fa3344d87be, sa_sigaction = 0x7fa3344d87be}, sa_mask = {__val = {2669, 140338933903424, 0, 140338933893054, 1343, 140338933904352,
      6321960, 6358848, 0, 6358464, 6442536, 140338933895256, 140338960737160, 206158430232, 140734245954896, 140734245954704}}, sa_flags = 6456640, sa_restorer = 0x624e20}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007fa3344d21d2 in _dbus_abort () at dbus-sysdeps.c:86
        s = 0x0
#3  0x00007fa3344c7797 in _dbus_warn_check_failed (
    format=0x7fa3344d9058 "The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details.\n%s") at dbus-internals.c:283
        args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff3ebce640, reg_save_area = 0x7fff3ebce570}}
#4  0x00007fa3344a3899 in dbus_connection_unref (connection=0x624e20) at dbus-connection.c:2686
        __FUNCTION__ = "dbus_connection_unref"
#5  0x00007fa334915284 in pam_sm_authenticate (pamh=0x6105c0, flags=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>) at pam_fprintd.c:375
        rhost = 0x0
        username = 0x610740 "root"
        i = <value optimized out>
        r = 0
#6  0x00007fa33636dd2f in _pam_dispatch (pamh=0x6105c0, flags=0, choice=1) at pam_dispatch.c:108
        h = <value optimized out>
        retval = <value optimized out>
        use_cached_chain = 0
        resumed = <value optimized out>
#7  0x00007fa33636d580 in pam_authenticate (pamh=0x6105c0, flags=0) at pam_auth.c:34
        retval = 4
#8  0x000000000040337b in main (argc=<value optimized out>, argv=0x7fff3ebce8e8) at su.c:632
        saved_locale = <value optimized out>
        cp = 0x7fff3ebd0240 "xterm"
        tty = 0x60d0c5 "pts/12"
        doshell = 1
        fakelogin = 1
        amroot = 0
        my_uid = <value optimized out>
        pw = <value optimized out>
        envp = (char **) 0x7fff3ebce900
        shellstr = 0x6109b0 "/bin/bash"
        command = 0x0
        envcp = <value optimized out>
        ret = 0
        long_options = {{name = 0x405f52 "command", has_arg = 1, flag = 0x0, val = 99}, {name = 0x405f5a "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x405f5f "login",
    has_arg = 0, flag = 0x0, val = 108}, {name = 0x405f65 "preserve-environment", has_arg = 0, flag = 0x0, val = 112}, {name = 0x405f7a "shell", has_arg = 1, flag = 0x0, val = 115}, {
    name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
(gdb)



-------- Original Message  --------
Subject: Re: [fprint] dbus + fprintd error
From: Bastien Nocera <hadess at hadess.net>
To: k.gavrilenko at arhont.com
Cc: fprint at reactivated.net
Date: 12/01/09 10:42

> On Sun, 2009-01-11 at 15:46 +0000, Konstantin V. Gavrilenko wrote:
>> I have installed fprintd, but there seems to be the problem, as su exits
>> with the following message:
>>
>> g_kos at dynomob / $ su -
>> ** Message: debug on
>> Swipe your right index finger on UPEK TouchStrip
>> process 9223: The last reference on a connection was dropped without
>> closing the connection. This is a bug in an application. See
>> dbus_connection_unref() documentation for details.
>> Most likely, the application was supposed to call
>> dbus_connection_close(), since this is a private connection.
>>   /usr/lib/libdbus-1.so.3 [0x7f59388eed8c]
>>   /usr/lib/libdbus-1.so.3 [0x7f59388ee309]
>>   /usr/lib/libdbus-1.so.3 [0x7f59388e39a5]
>>   /lib64/security/pam_fprintd.so(pam_sm_authenticate+0x6f2) [0x7f5938d32602]
>>   /lib/libpam.so.0 [0x7f593a5b4c89]
>>   /lib/libpam.so.0(pam_authenticate+0x43) [0x7f593a5b45a3]
>>   su [0x402dac]
>>   /lib/libc.so.6(__libc_start_main+0xf4) [0x7f593a08cb74]
>>   su(misc_conv+0x219) [0x402439]
>> Aborted
>>
>> the version of fprintd is git from 10 Jan 2009, running on gentoo
> 
> Could you please get a backtrace of the crash?
> 
>> dynomob / # equery files fprintd
>> [ Searching for packages matching fprintd... ]
>> * Contents of media-libs/fprintd-9999:
> <snip>
>> /usr/lib64/security/pam_fprintd.so
> 
> This isn't the same file as referenced above (one's in /usr the other
> isn't), is it a symlink or could there be a version mismatch?
> 
>> Has anyone seen such an error ?
> 
> Nope, but would be happy to see it fixed :)
> 
> Cheers
> 


-- 
Yours sincerely,
Konstantin V. Gavrilenko

Managing Director
Arhont Information Security Ltd

web:    http://www.arhont.com
        http://www.wi-foo.com
e-mail: k.gavrilenko at arhont.com

tel: +44 (0) 870 44 31337
fax: +44 (0) 208 429 3111

PGP: Key ID - 0xE81824F4
PGP: Server - keyserver.pgp.com


More information about the fprint mailing list