openssl SSL_free()在solaris 10上崩溃

时间:2017-11-14 19:04:14

标签: ssl openssl solaris solaris-10

我正在开发一个使用SOAP提供OpenSSL功能的遗留SSL实现。代码似乎在windows,linux,aix上正常运行但在Solaris 10上特别失败。 在进一步调试核心时,我发现堆栈为:

  ....<crash>

  [5] __sighndlr(0xb, 0x7fffef07f89b0, 0x7fffef07f86d0, 0x7fffef480dc70, 0x0, 0xa), at 0x7fffefb8d8c28
  ---- called from signal handler with signal 11 (SIGSEGV) ------
  [6] _free_unlocked(0x7fffefba50140, 0x2000, 0x23e8, 0x7fffefba4ebd8, 0x7fffefba3e000, 0x7954696d650070), at 0x7fffefb8644e4
  [7] free(0x7954696d650070, 0x23d8, 0x1d9bb4, 0x7fffefb8d0290, 0x7fffefba3e000, 0x2000), at 0x7fffefb864470
  [8] CRYPTO_free(0x0, 0x20070, 0x20000, 0x7fffef97fae70, 0x24467c, 0x7954696d650070), at 0x7fffef95b6830
  [9] sk_free(0x10d8bd1a0, 0x20070, 0x20000, 0x7fffef97fae70, 0x24467c, 0x0), at 0x7fffef95eedb0
  [10] int_free_ex_data(0x0, 0x10efee9a0, 0x10efeea00, 0x10efb2480, 0x242344, 0x7fffef97fae70), at 0x7fffef95b8d0c
  [11] BIO_free_all(0x0, 0x10eee81e0, 0xffffffffffeed9e8, 0x7fffef97fae70, 0x213ff0, 0x112400), at 0x7fffef95e6f04
  [12] SSL_free(0x10eee81e0, 0x2, 0xbd00, 0x2, 0x25d9fc, 0x10), at 0x7fffef959d518

我找不到为什么这个为solaris专门失败的原因,我怎么解决这个问题?

0 个答案:

没有答案