[Bug 30764] New: Hang in lldb when running a freestyle job on a Jenkins JNLP Agent running on Mac OSX

Bug ID 30764
Summary Hang in lldb when running a freestyle job on a Jenkins JNLP Agent running on Mac OSX
Product lldb
Version unspecified
Hardware Macintosh
OS MacOS X
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter jtsweet@cloudbees.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Created attachment 17477 [details]
Sample file provided by the customer to recreate the issue

lldb hangs indefinitely when running a freestyle job on a Mac OSX Jenkins JNLP
Agent.

The issue can be recreated by starting up a Jenkins Master in Virtualbox and
connecting a Mac OS X Agent via JNLP. 

Mac OS X JNLP Agent Machine Information:

Mac OS X El Capitan v 10.11.6

Python 2.7.10

Xcode 7.3.1
Build version 7D1014

pip 8.1.2 from /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg (python
2.7)

LldbExecutor: module lldb version: lldb-350.0.21.9

After setting up the environment, create a freestyle job with the following
steps and restrict it to only run on the Max OS X JNLP Agent:

echo "Set core file to unlimited"
ulimit -c unlimited
ulimit -a
echo "Run test case"
cd $WORKSPACE/Sampleforcloudbees
python MemoryScanner/executeMemoryScanner.py sampleMemoryScannerConfig.xml

When the job is run it will hang indefinitely.