[PATCH v3 3/5] gpg-agent: Implement --supervised command (for systemd, etc).

NIIBE Yutaka gniibe at fsij.org
Fri Oct 7 04:35:22 CEST 2016


On 10/07/2016 07:31 AM, Daniel Kahn Gillmor wrote:
> Program received signal SIGABRT, Aborted.
> #3  0x00007fd5d8134fa6 in malloc_printerr (action=3, str=0x7fd5d822080b "malloc(): memory corruption", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5046
> #4  0x00007fd5d8136f79 in _int_malloc (av=av at entry=0x7fd5d8456b00 <main_arena>, bytes=bytes at entry=720) at malloc.c:3509
> #5  0x00007fd5d81399ab in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3271
[...]
> #12 0x00005603f071c943 in log_info (fmt=<optimized out>) at ../../common/logging.c:817
> #13 0x00005603f06f6525 in map_supervised_sockets (r_fd_ssh=<optimized out>, r_fd_browser=<optimized out>, r_fd_extra=<optimized out>, r_fd=<optimized out>) at ../../agent/gpg-agent.c:755
> #14 main (argc=<optimized out>, argv=<optimized out>) at ../../agent/gpg-agent.c:1484

I fixed another part.  This is possibly related to this SIGABRT.
The commit is:  fc0b392e766af8127094e8b529d25abb84ad1d65

Before this fix, npth_protect/npth_unprotect was called with
uninitialized semaphore by libgpg-error.
-- 



More information about the Gnupg-devel mailing list