Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on double startJVM() #14

Closed
Thrameos opened this issue Jun 18, 2017 · 2 comments
Closed

Segfault on double startJVM() #14

Thrameos opened this issue Jun 18, 2017 · 2 comments
Assignees

Comments

@Thrameos
Copy link
Owner

To reproduce call

import jpype
jpype.startJVM(jpype.getDefaultJVMPath())
try:
   jpype.startJVM(jpype.getDefaultJVMPath())
except RuntimeError:
  pass
a=jpype.JArray(jpype.JInt, 1)(10)
@Thrameos
Copy link
Owner Author

As this is similar to other corrections in bulletproof I have moved it to there.

@Thrameos
Copy link
Owner Author

#2 is solved by this patch

try:
    jpype.startJVM(jpype.getDefaultJVMPath())
except OSError:
   pass

@Thrameos Thrameos closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant