Page MenuHome GnuPG

Segfault in gpg-agent running with --enable-ssh-support on OS X 10.10 Yosemite
Closed, ResolvedPublic

Description

When running gpg-agent 2.1.5 on OS X 10.10.3 and command line "/usr/local/bin/gpg-agent
--daemon --scdaemon-program /usr/local/Cellar/gnupg21/2.1.5/libexec/scdaemon --write-
env-file /Users/epall/.gnupg/gpg.env --use-standard-socket --default-cache-ttl 43200 --
enable-ssh-support --default-cache-ttl-ssh 43200", I'm getting occasional segfaults
inside of libdispatch, called from ssh_handler_request_identities. These seem to be
correlated with invocations of ssh, and tend to happen after a few days of uptime.

Details

Version
2.1.5

Related Objects

Event Timeline

epall added a subscriber: epall.

werner added a subscriber: werner.

Thanks for the report. However I am not rigged to replicate this thus we need
to wait for someone elese to look at this.

BTW, you should not use --write-env-file and --use-standard-socket because they
are the defaults in 2.1. --scdaemon-program is only a debug option. GnuPG
knows the full names of all its modules.

Thanks for the advice! I totally cargo-culted those flags from some tutorial on the
Internet, so I'm not surprised they're out of whack.

I can hook up a debugger and investigate myself if you give me some idea of where to
look and what to look for.

I have no idea myself. We do not use libdispacth direclty but it may be used
indirectkly be socket or threads code. Thus I would start to look at libnpth -
but it won't be easy to find such a problem.

gniibe added a subscriber: gniibe.

Perhaps, this is same bug in T2112

Closing, I assume it's the same bug of 2112, which was fixed.