Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Fatal error when stopping python session #70

@isubag

Description

@isubag

Hi,

using latest (0.9) jpy version, I experienced an issue when stopping a python session from java.
With such trivial main file:

import org.jpy.*;

public class MainJPY {
    public static void main(String args[]){
        PyLib.startPython("/home/michele/anaconda2/bin");
        PyLib.stopPython(); 
    }
}

I get a fatal error when I call stopPython():

A fatal error has been detected by the Java Runtime Environment:

 SIGSEGV (0xb) at pc=0x00007f3b6f549092, pid=15482, tid=139893955520256

JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops) Problematic frame:
C  [libpython2.7.so.1.0+0x11d092]  Py_Finalize+0x32

Is it a know issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions