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

Valgrind failure in c_threaderciser test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-c-0.31.0
    • None
    • build
    • None
    • Fedora 31

    Description

      From PROTON-2270 research

      7: Test timeout computed to be: 6000
      7: threaderciser start: threads=8, time=1, actions=[listen, close-listen, connect, close-connect, wake, timeout, cancel-timeout]
      7: ==7576== 2,320 (1,408 direct, 912 indirect) bytes in 1 blocks are definitely lost in loss record 148 of 156
      7: ==7576==    at 0x483BB1A: calloc (vg_replace_malloc.c:760)
      7: ==7576==    by 0x4854315: pn_listener (epoll.c:1617)
      7: ==7576==    by 0x402C9C: listener_ctx_new (threaderciser.c:264)
      7: ==7576==    by 0x402C9C: lpool_listen.part.0 (threaderciser.c:282)
      7: ==7576==    by 0x40338B: lpool_listen (threaderciser.c:379)
      7: ==7576==    by 0x40338B: global_do_stuff (threaderciser.c:379)
      7: ==7576==    by 0x40360F: handle (threaderciser.c:414)
      7: ==7576==    by 0x40360F: proactor_thread (threaderciser.c:476)
      7: ==7576==    by 0x48D34E1: start_thread (pthread_create.c:479)
      7: ==7576==    by 0x49ED6C2: clone (clone.S:95)
      7: ==7576== 
      7: ==7576== 95,957 (1,128 direct, 94,829 indirect) bytes in 1 blocks are definitely lost in loss record 156 of 156
      7: ==7576==    at 0x483980B: malloc (vg_replace_malloc.c:307)
      7: ==7576==    by 0x402C94: listener_ctx_new (threaderciser.c:263)
      7: ==7576==    by 0x402C94: lpool_listen.part.0 (threaderciser.c:282)
      7: ==7576==    by 0x40338B: lpool_listen (threaderciser.c:379)
      7: ==7576==    by 0x40338B: global_do_stuff (threaderciser.c:379)
      7: ==7576==    by 0x40368F: user_thread (threaderciser.c:397)
      7: ==7576==    by 0x48D34E1: start_thread (pthread_create.c:479)
      7: ==7576==    by 0x49ED6C2: clone (clone.S:95)
      7: ==7576== 
      1/1 Test #7: c-threaderciser ..................***Failed    5.75 sec
      
      0% tests passed, 1 tests failed out of 1
      
      Total Test time (real) =   5.76 sec
      
      The following tests FAILED:
      	  7 - c-threaderciser (Failed)
      Errors while running CTest

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: