Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2274

Threaderciser test valgrind error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • proton-c
    • None

    Description

      A recent test of Proton [1] revealed a threadersiser valgrind error:

       test 7
       Start 7: c-threaderciser
      7: Test command: /opt/pyenv/shims/python3 "/home/travis/build/apache/qpid-proton/scripts/env.py" "--" "TEST_EXE_PREFIX=/usr/bin/valgrind --tool=memcheck --leak-check=full --error-exitcode=42 --quiet --suppressions=/home/travis/build/apache/qpid-proton/tests/valgrind.supp" "/usr/bin/valgrind" "--tool=memcheck" "--leak-check=full" "--error-exitcode=42" "--quiet" "--suppressions=/home/travis/build/apache/qpid-proton/tests/valgrind.supp" "/home/travis/build/apache/qpid-proton/build/c/tests/c-threaderciser"
      7: Test timeout computed to be: 360
      7: threaderciser start: threads=8, time=1, actions=[listen, close-listen, connect, close-connect, wake, timeout, cancel-timeout]
      7: ==12926== 128,678 (1,128 direct, 127,550 indirect) bytes in 1 blocks are definitely lost in loss record 165 of 165
      7: ==12926== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
      7: ==12926== by 0x10B110: listener_ctx_new (threaderciser.c:264)
      7: ==12926== by 0x10B110: lpool_listen.part.0 (threaderciser.c:283)
      7: ==12926== by 0x10B88B: lpool_listen (threaderciser.c:380)
      7: ==12926== by 0x10B88B: global_do_stuff (threaderciser.c:380)
      7: ==12926== by 0x10BBD7: user_thread (threaderciser.c:398)
      7: ==12926== by 0x48AF608: start_thread (pthread_create.c:477)
      7: ==12926== by 0x49EB102: clone (clone.S:95)
      7: ==12926== 
       7/48 Test #7: c-threaderciser ..................***Failed 2.14 sec
      

      [1] https://travis-ci.org/github/apache/qpid-proton/jobs/721459983

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kpvdr Kim van der Riet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: