[DynInst_API:] [dyninst/dyninst] 95c8b7: Fix a non-deterministic hang in test_thread_5


Date: Tue, 15 Jan 2019 12:29:10 -0800
From: Xiaozhu Meng <mxz297@xxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 95c8b7: Fix a non-deterministic hang in test_thread_5
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 95c8b75343bf901160b1321e569e42d11cc790de
      https://github.com/dyninst/dyninst/commit/95c8b75343bf901160b1321e569e42d11cc790de
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-01-12 (Sat, 12 Jan 2019)

  Changed paths:
    M proccontrol/src/handler.C

  Log Message:
  -----------
  Fix a non-deterministic hang in test_thread_5

When the mutator stops the mutatee, the mutator will wait for
all the threads in the mutatee to stop by counting the number
of STOP events. If one of the thread exited, there will be no
STOP comeing back.

When a pre-exit event is handled, if the thread has pending stop
to be waited, we should no longer wait for this thread.


  Commit: f7d9378cb140f2105c00f6732bdbdbe1a1ea048f
      https://github.com/dyninst/dyninst/commit/f7d9378cb140f2105c00f6732bdbdbe1a1ea048f
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M proccontrol/src/process.C

  Log Message:
  -----------
  Remove asserts that cause test failures


  Commit: 98b2f4ced5c8d6cea60c803cc3a6e9d09ca13a83
      https://github.com/dyninst/dyninst/commit/98b2f4ced5c8d6cea60c803cc3a6e9d09ca13a83
  Author: Xiaozhu Meng <mxz297@xxxxxxxxx>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M proccontrol/src/handler.C
    M proccontrol/src/process.C

  Log Message:
  -----------
  Merge pull request #528 from dyninst/ppc_pc_fix

Ppc pc fix


Compare: https://github.com/dyninst/dyninst/compare/fbc3c865d060...98b2f4ced5c8
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.
[← Prev in Thread] Current Thread [Next in Thread→]