Your message dated Wed, 26 Oct 2016 22:23:51 +0000
with message-id <[email protected]>
and subject line Bug#841437: fixed in gnupg2 2.1.15-6
has caused the Debian Bug report #841437,
regarding gnupg-agent: --supervised segfaults immediately
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.)


-- 
841437: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841437
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnupg-agent
Version: 2.1.15-4

Hi,

gnupg-agent --supervised in Debian Sid now crashes immediately on startup,
which makes it unusable with systemd.

Backtrace from the binary with debug symbols below:

$ gdb ./gpg-agent
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./gpg-agent...done.
(gdb) r --supervised
Starting program: /home2/henry/tmp/gpg2/gnupg2-2.1.15/build/agent/gpg-agent
--supervised
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gpg-agent (GnuPG) 2.1.15 starting in supervised mode.
no LISTEN_PID environment variable found in --supervised mode (ignoring)
no LISTEN_FDS or LISTEN_FDNAMES environment variables found in --supervised
mode (assuming 1 active descriptor)
listening on: std=3 extra=-1 browser=-1 ssh=-1

Program received signal SIGSEGV, Segmentation fault.
strrchr () at ../sysdeps/x86_64/strrchr.S:32
32 ../sysdeps/x86_64/strrchr.S: No such file or directory.
(gdb) bt
#0  strrchr () at ../sysdeps/x86_64/strrchr.S:32
#1  0x00005555555615e7 in handle_connections (listen_fd=3,
listen_fd_extra=-1, listen_fd_browser=-1, listen_fd_ssh=-1) at
../../agent/gpg-agent.c:2825
#2  0x000055555555e3fe in main (argc=<optimized out>, argv=<optimized out>)
at ../../agent/gpg-agent.c:1504
(gdb) l
27 in ../sysdeps/x86_64/strrchr.S
(gdb) frame 1
#1  0x00005555555615e7 in handle_connections (listen_fd=3,
listen_fd_extra=-1, listen_fd_browser=-1, listen_fd_ssh=-1) at
../../agent/gpg-agent.c:2825
2825      char *slash = strrchr (socket_name, '/');
(gdb) l
2820              strerror (errno));
2821  else
2822    {
2823      /* We need to watch the directory for the file becuase there
2824       * won't be an IN_DELETE_SELF for a socket file.  */
2825      char *slash = strrchr (socket_name, '/');
2826      log_assert (slash && slash[1]);
2827      *slash = 0;
2828      if (inotify_add_watch (my_inotify_fd, socket_name, IN_DELETE) ==
-1)
2829        {
(gdb) print socket_name
$1 = 0x0

Regards, Jindrich
-- 
Jindřich Makovička

--- End Message ---
--- Begin Message ---
Source: gnupg2
Source-Version: 2.1.15-6

We believe that the bug you reported is fixed in the latest version of
gnupg2, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <[email protected]> (supplier of updated gnupg2 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 26 Oct 2016 17:44:20 -0400
Source: gnupg2
Binary: gnupg-agent scdaemon gpgsm gnupg gnupg2 gpgv gpgv2 dirmngr gpgv-udeb 
gpgv-win32 gnupg-l10n
Architecture: source
Version: 2.1.15-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuPG Maintainers <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Description:
 dirmngr    - GNU privacy guard - network certificate management service
 gnupg      - GNU privacy guard - a free PGP replacement
 gnupg-agent - GNU privacy guard - cryptographic agent
 gnupg-l10n - GNU privacy guard - localization files
 gnupg2     - GNU privacy guard - a free PGP replacement (dummy transitional pa
 gpgsm      - GNU privacy guard - S/MIME version
 gpgv       - GNU privacy guard - signature verification tool
 gpgv-udeb  - minimal signature verification tool (udeb)
 gpgv-win32 - GNU privacy guard - signature verification tool (win32 build)
 gpgv2      - GNU privacy guard - signature verification tool (dummy transition
 scdaemon   - GNU privacy guard - smart card support
Closes: 840680 841437
Changes:
 gnupg2 (2.1.15-6) unstable; urgency=medium
 .
   * more upstream patches (Closes: #841437, #840680)
Checksums-Sha1:
 537f226b9e490518abc901b3a748787a3b3b8712 3194 gnupg2_2.1.15-6.dsc
 4c0ea04fbc02a4d1b93508dce8610564d545229b 111988 gnupg2_2.1.15-6.debian.tar.bz2
Checksums-Sha256:
 8101884cfaee5ba95af2234de568b7edbd0a21d9c65c7398bfd46b245d691279 3194 
gnupg2_2.1.15-6.dsc
 be64ed272841f43d7ef93a2c96d946d7dd0d0783b8145c679fa84de9f1c2537d 111988 
gnupg2_2.1.15-6.debian.tar.bz2
Files:
 4d3e1957f73aed586e3256634a6f13f3 3194 utils optional gnupg2_2.1.15-6.dsc
 771e8b80f966d214de4fa50486eb4fbe 111988 utils optional 
gnupg2_2.1.15-6.debian.tar.bz2

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9BQJYESczXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy
NEVDRkY1QUZGNjgzNzBBFhxka2dAZmlmdGhob3JzZW1hbi5uZXQACgkQJOz/Wv9o
Nwq9xw/+PSYEkRwJWOKMd4PQ/i3f83JhTphKEyGztDZ1TzD9flwGemftmeMYWJg2
N9iK7ikoIgIjHvi4N04PBOJMcF/C9DoXHOB05U3hbhS5awjaLmj7D2Pv20NjKYyP
usurBzLWAlwD3AED2cebVAu++BhQ9xTj3puz9r2l716DF8IgPXMyfsVetcD++wnx
sEOMIlZhMxI3ln4ujeo30CPeTGpSxva7NE7loSKq/ne5XJIt5BT6gNesgRhiAqlC
hregEbds7Nu93poMHGZDE6/oYkCcL/SQLgb5h02Nl0O9HkwZ04966WD+jCoh/Tve
Z3uWC6Hq7/bHavki76gQ2oRNjmwI5XvwttdY9p4olHFH7J+qvD+E0itnnGmZRppS
kUllI8AbvE/OPRUZNDuD6Ec6zj5ozI7IEBahyRrPqut3f5ZpA8Z+qitT15ZrAtGZ
qc5cs2JppfmXwUWxB75TVYNzD0vaBFaieq8ufdjwhYpI1vO/+KUcSIi2KHbentWE
ahT+xVwy2nNMTbYl5pw5xGOHF1LYAxdHg9jqEARjob+Q5vI4CqVRqy22jUj2oywJ
hyzJlcmTFn4+bLD8TfkiquWn65r2VF/XDxNilpqAvZk8Yoy9Z9LbJldqm1zxw8Px
IACSFHqEZTAV1aFtQ2fuBRBDHvIcpUpOyH4dvRY9HwPbYtdTvWQ=
=BeMY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to