Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-24182

Check possible memory leaks in wsstore reported by valgrind

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.22
    • Component/s: ws_store
    • Labels:
      None

      Description

      ==18092== 1,696 (1,296 direct, 400 indirect) bytes in 2 blocks are definitely lost in loss record 671 of 796
      ==18092== at 0x4C3017F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==18092== by 0x23F06402: CwsstoreEx::onSet(IEspContext&, IEspSetRequest&, IEspSetResponse&) (ws_storeService.cpp:275)
      ==18092== by 0x23F45DDC: ws_store::CwsstoreSoapBinding::onGetInstantQuery(IEspContext&, CHttpRequest*, CHttpResponse*, char const*, char const*) (ws_store.esp:8020)
      ==18092== by 0x4EFA0AD: EspHttpBinding::onGetQuery(IEspContext&, CHttpRequest*, CHttpResponse*, char const*, char const*) (httpbinding.hpp:295)
      ==18092== by 0x4EEDBD9: EspHttpBinding::onGet(CHttpRequest*, CHttpResponse*) (httpbinding.cpp:994)
      ==18092== by 0x4EFA12C: EspHttpBinding::onPostForm(CHttpRequest*, CHttpResponse*) (httpbinding.hpp:307)
      ==18092== by 0x4EED0BD: EspHttpBinding::handleHttpPost(CHttpRequest*, CHttpResponse*) (httpbinding.cpp:892)
      ==18092== by 0x4F04290: CEspHttpServer::processRequest() (httpservice.cpp:359)
      ==18092== by 0x4EFFDF6: CHttpThread::onRequest() (httpprot.cpp:480)
      ==18092== by 0x4F51601: CEspProtocolThread::run() (espthread.cpp:179)
      ==18092== by 0x6224194: Thread::begin() (jthread.cpp:291)
      ==18092== by 0x6223BDE: Thread::_threadmain(void*) (jthread.cpp:137)
      ==18092== by 0x6CDE6DA: start_thread (pthread_create.c:463)
      ==18092== by 0x701788E: clone (clone.S:95)

      ==18092== 9,328 (7,128 direct, 2,200 indirect) bytes in 11 blocks are definitely lost in loss record 741 of 796
      ==18092== at 0x4C3017F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==18092== by 0x23F0658E: CwsstoreEx::onFetch(IEspContext&, IEspFetchRequest&, IEspFetchResponse&) (ws_storeService.cpp:292)
      ==18092== by 0x23F4471C: ws_store::CwsstoreSoapBinding::onGetInstantQuery(IEspContext&, CHttpRequest*, CHttpResponse*, char const*, char const*) (ws_store.esp:7797)
      ==18092== by 0x4EFA0AD: EspHttpBinding::onGetQuery(IEspContext&, CHttpRequest*, CHttpResponse*, char const*, char const*) (httpbinding.hpp:295)
      ==18092== by 0x4EEDBD9: EspHttpBinding::onGet(CHttpRequest*, CHttpResponse*) (httpbinding.cpp:994)
      ==18092== by 0x4EFA12C: EspHttpBinding::onPostForm(CHttpRequest*, CHttpResponse*) (httpbinding.hpp:307)
      ==18092== by 0x4EED0BD: EspHttpBinding::handleHttpPost(CHttpRequest*, CHttpResponse*) (httpbinding.cpp:892)
      ==18092== by 0x4F04290: CEspHttpServer::processRequest() (httpservice.cpp:359)
      ==18092== by 0x4EFFDF6: CHttpThread::onRequest() (httpprot.cpp:480)
      ==18092== by 0x4F51601: CEspProtocolThread::run() (espthread.cpp:179)
      ==18092== by 0x6224194: Thread::begin() (jthread.cpp:291)
      ==18092== by 0x6223BDE: Thread::_threadmain(void*) (jthread.cpp:137)
      ==18092== by 0x6CDE6DA: start_thread (pthread_create.c:463)
      ==18092== by 0x701788E: clone (clone.S:95)

        Attachments

          Activity

            People

            • Assignee:
              rpastrana Rodrigo Pastrana
              Reporter:
              wangkx Kevin Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: