[LLVMbugs] [Bug 24039] New: Cygwin: cindex-dump.py segfaults under python2.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 6 09:25:42 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24039

            Bug ID: 24039
           Summary: Cygwin: cindex-dump.py segfaults under python2.7
           Product: new-bugs
           Version: 3.5
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: brad_e at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm not sure if this should be reported to Cygwin or here but I've been using
the Python bindings for libclang for a while. I updated last week to the latest
provided with Cygwin (3.5.2) and now I'm getting a segmentation fault when I
try to run the cindex-dump.py example script provided with the Python bindings.

python cindex-dump.py hello.c:

  #include <stdio.h>
  #include <stdlib.h>

  int main(void)
  {
      return 0;
  }

The version I'm using is:
    python-clang (3.5.2.1)

I'm running on a 64 bit version of Windows 7. The same problem happens on a 64
bit version of Windows 8.

The cindex-includes.py file runs correctly. I'm using the cindex-dump.py and
cindex-includes.py bundled with 3.5.2 from the LLVM downloads page.

I also tried downloading 3.6.1 and compiling it from source but the python
bindings again crash under Cygwin when I run cindex-dump.py.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150706/e41bc2f3/attachment.html>


More information about the llvm-bugs mailing list