调用GetChatData API时,直接coredump,使用gdb分析coredump文件,发现在SDK内部调用Open SSL库时出错,bt显示如下:
#0 0x00007fa29dd10980 in TLSv1_2_enc_data () from /usr/lib64/libssl.so.10
#1 0x00007fa29dae5a9d in SSL_CTX_new () from /usr/lib64/libssl.so.10
#2 0x00007fa2939fbc99 in ossl_connect_step1 () from ./libWeWorkFinanceSdk_C.so
#3 0x00007fa2939fd383 in ossl_connect_common () from ./libWeWorkFinanceSdk_C.so
#4 0x00007fa2939ccf26 in Curl_ssl_connect_nonblocking () from ./libWeWorkFinanceSdk_C.so
#5 0x00007fa2939d2762 in https_connecting () from ./libWeWorkFinanceSdk_C.so
#6 0x00007fa2939d3f53 in Curl_http_connect () from ./libWeWorkFinanceSdk_C.so
#7 0x00007fa2939bbfdb in multi_runsingle () from ./libWeWorkFinanceSdk_C.so
#8 0x00007fa2939bcf33 in curl_multi_perform () from ./libWeWorkFinanceSdk_C.so
#9 0x00007fa2939b74db in curl_easy_perform () from ./libWeWorkFinanceSdk_C.so
#10 0x00007fa2939b493f in CurlGetData(std::string const&, std::string&, std::string&, std::string const&, std::string const&, int) () from ./libWeWorkFinanceSdk_C.so
#11 0x00007fa2939b53df in WeWorkFinanceSdk::TryRefresh(std::string const&, std::string const&, int) () from ./libWeWorkFinanceSdk_C.so
#12 0x00007fa2939b5656 in WeWorkFinanceSdk::GetChatData(unsigned long long, unsigned int, std::string const&, std::string const&, std::string&, int) () from ./libWeWorkFinanceSdk_C.so
#13 0x00007fa2939b271a in GetChatData () from ./libWeWorkFinanceSdk_C.so
#14 0x0000000000410023 in CUser::GetAndProcessChatMsgFromWXSvr() ()
#15 0x000000000040fe9b in CUser::ProcessWXMsgThreadRealProc() ()
#16 0x000000000040fe22 in CUser::ProcessWXMsgThreadProc(void*) ()
#17 0x00007fa29bd5be25 in start_thread () from /usr/lib64/libpthread.so.0
#18 0x00007fa29c6a1bad in clone () from /usr/lib64/libc.so.6
问了客服,也不知道怎么解决,求大牛出马解决一下,万分感谢
难道没有人碰到做这个奇葩问题吗?
我也是遇到了这个问题
同问!