微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

openssl EVP_DigestUpdate函数失败

如何解决openssl EVP_DigestUpdate函数失败

我正遇到一个实用程序的间歇性核心转储,该实用程序正在调用openssl库的EVP_DigestUpdate()函数。请注意,我在AIX操作系统中观察到此故障。我已附加了呼叫跟踪并指出了发生故障的位置,我无法每次都重现此消息,因此无法对其进行调试。另外请注意,该实用程序是以多进程方式调用的,这意味着在瞬间至少有4个实例正在运行,其中一个实例失败。

*Function Trace:
IOT/Abort trap in pthread_kill at 0x900000000582f94
[untrusted: /usr/lib/libpthreads.a(shr_xpg5_64.o)]
0x900000000582f94 (pthread_kill+0x194) e8a20028             ld   r5,0x28(r2)
(dbx) where
pthread_kill(??,??) at 0x900000000582f94 [untrusted: /usr/lib/libpthreads.a(shr_xpg5_64.o)]
_p_raise(??) at 0x9000000005827e4 [untrusted: /usr/lib/libpthreads.a(shr_xpg5_64.o)]
setpgrp() at 0x900000000039268 [untrusted: /usr/lib/libc.a(shr_64.o)]
monldq(??) at 0x900000000055c64 [untrusted: /usr/lib/libc.a(shr_64.o)]
.() at 0x1005e20d0 [inaccessible: missing <username>]
.() at 0x10288f8c0 [inaccessible: missing <username>]
.() at 0x10288f290 [inaccessible: missing <username>]
.() at 0x102e59b48 [inaccessible: missing <username>]
sha256_block_p8(??,??,??) at 0x80000000049e2a0
sha256_block_data_order() at 0x80000000049b93c
SHA256_Update@AF12_4() at 0x8000000004c51f0
update256() at 0x8000000004c3bd0
EVP_DigestUpdate() at 0x8000000004bcc84
OpenSSLCrypto::updateHash(void*,const SecureArray&)(0x112ba6290,0xffffffffffefc50,0x112ba63f0,0xffffffffffefc10) at 0x80000000043d77c.
<There are few calls from utility before this>*

我无法理解是什么原因导致了故障,以及为什么它是间歇性的?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。