[Lldb-commits] [PATCH] D120284: [lldb/test] Fix TestProgressReporting.py race issue with the event listener

Michael Forster via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 25 05:04:33 PST 2022


MForster added a comment.

This fails under MSAN:

  ==3096==WARNING: MemorySanitizer: use-of-uninitialized-value
      #0 0x7f0e7899ce18  (/build/work/73ffa3b6f1cbc2218b7b71e21a3dd1e2e53b/google3/runfiles/google3/third_party/py/lldb/dotest_wrapper.par/@0x3a0b9000+0x2e3e18) (BuildId: 4c3940d9ff00226e685dcfb93f4b4753)
      #1 0x7f0e7898fcc8  (/build/work/73ffa3b6f1cbc2218b7b71e21a3dd1e2e53b/google3/runfiles/google3/third_party/py/lldb/dotest_wrapper.par/@0x3a0b9000+0x2d6cc8) (BuildId: 4c3940d9ff00226e685dcfb93f4b4753)
      #2 0x7f0e78973001  (/build/work/73ffa3b6f1cbc2218b7b71e21a3dd1e2e53b/google3/runfiles/google3/third_party/py/lldb/dotest_wrapper.par/@0x3a0b9000+0x2ba001) (BuildId: 4c3940d9ff00226e685dcfb93f4b4753)
      #3 0x7f0e78cd1f10  (/build/work/73ffa3b6f1cbc2218b7b71e21a3dd1e2e53b/google3/runfiles/google3/third_party/py/lldb/dotest_wrapper.par/@0x3a0b9000+0x618f10) (BuildId: 4c3940d9ff00226e685dcfb93f4b4753)
      #4 0x558eaf3ecc70 in cfunction_call_varargs third_party/python_runtime/v3_7/Objects/call.c:770:18
      #5 0x558eaf3ecc70 in PyCFunction_Call third_party/python_runtime/v3_7/Objects/call.c:786:16
      #6 0x558eaf685ff8 in do_call_core third_party/python_runtime/v3_7/Python/ceval.c:4641:9
      #7 0x558eaf685ff8 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_7/Python/ceval.c:3191:22
      #8 0x558eaf6a0691 in PyEval_EvalFrameEx third_party/python_runtime/v3_7/Python/ceval.c:547:12
      #9 0x558eaf6a0691 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_7/Python/ceval.c:3930:14
      #10 0x558eaf3ebaa3 in _PyFunction_FastCallKeywords third_party/python_runtime/v3_7/Objects/call.c:433:12
      #11 0x558eaf69db2d in call_function third_party/python_runtime/v3_7/Python/ceval.c:4616:17
      #12 0x558eaf685844 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_7/Python/ceval.c:3093:23
      #13 0x558eaf67d594 in PyEval_EvalFrameEx third_party/python_runtime/v3_7/Python/ceval.c:547:12
      #14 0x558eaf3ed230 in function_code_fastcall third_party/python_runtime/v3_7/Objects/call.c:283:14
      #15 0x558eaf3ea160 in _PyFunction_FastCallDict third_party/python_runtime/v3_7/Objects/call.c
      #16 0x558eaf3e99a4 in _PyObject_FastCallDict third_party/python_runtime/v3_7/Objects/call.c:98:16
      #17 0x558eaf3ef739 in _PyObject_Call_Prepend third_party/python_runtime/v3_7/Objects/call.c:906:14
      #18 0x558eaf3f462b in method_call third_party/python_runtime/v3_7/Objects/classobject.c:309:12
      #19 0x558eaf3ec51d in PyObject_Call third_party/python_runtime/v3_7/Objects/call.c:245:18
      #20 0x558eaf685d63 in do_call_core third_party/python_runtime/v3_7/Python/ceval.c:4645:16
      #21 0x558eaf685d63 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_7/Python/ceval.c:3191:22
      #22 0x558eaf67d594 in PyEval_EvalFrameEx third_party/python_runtime/v3_7/Python/ceval.c:547:12
      #23 0x558eaf3ed230 in function_code_fastcall third_party/python_runtime/v3_7/Objects/call.c:283:14
      #24 0x558eaf3ebb23 in _PyFunction_FastCallKeywords third_party/python_runtime/v3_7/Objects/call.c
      #25 0x558eaf69db2d in call_function third_party/python_runtime/v3_7/Python/ceval.c:4616:17
      #26 0x558eaf685808 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_7/Python/ceval.c:3110:23
      #27 0x558eaf67d594 in PyEval_EvalFrameEx third_party/python_runtime/v3_7/Python/ceval.c:547:12
      #28 0x558eaf3ed230 in function_code_fastcall third_party/python_runtime/v3_7/Objects/call.c:283:14
      #29 0x558eaf3ebb23 in _PyFunction_FastCallKeywords third_party/python_runtime/v3_7/Objects/call.c
      #30 0x558eaf69db2d in call_function third_party/python_runtime/v3_7/Python/ceval.c:4616:17
      #31 0x558eaf685808 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_7/Python/ceval.c:3110:23
      #32 0x558eaf67d594 in PyEval_EvalFrameEx third_party/python_runtime/v3_7/Python/ceval.c:547:12
      #33 0x558eaf3ed230 in function_code_fastcall third_party/python_runtime/v3_7/Objects/call.c:283:14
      #34 0x558eaf3ea160 in _PyFunction_FastCallDict third_party/python_runtime/v3_7/Objects/call.c
      #35 0x558eaf3e99a4 in _PyObject_FastCallDict third_party/python_runtime/v3_7/Objects/call.c:98:16
      #36 0x558eaf3ef739 in _PyObject_Call_Prepend third_party/python_runtime/v3_7/Objects/call.c:906:14
      #37 0x558eaf3f462b in method_call third_party/python_runtime/v3_7/Objects/classobject.c:309:12
      #38 0x558eaf3ec51d in PyObject_Call third_party/python_runtime/v3_7/Objects/call.c:245:18
      #39 0x558eaecfdc9a in t_bootstrap third_party/python_runtime/v3_7/Modules/_threadmodule.c:994:11
      #40 0x558eaf77ac94 in pythread_wrapper third_party/python_runtime/v3_7/Python/thread_pthread.h:174:5
      #41 0x7f0e7bf0eb54 in start_thread (/usr/grte/v5/lib64/libpthread.so.0+0xbb54) (BuildId: 64752de50ebd1a108f4b3f8d0d7e1a13)
      #42 0x7f0e7be43f7e in clone (/usr/grte/v5/lib64/libc.so.6+0x13cf7e) (BuildId: 7cfed7708e5ab7fcb286b373de21ee76)

I'll revert.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120284/new/

https://reviews.llvm.org/D120284



More information about the lldb-commits mailing list