[Lldb-commits] [lldb] r269373 - Don't crash when a process' task port goes bad.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu May 12 15:36:47 PDT 2016


Author: gclayton
Date: Thu May 12 17:36:47 2016
New Revision: 269373

URL: http://llvm.org/viewvc/llvm-project?rev=269373&view=rev
Log:
Don't crash when a process' task port goes bad.

<rdar://problem/26256049>


Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp?rev=269373&r1=269372&r2=269373&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp Thu May 12 17:36:47 2016
@@ -436,7 +436,6 @@ MachException::Message::Reply(MachProces
             if (state.task_port == process->Task().TaskPort())
             {
                 DNBLogThreaded("error: mach_msg() returned an error when replying to a mach exception: error = %u", err.Error());
-                abort ();
             }
             else
             {




More information about the lldb-commits mailing list