AnsweredAssumed Answered

Segmentation fault with any SSL library

Question asked by Kirill Brilliantov on Mar 14, 2013
Latest reply on Jul 15, 2013 by Kirill Brilliantov


We are use Linux- on our board with iMX538 CPU.

I write libary for get file SHA1 hash and sign it, this library use OpenSSL, I check work on my PC and not found any problem.

But after running application on board I always get segmentation fault in SSL library on memset, memcpy and other standart functions.

I try different version OpenSSL (0.9.8g from LTIB and 1.0.1e from site), I also check PolarSSL 1.2.6, error present always.

I also try use shared and static SSL library, but this is not change situtation.

But this time I can use HTTPS connection with mini_httpd 1.19 on board, it build with static OpenSSL.

Because I not found in work application on my host I not think what problem in it, I also think what problem is not in SSL library.

How can I found reason this problem?

Thank you and excuse my bad english.