Open Quuxplusone opened 9 years ago
Bugzilla Link | PR24039 |
Status | NEW |
Importance | P normal |
Reported by | brad_e@hotmail.com |
Reported on | 2015-07-06 11:25:42 -0700 |
Last modified on | 2015-07-24 10:24:56 -0700 |
Version | 3.5 |
Hardware | PC Windows NT |
CC | geek4civic@gmail.com, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
The 32 bit version of Cygwin (on a 64 bit OS) doesn't seem to crash when I run
the Python bindings for libclang/cygclang so it must be something to do with
the 64 bit version. I don't see a crash but I end up with all kinds of forking
issues when I try to launch a process via subprocess. I've tried rebasing many
times but it doesn't seem to resolve the forking issue. It's at least a partial
solution to my problem.
[main] python2.7 3400 child_info_fork::abort: address space needed by 'c
ygfontconfig-1.dll' (0x1FC0000) is already occupied
(<type 'exceptions.OSError'>, OSError(11, 'Resource temporarily unavailable'),
< traceback
object at 0xffa95d9c>)
Traceback (most recent call last):
The command that I run in Cygwin is this:
python cindex-dump.py hello.c
Segmentation fault (core dumped)
This creates a python2.7.exe.stackdump file but I can't figure out how to get
anything useful from it as it appears I need to re-build Python with debug
symbols turned on.
The cindex-dump.py file comes from:
http://llvm.org/svn/llvm-project/cfe/trunk/bindings/python/examples/cindex/cindex-dump.py
There don't appear to be any differences between version 3.5.2 (which it looks
like Cygwin is bundling) and the latest.
The hello.c file is pretty simple:
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
return 0;
}