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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to