This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Python bindings for cygclang.dll causing segmentation fault on 64 bit system

Hi there,

I'm running into difficulties which I think are caused by cygclang.dll. The problem only seems to impact the 64 bit version of Cygwin. The 32 bit version of Cygwin (on my 64 bit machine) does not crash. I tried running the same thing on Windows 7 and Windows 8 but both OSes are impacted. I also tried a fresh installation of 64 bit Cygwin and encountered the same issue.

I'm running this command which causes Python 2.7.10 to seg fault. 

 > python hello.c
 > Segmentation fault (core dumped)

I can't figure out how to use the stackdump as it looks like I need to re-build Python with debug symbols turned on and I haven't investigated that yet.

The script comes from the CFE bindings examples. I actually extracted the version for the sources for 3.5.2 but there appear to be no differences between that version and the latest:

The hello.c file is very simple
 > $ cat hello.c
 > &include <stdio.h>
 > &include <stdlib.h>
 > int main(void)
 > {
 >  return 0;
 > }

I did report this to but I'm not sure if this issue is a Cygwin problem or an LLVM problem:



Attachment: cygcheck.out
Description: Binary data

Attachment: hello.c
Description: Text document

Attachment: python2.7.exe.stackdump
Description: Binary data

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]