libopendkim crash, or openssl - or me?

From: John Fretby <>
Date: Tue, 16 May 2017 08:56:01 +0100

Hello all,

I have some code running which creates, and signs messages. This runs for
days sometimes weeks without issue but then eventually coredumps.

A backtrace from it shows:

(gdb) bt
#0 0x000000080201aa50 in SHA1_Init () from /lib/
#1 0x000000080201bac6 in SHA1_Update () from /lib/
#2 0x0000000801fe464b in RAND_SSLeay () from /lib/
#3 0x00000008020288fe in BN_rand_range () from /lib/
#4 0x00000008020286a0 in BN_mod_sqrt () from /lib/
#5 0x0000000802016372 in BN_BLINDING_create_param () from
#6 0x000000080201230f in RSA_setup_blinding () from /lib/
#7 0x0000000802008386 in RSA_PKCS1_SSLeay () from /lib/
#8 0x0000000802008da6 in RSA_PKCS1_SSLeay () from /lib/
#9 0x0000000801fe3369 in RSA_sign () from /lib/
#10 0x0000000800ed4f00 in dkim_eom () from /usr/local/lib/
#11 0x000000000040584a in finish_sign () at finish.c:94

finish.c, line 94 is just:

   dk_stat = dkim_eom( dkim_h, NULL );

Looking at the trace above should I be looking at my code or possible issue
with libopendkim or as the crash appears to be deep in libcrypto i.e.
openssl more likely something to do with that?

Just trying to cut down wasted time chasing down mine vs. libdkim vs.
openssl possible issues been a while since I have had to debug anything :(


Received on Tue May 16 2017 - 07:56:15 PST

This archive was generated by hypermail 2.3.0 : Tue May 16 2017 - 08:00:00 PST