Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4525

wt4333_handle_locks failures in valgrind

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT3.2.0, 4.1.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2019-01-14

      The wt4333_handle_locks test is failing about 50% of the time in the Jenkins wiredtiger-valgrind job. It is failing with an error about exceeding the maximum threads allowed by valgrind. Here's an example from http://build.wiredtiger.com:8080/job/wiredtiger-valgrind/3066/console:

      FAIL: test_wt4333_handle_locks
      ==============================
      
      Use --max-threads=INT to specify a larger number of threads
      and rerun valgrind
      
      valgrind: the 'impossible' happened:
         Max number of threads is too low
      
      Thread 1: status = VgTs_Runnable (lwpid 32578)
      Thread 2: status = VgTs_WaitSys (lwpid 19702)
      ...
      Thread 499: status = VgTs_WaitSys (lwpid 19072)
      

      All failures show up to thread 499. This implies the valgrind thread limit is 500.

      What is interesting is that wt4333_handle_locks always runs through a configuration that starts 600 worker threads and about half the time the test passes in valgrind. So I have no idea why sometimes 600 threads can succeed.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: