Hi,
I've managed to build and install the jpype extension
on a current cygwin install (includes Python 2.4.1)
It required very little tweaking but I get a core dump
when I try to load a Sun 1.4.2 JVM within the python
interpreter process, here's the program I'm trying to run:
#!/usr/bin/python
from jpype import *
startJVM("c:/j2sdk1.4.2_08/jre/bin/client/jvm.dll",
"-ea") #core dump at the startJVM() call!!!
java.lang.System.out.println("hello world")
shutdownJVM()
a python2.4.exe.stackdump file is created in the
current folder containing:
Exception: STATUS_PRIVILEGED_INSTRUCTION at eip=0022E7B9
eax=004A31BA ebx=0022E7D8 ecx=77E4AFB4 edx=FFFFFFFF
esi=F3886E14 edi=0022E7A0
ebp=6E14A2A0 esp=0022E61C
program=C:\cygwin\bin\python2.4.exe, pid 5064, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
6E14A2A0 0022E7B9 (4A64616F, 25004D56, 74612073,
3A732520)
6E45504A 6C3A3A76 (7361625F, 74635F65, 3A3A726F,
362C3028)
3 [main] python2.4 5064 handle_exceptions: Error
while dumping state (probably corrupted stack)
Any ideas of what the problem may be?
Are there any plans to support the Cygwin version of
Python at all?
Cheers,
darkprok
Steve Menard
None
None
Public
|
Date: 2005-06-14 20:39 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| data_type | 655015 | 2005-06-14 20:39 | devilwolf |
| category_id | jpype-win32 | 2005-06-14 20:39 | devilwolf |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use