Regression

lldb-api.functionalities/scripted_process.TestScriptedProcess.py (from lldb-api)

Failing for the past 1 build (Since #1999 )
Took 39 sec.

Stacktrace

Script:
--
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-python /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/14.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/scripted_process -p TestScriptedProcess.py
--
Exit Code: -6

Command Output (stdout):
--
lldb version 14.0.99 (http://labmaster3.local/git/llvm-project.git revision 778bf73d7ba693f4bb74d137a70870bce128a19f)
  clang revision 778bf73d7ba693f4bb74d137a70870bce128a19f
  llvm revision 778bf73d7ba693f4bb74d137a70870bce128a19f

--
Command Output (stderr):
--
=================================================================
==55702==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160001d0aa0 at pc 0x000101ab1cb0 bp 0x70000ac6fc90 sp 0x70000ac6f458
READ of size 512 at 0x6160001d0aa0 thread T1
    #0 0x101ab1caf in __asan_memcpy+0x1af (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x43caf)
    #1 0x10a955527 in lldb_private::DataExtractor::CopyByteOrderedData(unsigned long long, unsigned long long, void*, unsigned long long, lldb::ByteOrder) const DataExtractor.cpp:742
    #2 0x10aee439b in lldb_private::ScriptedProcess::DoReadMemory(unsigned long long, void*, unsigned long, lldb_private::Status&) ScriptedProcess.cpp:245
    #3 0x10a782977 in lldb_private::Process::ReadMemoryFromInferior(unsigned long long, void*, unsigned long, lldb_private::Status&) Process.cpp:2087
    #4 0x10a73f17f in lldb_private::MemoryCache::Read(unsigned long long, void*, unsigned long, lldb_private::Status&) Memory.cpp:229
    #5 0x10a7c3d41 in lldb_private::RegisterContext::ReadRegisterValueFromMemory(lldb_private::RegisterInfo const*, unsigned long long, unsigned int, lldb_private::RegisterValue&) RegisterContext.cpp:343
    #6 0x10a7d5c26 in lldb_private::RegisterContextUnwind::ReadRegisterValueFromRegisterLocation(lldb_private::UnwindLLDB::RegisterLocation, lldb_private::RegisterInfo const*, lldb_private::RegisterValue&) RegisterContextUnwind.cpp:1129
    #7 0x10a7d34d3 in lldb_private::RegisterContextUnwind::ReadGPRValue(lldb::RegisterKind, unsigned int, unsigned long long&) RegisterContextUnwind.cpp:2134
    #8 0x10a7c7a27 in lldb_private::RegisterContextUnwind::InitializeNonZerothFrame() RegisterContextUnwind.cpp:343
    #9 0x10a7c4f20 in lldb_private::RegisterContextUnwind::RegisterContextUnwind(lldb_private::Thread&, std::__1::shared_ptr<lldb_private::RegisterContextUnwind> const&, lldb_private::SymbolContext&, unsigned int, lldb_private::UnwindLLDB&) RegisterContextUnwind.cpp:72
    #10 0x10a9175a7 in lldb_private::UnwindLLDB::GetOneMoreFrame(lldb_private::ABI*) UnwindLLDB.cpp:128
    #11 0x10a916000 in lldb_private::UnwindLLDB::AddOneMoreFrame(lldb_private::ABI*) UnwindLLDB.cpp:332
    #12 0x10a916db8 in lldb_private::UnwindLLDB::UpdateUnwindPlanForFirstFrameIfInvalid(lldb_private::ABI*) UnwindLLDB.cpp:305
    #13 0x10a915b1f in lldb_private::UnwindLLDB::AddFirstFrame() UnwindLLDB.cpp:99
    #14 0x10a91906d in lldb_private::UnwindLLDB::DoGetFrameInfoAtIndex(unsigned int, unsigned long long&, unsigned long long&, bool&) UnwindLLDB.cpp:395
    #15 0x10a8104ea in lldb_private::Unwind::GetFrameInfoAtIndex(unsigned int, unsigned long long&, unsigned long long&, bool&) Unwind.h:53
    #16 0x10a80cd1e in lldb_private::StackFrameList::GetFramesUpTo(unsigned int) StackFrameList.cpp:484
    #17 0x10a80ae37 in lldb_private::StackFrameList::ResetCurrentInlinedDepth() StackFrameList.cpp:86
    #18 0x10a8a203d in lldb_private::Thread::ShouldStop(lldb_private::Event*) Thread.cpp:805
    #19 0x10a8bb31d in lldb_private::ThreadList::ShouldStop(lldb_private::Event*) ThreadList.cpp:330
    #20 0x10a791360 in lldb_private::Process::ShouldBroadcastEvent(lldb_private::Event*) Process.cpp:3439
    #21 0x10a787ad4 in lldb_private::Process::HandlePrivateEvent(std::__1::shared_ptr<lldb_private::Event>&) Process.cpp:3664
    #22 0x10a79305a in lldb_private::Process::RunPrivateStateThread(bool) Process.cpp:3858
    #23 0x10a79198d in lldb_private::Process::PrivateStateThread(void*) Process.cpp:3756
    #24 0x10a4f81d0 in lldb_private::HostNativeThreadBase::ThreadCreateTrampoline(void*) HostNativeThreadBase.cpp:65
    #25 0x7fff7168a108 in _pthread_start+0x93 (libsystem_pthread.dylib:x86_64+0x6108)
    #26 0x7fff71685b8a in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x1b8a)

0x6160001d0aa0 is located 32 bytes inside of 545-byte region [0x6160001d0a80,0x6160001d0ca1)
freed by thread T1 here:
    #0 0x101ab3d49 in wrap_free+0xa9 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x45d49)
    #1 0x1024d5af2 in frame_dealloc+0xa0 (Python:x86_64+0x2aaf2)
    #2 0x1024c4d2a in function_code_fastcall+0xf8 (Python:x86_64+0x19d2a)
    #3 0x1024c5624 in _PyObject_Call_Prepend+0x95 (Python:x86_64+0x1a624)
    #4 0x1024c42d2 in _PyObject_FastCallDict+0x107 (Python:x86_64+0x192d2)
    #5 0x1024c57d2 in _PyObject_CallFunctionVa+0xd0 (Python:x86_64+0x1a7d2)
    #6 0x1024c5a00 in PyObject_CallMethod+0xa8 (Python:x86_64+0x1aa00)
    #7 0x10b07aaf0 in std::__1::shared_ptr<lldb_private::DataExtractor> lldb_private::ScriptedPythonInterface::Dispatch<std::__1::shared_ptr<lldb_private::DataExtractor>, unsigned long long, unsigned long>(llvm::StringRef, lldb_private::Status&, unsigned long long, unsigned long) ScriptedPythonInterface.h:93
    #8 0x10b079f44 in lldb_private::ScriptedProcessPythonInterface::ReadMemoryAtAddress(unsigned long long, unsigned long, lldb_private::Status&) ScriptedProcessPythonInterface.cpp:120
    #9 0x10aee4175 in lldb_private::ScriptedProcess::DoReadMemory(unsigned long long, void*, unsigned long, lldb_private::Status&) ScriptedProcess.cpp:240
    #10 0x10a782977 in lldb_private::Process::ReadMemoryFromInferior(unsigned long long, void*, unsigned long, lldb_private::Status&) Process.cpp:2087
    #11 0x10a73f17f in lldb_private::MemoryCache::Read(unsigned long long, void*, unsigned long, lldb_private::Status&) Memory.cpp:229
    #12 0x10a7c3d41 in lldb_private::RegisterContext::ReadRegisterValueFromMemory(lldb_private::RegisterInfo const*, unsigned long long, unsigned int, lldb_private::RegisterValue&) RegisterContext.cpp:343
    #13 0x10a7d5c26 in lldb_private::RegisterContextUnwind::ReadRegisterValueFromRegisterLocation(lldb_private::UnwindLLDB::RegisterLocation, lldb_private::RegisterInfo const*, lldb_private::RegisterValue&) RegisterContextUnwind.cpp:1129
    #14 0x10a7d34d3 in lldb_private::RegisterContextUnwind::ReadGPRValue(lldb::RegisterKind, unsigned int, unsigned long long&) RegisterContextUnwind.cpp:2134
    #15 0x10a7c7a27 in lldb_private::RegisterContextUnwind::InitializeNonZerothFrame() RegisterContextUnwind.cpp:343
    #16 0x10a7c4f20 in lldb_private::RegisterContextUnwind::RegisterContextUnwind(lldb_private::Thread&, std::__1::shared_ptr<lldb_private::RegisterContextUnwind> const&, lldb_private::SymbolContext&, unsigned int, lldb_private::UnwindLLDB&) RegisterContextUnwind.cpp:72
    #17 0x10a9175a7 in lldb_private::UnwindLLDB::GetOneMoreFrame(lldb_private::ABI*) UnwindLLDB.cpp:128
    #18 0x10a916000 in lldb_private::UnwindLLDB::AddOneMoreFrame(lldb_private::ABI*) UnwindLLDB.cpp:332
    #19 0x10a916db8 in lldb_private::UnwindLLDB::UpdateUnwindPlanForFirstFrameIfInvalid(lldb_private::ABI*) UnwindLLDB.cpp:305
    #20 0x10a915b1f in lldb_private::UnwindLLDB::AddFirstFrame() UnwindLLDB.cpp:99
    #21 0x10a91906d in lldb_private::UnwindLLDB::DoGetFrameInfoAtIndex(unsigned int, unsigned long long&, unsigned long long&, bool&) UnwindLLDB.cpp:395
    #22 0x10a8104ea in lldb_private::Unwind::GetFrameInfoAtIndex(unsigned int, unsigned long long&, unsigned long long&, bool&) Unwind.h:53
    #23 0x10a80cd1e in lldb_private::StackFrameList::GetFramesUpTo(unsigned int) StackFrameList.cpp:484
    #24 0x10a80ae37 in lldb_private::StackFrameList::ResetCurrentInlinedDepth() StackFrameList.cpp:86
    #25 0x10a8a203d in lldb_private::Thread::ShouldStop(lldb_private::Event*) Thread.cpp:805
    #26 0x10a8bb31d in lldb_private::ThreadList::ShouldStop(lldb_private::Event*) ThreadList.cpp:330
    #27 0x10a791360 in lldb_private::Process::ShouldBroadcastEvent(lldb_private::Event*) Process.cpp:3439
    #28 0x10a787ad4 in lldb_private::Process::HandlePrivateEvent(std::__1::shared_ptr<lldb_private::Event>&) Process.cpp:3664
    #29 0x10a79305a in lldb_private::Process::RunPrivateStateThread(bool) Process.cpp:3858

previously allocated by thread T1 here:
    #0 0x101ab3c00 in wrap_malloc+0xa0 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x45c00)
    #1 0x1024f328b in _PyObject_Malloc+0x37 (Python:x86_64+0x4828b)
    #2 0x1024bcecc in _PyBytes_FromSize+0x63 (Python:x86_64+0x11ecc)
    #3 0x1024bce09 in PyBytes_FromStringAndSize+0x3d (Python:x86_64+0x11e09)
    #4 0x1024c0e3e in bytes_subscript+0x14a (Python:x86_64+0x15e3e)
    #5 0x102554b05 in _PyEval_EvalFrameDefault+0x3068 (Python:x86_64+0xa9b05)
    #6 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #7 0x1024c5624 in _PyObject_Call_Prepend+0x95 (Python:x86_64+0x1a624)
    #8 0x1024c42d2 in _PyObject_FastCallDict+0x107 (Python:x86_64+0x192d2)
    #9 0x1024c57d2 in _PyObject_CallFunctionVa+0xd0 (Python:x86_64+0x1a7d2)
    #10 0x1024c5a00 in PyObject_CallMethod+0xa8 (Python:x86_64+0x1aa00)
    #11 0x10b07aaf0 in std::__1::shared_ptr<lldb_private::DataExtractor> lldb_private::ScriptedPythonInterface::Dispatch<std::__1::shared_ptr<lldb_private::DataExtractor>, unsigned long long, unsigned long>(llvm::StringRef, lldb_private::Status&, unsigned long long, unsigned long) ScriptedPythonInterface.h:93
    #12 0x10b079f44 in lldb_private::ScriptedProcessPythonInterface::ReadMemoryAtAddress(unsigned long long, unsigned long, lldb_private::Status&) ScriptedProcessPythonInterface.cpp:120
    #13 0x10aee4175 in lldb_private::ScriptedProcess::DoReadMemory(unsigned long long, void*, unsigned long, lldb_private::Status&) ScriptedProcess.cpp:240
    #14 0x10a782977 in lldb_private::Process::ReadMemoryFromInferior(unsigned long long, void*, unsigned long, lldb_private::Status&) Process.cpp:2087
    #15 0x10a73f17f in lldb_private::MemoryCache::Read(unsigned long long, void*, unsigned long, lldb_private::Status&) Memory.cpp:229
    #16 0x10a7c3d41 in lldb_private::RegisterContext::ReadRegisterValueFromMemory(lldb_private::RegisterInfo const*, unsigned long long, unsigned int, lldb_private::RegisterValue&) RegisterContext.cpp:343
    #17 0x10a7d5c26 in lldb_private::RegisterContextUnwind::ReadRegisterValueFromRegisterLocation(lldb_private::UnwindLLDB::RegisterLocation, lldb_private::RegisterInfo const*, lldb_private::RegisterValue&) RegisterContextUnwind.cpp:1129
    #18 0x10a7d34d3 in lldb_private::RegisterContextUnwind::ReadGPRValue(lldb::RegisterKind, unsigned int, unsigned long long&) RegisterContextUnwind.cpp:2134
    #19 0x10a7c7a27 in lldb_private::RegisterContextUnwind::InitializeNonZerothFrame() RegisterContextUnwind.cpp:343
    #20 0x10a7c4f20 in lldb_private::RegisterContextUnwind::RegisterContextUnwind(lldb_private::Thread&, std::__1::shared_ptr<lldb_private::RegisterContextUnwind> const&, lldb_private::SymbolContext&, unsigned int, lldb_private::UnwindLLDB&) RegisterContextUnwind.cpp:72
    #21 0x10a9175a7 in lldb_private::UnwindLLDB::GetOneMoreFrame(lldb_private::ABI*) UnwindLLDB.cpp:128
    #22 0x10a916000 in lldb_private::UnwindLLDB::AddOneMoreFrame(lldb_private::ABI*) UnwindLLDB.cpp:332
    #23 0x10a916db8 in lldb_private::UnwindLLDB::UpdateUnwindPlanForFirstFrameIfInvalid(lldb_private::ABI*) UnwindLLDB.cpp:305
    #24 0x10a915b1f in lldb_private::UnwindLLDB::AddFirstFrame() UnwindLLDB.cpp:99
    #25 0x10a91906d in lldb_private::UnwindLLDB::DoGetFrameInfoAtIndex(unsigned int, unsigned long long&, unsigned long long&, bool&) UnwindLLDB.cpp:395
    #26 0x10a8104ea in lldb_private::Unwind::GetFrameInfoAtIndex(unsigned int, unsigned long long&, unsigned long long&, bool&) Unwind.h:53
    #27 0x10a80cd1e in lldb_private::StackFrameList::GetFramesUpTo(unsigned int) StackFrameList.cpp:484
    #28 0x10a80ae37 in lldb_private::StackFrameList::ResetCurrentInlinedDepth() StackFrameList.cpp:86
    #29 0x10a8a203d in lldb_private::Thread::ShouldStop(lldb_private::Event*) Thread.cpp:805

Thread T1 created by T0 here:
    #0 0x101aad6dc in wrap_pthread_create+0x5c (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x3f6dc)
    #1 0x10a51b741 in lldb_private::ThreadLauncher::LaunchThread(llvm::StringRef, void* (*)(void*), void*, unsigned long) ThreadLauncher.cpp:65
    #2 0x10a789a6f in lldb_private::Process::StartPrivateStateThread(bool) Process.cpp:3535
    #3 0x10a78926d in lldb_private::Process::Launch(lldb_private::ProcessLaunchInfo&) Process.cpp:2577
    #4 0x10a862702 in lldb_private::Target::Launch(lldb_private::ProcessLaunchInfo&, lldb_private::Stream*) Target.cpp:2993
    #5 0x10cc7e8b6 in CommandObjectProcessLaunch::DoExecute(lldb_private::Args&, lldb_private::CommandReturnObject&) CommandObjectProcess.cpp:239
    #6 0x10a5ad3cc in lldb_private::CommandObjectParsed::Execute(char const*, lldb_private::CommandReturnObject&) CommandObject.cpp:995
    #7 0x10a587f8e in lldb_private::CommandInterpreter::HandleCommand(char const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&) CommandInterpreter.cpp:1804
    #8 0x1096cc6b0 in lldb::SBCommandInterpreter::HandleCommand(char const*, lldb::SBExecutionContext&, lldb::SBCommandReturnObject&, bool) SBCommandInterpreter.cpp:183
    #9 0x1096cb6e7 in lldb::SBCommandInterpreter::HandleCommand(char const*, lldb::SBCommandReturnObject&, bool) SBCommandInterpreter.cpp:163
    #10 0x1097c45dd in lldb::SBDebugger::HandleCommand(char const*) SBDebugger.cpp:522
    #11 0x109ff6e79 in _wrap_SBDebugger_HandleCommand(_object*, _object*) LLDBWrapPython.cpp:20987
    #12 0x1024c5226 in _PyMethodDef_RawFastCallKeywords+0xeb (Python:x86_64+0x1a226)
    #13 0x1024c48c6 in _PyCFunction_FastCallKeywords+0x2b (Python:x86_64+0x198c6)
    #14 0x10255a905 in call_function+0x1de (Python:x86_64+0xaf905)
    #15 0x1025535ee in _PyEval_EvalFrameDefault+0x1b51 (Python:x86_64+0xa85ee)
    #16 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #17 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #18 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #19 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #20 0x10b030bb5 in lldb_private::python::PythonCallable::operator()(std::initializer_list<lldb_private::python::PythonObject>) PythonDataObjects.cpp:968
    #21 0x109f5ea2a in lldb_private::python::PythonObject lldb_private::python::PythonCallable::operator()<lldb_private::python::PythonObject, lldb_private::python::PythonDictionary>(lldb_private::python::PythonObject const&, lldb_private::python::PythonDictionary) PythonDataObjects.h:638
    #22 0x109f702ef in LLDBSwigPythonCallModuleInit LLDBWrapPython.cpp:81103
    #23 0x10b064171 in lldb_private::ScriptInterpreterPythonImpl::LoadScriptingModule(char const*, lldb_private::LoadScriptOptions const&, lldb_private::Status&, std::__1::shared_ptr<lldb_private::StructuredData::Object>*, lldb_private::FileSpec) ScriptInterpreterPython.cpp:2920
    #24 0x10cc18af9 in CommandObjectCommandsScriptImport::DoExecute(lldb_private::Args&, lldb_private::CommandReturnObject&) CommandObjectCommands.cpp:1326
    #25 0x10a5ad3cc in lldb_private::CommandObjectParsed::Execute(char const*, lldb_private::CommandReturnObject&) CommandObject.cpp:995
    #26 0x10a587f8e in lldb_private::CommandInterpreter::HandleCommand(char const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&) CommandInterpreter.cpp:1804
    #27 0x1096cc6b0 in lldb::SBCommandInterpreter::HandleCommand(char const*, lldb::SBExecutionContext&, lldb::SBCommandReturnObject&, bool) SBCommandInterpreter.cpp:183
    #28 0x1096cb6e7 in lldb::SBCommandInterpreter::HandleCommand(char const*, lldb::SBCommandReturnObject&, bool) SBCommandInterpreter.cpp:163
    #29 0x109fc2379 in _wrap_SBCommandInterpreter_HandleCommand(_object*, _object*) LLDBWrapPython.cpp:13959
    #30 0x1024c4bda in PyCFunction_Call+0x140 (Python:x86_64+0x19bda)
    #31 0x1025539e2 in _PyEval_EvalFrameDefault+0x1f45 (Python:x86_64+0xa89e2)
    #32 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #33 0x1024c488b in _PyFunction_FastCallKeywords+0xe0 (Python:x86_64+0x1988b)
    #34 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #35 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #36 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #37 0x1024c488b in _PyFunction_FastCallKeywords+0xe0 (Python:x86_64+0x1988b)
    #38 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #39 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #40 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #41 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #42 0x10255368c in _PyEval_EvalFrameDefault+0x1bef (Python:x86_64+0xa868c)
    #43 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #44 0x1024c488b in _PyFunction_FastCallKeywords+0xe0 (Python:x86_64+0x1988b)
    #45 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #46 0x10255368c in _PyEval_EvalFrameDefault+0x1bef (Python:x86_64+0xa868c)
    #47 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #48 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #49 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #50 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #51 0x1024c44f4 in _PyFunction_FastCallDict+0x1b8 (Python:x86_64+0x194f4)
    #52 0x1024c5624 in _PyObject_Call_Prepend+0x95 (Python:x86_64+0x1a624)
    #53 0x1024c49d4 in PyObject_Call+0x87 (Python:x86_64+0x199d4)
    #54 0x102553905 in _PyEval_EvalFrameDefault+0x1e68 (Python:x86_64+0xa8905)
    #55 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #56 0x1024c44f4 in _PyFunction_FastCallDict+0x1b8 (Python:x86_64+0x194f4)
    #57 0x1024c5624 in _PyObject_Call_Prepend+0x95 (Python:x86_64+0x1a624)
    #58 0x1025024af in slot_tp_call+0x46 (Python:x86_64+0x574af)
    #59 0x1024c472c in _PyObject_FastCallKeywords+0x166 (Python:x86_64+0x1972c)
    #60 0x10255a976 in call_function+0x24f (Python:x86_64+0xaf976)
    #61 0x10255368c in _PyEval_EvalFrameDefault+0x1bef (Python:x86_64+0xa868c)
    #62 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #63 0x1024c488b in _PyFunction_FastCallKeywords+0xe0 (Python:x86_64+0x1988b)
    #64 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #65 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #66 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #67 0x1024c488b in _PyFunction_FastCallKeywords+0xe0 (Python:x86_64+0x1988b)
    #68 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #69 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #70 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #71 0x1024c5624 in _PyObject_Call_Prepend+0x95 (Python:x86_64+0x1a624)
    #72 0x1024c49d4 in PyObject_Call+0x87 (Python:x86_64+0x199d4)
    #73 0x102553905 in _PyEval_EvalFrameDefault+0x1e68 (Python:x86_64+0xa8905)
    #74 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #75 0x1024c44f4 in _PyFunction_FastCallDict+0x1b8 (Python:x86_64+0x194f4)
    #76 0x1024c5624 in _PyObject_Call_Prepend+0x95 (Python:x86_64+0x1a624)
    #77 0x1025024af in slot_tp_call+0x46 (Python:x86_64+0x574af)
    #78 0x1024c472c in _PyObject_FastCallKeywords+0x166 (Python:x86_64+0x1972c)
    #79 0x10255a976 in call_function+0x24f (Python:x86_64+0xaf976)
    #80 0x10255368c in _PyEval_EvalFrameDefault+0x1bef (Python:x86_64+0xa868c)
    #81 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #82 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #83 0x1025535d5 in _PyEval_EvalFrameDefault+0x1b38 (Python:x86_64+0xa85d5)
    #84 0x1024c4ca1 in function_code_fastcall+0x6f (Python:x86_64+0x19ca1)
    #85 0x10255a97d in call_function+0x256 (Python:x86_64+0xaf97d)
    #86 0x1025535ee in _PyEval_EvalFrameDefault+0x1b51 (Python:x86_64+0xa85ee)
    #87 0x10255b2da in _PyEval_EvalCodeWithName+0x72a (Python:x86_64+0xb02da)
    #88 0x102551a14 in PyEval_EvalCode+0x29 (Python:x86_64+0xa6a14)
    #89 0x1025802aa in run_mod+0x35 (Python:x86_64+0xd52aa)
    #90 0x10257f2c5 in PyRun_FileExFlags+0xa3 (Python:x86_64+0xd42c5)
    #91 0x10257e9a4 in PyRun_SimpleFileExFlags+0x114 (Python:x86_64+0xd39a4)
    #92 0x102596010 in pymain_main+0x13de (Python:x86_64+0xeb010)
    #93 0x1025967b7 in _Py_UnixMain+0x67 (Python:x86_64+0xeb7b7)
    #94 0x7fff71481cc8 in start+0x0 (libdyld.dylib:x86_64+0x1acc8)

SUMMARY: AddressSanitizer: heap-use-after-free (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x43caf) in __asan_memcpy+0x1af
Shadow bytes around the buggy address:
  0x1c2c0003a100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1c2c0003a110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1c2c0003a120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1c2c0003a130: 00 00 00 00 fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c2c0003a140: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x1c2c0003a150: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd
  0x1c2c0003a160: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c2c0003a170: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c2c0003a180: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c2c0003a190: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa
  0x1c2c0003a1a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==55702==ABORTING
Fatal Python error: Aborted

Thread 0x000000010956cdc0 (most recent call first):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lib/python3.7/site-packages/lldb/__init__.py", line 4299 in HandleCommand
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/examples/python/scripted_process/my_scripted_process.py", line 133 in __lldb_init_module
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lib/python3.7/site-packages/lldb/__init__.py", line 3165 in HandleCommand
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2122 in runCmd
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py", line 109 in test_launch_scripted_process_stack_frames
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1823 in test_method
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 413 in runMethod
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 383 in run
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 458 in __call__
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 117 in _wrapped_run
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 115 in _wrapped_run
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 85 in run
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 66 in __call__
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/runner.py", line 165 in run
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 996 in run_suite
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py", line 7 in <module>

--