Donate Share

JPype

Tracker: Feature Requests

5 jpype on cygwin - ID: 1220239
Last Update: Comment added ( devilwolf )

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


Andrey Petrov ( darkprokoba ) - 2005-06-14 10:01

5

Open

None

Steve Menard

None

None

Public


Comment ( 1 )




Date: 2005-06-14 20:39
Sender: devilwolfProject AdminAccepting Donations

Logged In: YES
user_id=423569

There are no current plans to support JPype on cygwin for
now. The plan calls for finished the basic functionailit first.

I will convert this bug report into a feature request.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
data_type 655015 2005-06-14 20:39 devilwolf
category_id jpype-win32 2005-06-14 20:39 devilwolf