Key creation problem with 2.1.16

Carola Grunwald caro at nymph.paranoici.org
Tue Jan 31 14:35:59 CET 2017


Hi!

On Tue, 31 Jan 2017 11:38:08 +0100, Justus Winter wrote:

>Carola Grunwald <caro at nymph.paranoici.org> writes:
>
>> And there's no reason to run any test suite. Just start the agent and
>> wait. In the end there'll be two blocked libnpth-0 dlls.
>
>"Two blocked libnpth-0 dlls"?  Do you mean two threads within the
>gpg-agent.exe process?

Correct.

Normally in the threads list I see

TID   Start Address
2192  gpg-agent.exe+0x14e0
5224  ntdll.dll!TpCallbackIndependent+0x238
4696  ntdll.dll!EtwDeliverDataBlock+0x453

With a broken agent two libnpth-0.dll threads remain active infinitely

TID   Start Address
4816  gpg-agent.exe+0x14e0
5884  ntdll.dll!TpCallbackIndependent+0x238
5256  ntdll.dll!EtwDeliverDataBlock+0x453
2716  libnpth-0.dll!npth_setname_np+0x59
5776  libnpth-0.dll!npth_setname_np+0x59

>
>> Their threads' call stack dumps:
>>
>> ntoskrnl.exe!SeAccessCheckWithHint+0xb4a
>> ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x7d2
>> ntoskrnl.exe!KeWaitForMutexObject+0x19f
>> ntoskrnl.exe!PsIsSystemProcess+0x94
>> ntoskrnl.exe!KeStackAttachProcess+0x11c1
>> ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x9dd
>> ntoskrnl.exe!KeWaitForMutexObject+0x19f
>> ntoskrnl.exe!NtWaitForSingleObject+0xb2
>> ntoskrnl.exe!KeSynchronizeExecution+0x3a43
>> wow64cpu.dll!TurboDispatchJumpAddressEnd+0x690
>> wow64cpu.dll!TurboDispatchJumpAddressEnd+0x484
>> wow64.dll!Wow64SystemServiceEx+0x1ce
>> wow64.dll!Wow64LdrpInitialize+0x429
>> ntdll.dll!LdrGetProcedureAddress+0x24127
>> ntdll.dll!LdrInitializeThunk+0xe
>> ntdll.dll!NtWaitForSingleObject+0x15
>> ntdll.dll!RtlIntegerToUnicodeString+0x20b
>> libnpth-0.dll!npth_clock_gettime+0x18f
>> libnpth-0.dll!npth_protect+0x1b
>> gpg-agent.exe+0x1594
>> libassuan-0.dll!assuan_get_assuan_log_prefix+0x169b
>> libassuan-0.dll!assuan_socket_connect+0x47e
>> gpg-agent.exe+0x1e5c
>> ntdll.dll!RtlInitializeExceptionChain+0x63
>> ntdll.dll!RtlInitializeExceptionChain+0x36
>>
>> and
>>
>> ntoskrnl.exe!SeAccessCheckWithHint+0xb4a
>> ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x7d2
>> ntoskrnl.exe!KeWaitForMutexObject+0x19f
>> ntoskrnl.exe!PsIsSystemProcess+0x94
>> ntoskrnl.exe!KeStackAttachProcess+0x11c1
>> ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x9dd
>> ntoskrnl.exe!KeWaitForMutexObject+0x19f
>> ntoskrnl.exe!NtWaitForSingleObject+0xb2
>> ntoskrnl.exe!KeSynchronizeExecution+0x3a43
>> wow64cpu.dll!TurboDispatchJumpAddressEnd+0x690
>> wow64cpu.dll!TurboDispatchJumpAddressEnd+0x484
>> wow64.dll!Wow64SystemServiceEx+0x1ce
>> wow64.dll!Wow64LdrpInitialize+0x429
>> ntdll.dll!LdrGetProcedureAddress+0x24127
>> ntdll.dll!LdrInitializeThunk+0xe
>> ntdll.dll!NtWaitForSingleObject+0x15
>> mswsock.dll+0x678c
>> mswsock.dll+0x461c
>> libassuan-0.dll!__assuan_read+0x11f
>> libassuan-0.dll!assuan_free+0x3a2
>> libassuan-0.dll!assuan_get_assuan_log_prefix+0xd4f
>> libassuan-0.dll!assuan_get_assuan_log_prefix+0x1dc9
>> libassuan-0.dll!assuan_sock_check_nonce+0x21
>> gpg-agent.exe+0x2bfc
>> ntdll.dll!RtlInitializeExceptionChain+0x63
>> ntdll.dll!RtlInitializeExceptionChain+0x36
>>
>> with gpg-agent.exe:
>
>I am lost here.  What do you mean by "with gpg-agent.exe" here?  Another
>thread within the same process?

The main thread of the process.

>
>> ntoskrnl.exe!SeAccessCheckWithHint+0xb4a
>> ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x7d2
>> ntoskrnl.exe!KeWaitForMutexObject+0x19f
>> ntoskrnl.exe!PsIsSystemProcess+0x94
>> ntoskrnl.exe!KeStackAttachProcess+0x11c1
>> ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x9dd
>> ntoskrnl.exe!KeWaitForMutexObject+0x19f
>> ntoskrnl.exe!NtWaitForSingleObject+0xb2
>> ntoskrnl.exe!KeSynchronizeExecution+0x3a43
>> wow64cpu.dll!TurboDispatchJumpAddressEnd+0x690
>> wow64cpu.dll!TurboDispatchJumpAddressEnd+0x484
>> wow64.dll!Wow64SystemServiceEx+0x1ce
>> wow64.dll!Wow64LdrpInitialize+0x429
>> ntdll.dll!RtlResetRtlTranslations+0x1b08
>> ntdll.dll!RtlResetRtlTranslations+0xc63
>> ntdll.dll!LdrInitializeThunk+0xe
>> ntdll.dll!NtWaitForSingleObject+0x15
>> ntdll.dll!RtlIntegerToUnicodeString+0x20b
>> libnpth-0.dll!npth_clock_gettime+0x18f
>> libnpth-0.dll!npth_eselect+0x485
>> gpg-agent.exe+0x374b

Kind regards

Caro



More information about the Gnupg-devel mailing list