Ubuntu 16.04.3 LTS, Postfix 3.1.0, opendkim 2.10.3. Whenever a message is posted that needs to be signed I am getting this in my syslog:
opendkim[xxxxxx]: terminated with signal 11, restarting
postfix/cleanup[27208]: warning: milter local:/opendkim/opendkim.sock: can't read SMFIC_EOH reply packet header: Success
And this in kern.log
kernel: opendkim[xxxxx]]: segfault at 0 ip 00007f5c36f4c746 sp 00007f5c30982098 error 4 in libc-2.23.so[7f5c36ec1000+1c0000]
Addresses are identical each time the segfault is logged.
You should generate core-dump of the failed process and attach a backtrace here. Otherwise not much can be done. In internet there is enough information about how to generate coredumps and backtraces.
Sharing your configuration file might be usefull..