[lldb-dev] [Bug 34483] Crash in CreateTarget(..) in vim 8.0 python

2017-09-05 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=34483

Tim Vasko  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] September LLVM bay-area social is this Thursday!

2017-09-05 Thread George Burgess IV via lldb-dev
We'll be at Tied House as usual, starting on Thursday the 7th at 7pm!

If you can, help us plan and RSVP here: http://meetu.ps/3cw9VN

See everyone there!
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 34483] Crash in CreateTarget(..) in vim 8.0 python

2017-09-05 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=34483

Tim Vasko  changed:

   What|Removed |Added

 Resolution|INVALID |---
 Status|RESOLVED|REOPENED

--- Comment #3 from Tim Vasko  ---
I just tried adding lldb.SBDebugger.Initialize() with no resolve.

I tried it (separately) before creating debugger, after creating debugger, and
calling initialize on the debugger object - to no avail.

The crash trace remains absolutely the same.

Additionally, the code works perfectly in python standalone interpreter - kind
of strange that this determinism is lost with lack of this call. Lastly, the
sample in LLDB repository for the lldb vim plugin has no mention for this call.
If it is truly needed, may I ask that we please update that code?

In any case however, problem remains.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 34483] Crash in CreateTarget(..) in vim 8.0 python

2017-09-05 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=34483

Greg Clayton  changed:

   What|Removed |Added

 CC||clayb...@gmail.com
 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Greg Clayton  ---
You need to call lldb.SBDebugger.Initialize() before calling any API functions.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 34483] New: Crash in CreateTarget(..) in vim 8.0 python

2017-09-05 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=34483

Bug ID: 34483
   Summary: Crash in CreateTarget(..) in vim 8.0 python
   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: vasko@gmail.com
CC: llvm-b...@lists.llvm.org

Created attachment 19105
  --> https://bugs.llvm.org/attachment.cgi?id=19105=edit
Crash trace for LLDB when running through VIM 8 via Python27 interpreter

This happens with system-installed lldb (Xcode and toolset), as well as with
freshly compiled lldb on master.

The included python llvm vim-plugin works fine from standalone python
interpreter (excluding vim imports), but crashes when running through Vim. VIM
was built against system-installed Python 2.7.10 (I'm on Sierra 10.12.6).
3rd-party vim 8 installs suffer same/worse issues. It is unclear what is
different about python when running through vim rather than python interpreter;
regardless, crash occurs in lldb.

Behold, code sample:

>>> import lldb
>>> dbg = lldb.SBDebugger.Create()
>>> target = dbg.CreateTarget("/Users/owl/git/bravo/bin/bravo") # custom 
>>> executable, crashes with any executable really as long as it's a real 
>>> executable

This code works perfectly when executed from standalone python interpreter. In
vim, it crashes lldb, causing vim to crash. Attached is the crash report, along
with full debug stack trace - source names line numbers, should be enough to
diagnose.

Can't tell yet if problem with swig bindings or not, but looks like there is an
operation on null PythonObject to get it's type.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [5.0.0 Release] The final tag is in

2017-09-05 Thread Hans Wennborg via lldb-dev
Dear testers,

The final version of 5.0.0 has just been tagged. There were no changes
after rc5.

Please build the final binaries and upload to the sftp.

For those following along: this means 5.0.0 is complete, but it will
take a few days to get the tarballs ready and published on the web
page. I will send the announcement once everything's ready.

Many thanks everyone for your hard work!

Hans
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev