[Lldb-commits] [PATCH] D25099: Refactor Args a different way

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 3 13:30:45 PDT 2016


tfiala requested changes to this revision.
tfiala added a reviewer: tfiala.
tfiala added a comment.
This revision now requires changes to proceed.

I'm getting one test crash (segfault) in logging/TestLogging.py:

  Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
  Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
  Exception Note:        EXC_CORPSE_NOTIFY
  
  Termination Signal:    Segmentation fault: 11
  Termination Reason:    Namespace SIGNAL, Code 0xb
  Terminating Process:   exc handler [0]
  
  VM Regions Near 0:
  --> 
      __TEXT                 0000000102994000-0000000102995000 [    4K] r-x/rwx SM=COW  /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
  
  Application Specific Information:
  HandleCommand(command = "log disable lldb")
  
  Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
  0   _lldb.so                      	0x00000001062ca132 lldb_private::DisableLog(char const**, lldb_private::Stream*) + 50 (Logging.cpp:96)
  1   _lldb.so                      	0x0000000105d90d44 CommandObjectLogDisable::DoExecute(lldb_private::Args&, lldb_private::CommandReturnObject&) + 1028 (CommandObjectLog.cpp:255)
  2   _lldb.so                      	0x00000001062c5da8 lldb_private::CommandObjectParsed::Execute(char const*, lldb_private::CommandReturnObject&) + 1096 (CommandObject.cpp:1011)
  3   _lldb.so                      	0x000000010628a64e lldb_private::CommandInterpreter::HandleCommand(char const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&, lldb_private::ExecutionContext*, bool, bool) + 10174 (CommandInterpreter.cpp:1691)
  4   _lldb.so                      	0x00000001033d282e lldb::SBCommandInterpreter::HandleCommand(char const*, lldb::SBExecutionContext&, lldb::SBCommandReturnObject&, bool) + 622 (SBCommandInterpreter.cpp:201)
  5   _lldb.so                      	0x00000001033d2581 lldb::SBCommandInterpreter::HandleCommand(char const*, lldb::SBCommandReturnObject&, bool) + 81 (SBCommandInterpreter.cpp:177)
  6   _lldb.so                      	0x000000010353826b _wrap_SBCommandInterpreter_HandleCommand__SWIG_0(_object*, _object*) + 779 (LLDBWrapPython.cpp:11848)
  7   _lldb.so                      	0x000000010347036d _wrap_SBCommandInterpreter_HandleCommand(_object*, _object*) + 733 (LLDBWrapPython.cpp:12089)

This is on public macOS Sierra and Xcode.

If that doesn't give you enough to track it down, I can take a look in a bit.


https://reviews.llvm.org/D25099





More information about the lldb-commits mailing list