lldb python API in Ubuntu

Hi All,

I am running lldb python API in Ubuntu 16.04 LTS. The debugger can launch any process inside python; and I always got the following SBProcess state:

SBProcess: pid = 0, state =launching, threads = 0, executable = test

I ran the same python code in MacOS X, the process get launched successfully. Do I need some special configuration on Ubuntu? I have attached python code below:

import lldb

debugger = lldb.SBDebugger.Create()
target = debugger.CreateTargetWithFileAndArch (“test”, lldb.LLDB_ARCH_DEFAULT)
target.BreakpointCreateByLocation(“test.c”, 12)
process = target.LaunchSimple (None, None, os.getcwd())
print process