收藏
回答

C++开发会话存档,调用getChatData时,直接core dump

问题类型 API/组件名称 终端类型 微信版本 基础库版本
Bug 企业微信会话存档 SDK Linux版 工具 3.0.40 SDK V1.2

调用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

问了客服,也不知道怎么解决,求大牛出马解决一下,万分感谢

回答关注问题邀请回答
收藏

3 个回答

  • 我就是我
    我就是我
    2020-12-17

    难道没有人碰到做这个奇葩问题吗?

    2020-12-17
    有用 1
    回复 1
    • 听雨
      听雨
      2021-02-05
      解决了吗?
      2021-02-05
      回复
  • 🎲
    🎲
    03-03

    我也是遇到了这个问题


    03-03
    有用
    回复
  • 欺负你和没脾气
    欺负你和没脾气
    2022-03-11

    同问!

    2022-03-11
    有用
    回复
登录 后发表内容
问题标签