Code Monkey home page Code Monkey logo

Comments (7)

tuxdna avatar tuxdna commented on June 28, 2024

"Segmentation fault (core dumped)" usually means that the process crashed due to SIGSEGV. In case of Python, it could be that

  • Interpreter crashed ( very unlikely )
  • or some module crashed

In case of import boilerpipe, the error could happen due to the code called from init.py

This also includes the jpype module. I suspect that it is the jpype module that is causing the failure.

Can you share what versions of jpype and Java you are running ?

In [1]: import jpype

In [2]: jpype.__version__
Out[2]: '0.6.2'

from python-boilerpipe.

DeckardSG avatar DeckardSG commented on June 28, 2024

I also suspected it, but import jpype had no apparent problems. My versions are:
jpype = 0.6.2
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

from python-boilerpipe.

tuxdna avatar tuxdna commented on June 28, 2024

@DeckardSG I have the same versions for both jpype and Java. To gain more insight, can you share the output of following command in a pastebin:

$ python -v -c 'import boilerpipe; print "DONE"'

from python-boilerpipe.

DeckardSG avatar DeckardSG commented on June 28, 2024

Here it is:
https://pastebin.com/Tzex6EiE

I have started a new project from scratch in another machine and it seems to work, however the old ones are still showing the segfault.

Thanks for your time and sorry for the trouble.

from python-boilerpipe.

 avatar commented on June 28, 2024

Same here. I have the same version of jpype and python crashes on first import line.
Python 3.6
Java 1.8.0_152-b16

from python-boilerpipe.

 avatar commented on June 28, 2024

Same on another machine. Compilation goes well but importing boilerpipe causes python3 to crash
Any idea how to progress with that?

from python-boilerpipe.

tuxdna avatar tuxdna commented on June 28, 2024

@rubimazaki It is unlikely for me to find the root cause of this Seg Fault, because I only have Fedora 25 machine -- and it works for me. Could you try it once more and share your OS details, the commands used and logs ?

from python-boilerpipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.