Page MenuHome GnuPG

GPGME hangs during make check on Mac
Closed, ResolvedPublic

Description

Mountain Lion OS X 10.8.3 (12D78)
gcc i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1

GPGME v1.4.0 make check hangs; seems to be fd-passing related.

./configure --with-libgpg-error-prefix=/usr/local --with-libassuan-
prefix=/usr/local

        GPGME v1.4.0 has been configured as follows:

        Revision:        ef5cd38  (61276)
        Platform:        x86_64-apple-darwin12.3.0

        GnuPG path:      /usr/local/bin/gpg
        GnuPG version:   1.4.13, min. 1.4.0
        GpgSM path:      /usr/local/bin/gpgsm
        GpgSM version:   2.0.19, min. 1.9.6
        GpgConf path:    /usr/local/bin/gpgconf
        GpgConf version: 2.0.19, min. 2.0.4
        G13 path:        no
        G13 version:     unknown, min. 2.1.0

        Assuan version:  2.1.0, min. 2.0.2

        UI Server:       yes
        FD Passing:      yes
        GPGME Pthread:   yes

make check
hangs during gpgsm tests
in file t-verify.c at call to gpgme_op_getauditlog()

goes to engine-gpgsm.c : gpsm_getauditlog()
hangs in call to err = start (gpgsm, (flags & GPGME_AUDITLOG_HTML)? CMD " --
html" : CMD);

NOTE: getenv_r() does not exist on this system
NOTE: make check works if: (1) ./configure --disable-gpgsm-test or (2) ./configure --disable-fd-passing

Details

Version
1.4.0

Event Timeline

outer added projects: Bug Report, gpgme.
outer added a subscriber: outer.

Following the calling chain, we eventually call the OS itself using select(2).
This happens twice. The first call works. The 2nd call hangs in a loop, with
select(2) returning <0 and errno set to EINTR (call was interrupted).

werner added a subscriber: werner.

For 1.4.1 I reverted the default for to --disable-fd-passing. This should fix
the immediate problem. If you can find the actual reason for this problem,
please follow up and change the status back to chatting.

werner claimed this task.
werner removed a project: Stalled.

This has meanwhile been fixed. It actually was a GnuPG Problem.