<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - Cygwin: cindex-dump.py segfaults under python2.7" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24039&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=U1SKw5O0iY3PVogyAPXxyv7fV3KalwbYQRrtQnd6G48&s=1EzOJZJsagSa3KEeoLZkvM3mPkhgpg52iuUaGmZ63CA&e=">24039</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cygwin: cindex-dump.py segfaults under python2.7
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.5
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>brad_e@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>