GithubHelp home page GithubHelp logo

Prevent parzu crashes about parzu HOT 2 CLOSED

lefterav avatar lefterav commented on May 28, 2024
Prevent parzu crashes

from parzu.

Comments (2)

rsennrich avatar rsennrich commented on May 28, 2024

Hi Eleftherios,

this is a bug in swi-prolog 5.8 or so (I assume you use Ubuntu 12.04).
Downloading and using a recent version of swipl should fix the bug.

I'm assuming the ID is correct because ParZu is doing some parallel
processing and one thread might be processing sentence 299 before the
others have been parsed.

best wishes,
Rico

On 25/11/14 16:04, Eleftherios Avramidis wrote:

I am trying to parse our training data, and unfortunately every now
and then, an error breaks the parsing.

[Thread 1] pl-fli.c:2428: codeToAtom: Assertion failed: chrcode >= 0
Parser process 7070 has crashed on sentence 299. If you don't see
swipl error message, try parsing sentence in single-processed mode

First of all, the parser is probably reporting a wrong sentence id,
because the output file only has less sentences than 299. Using
--process 1 does not prevent the error from occuring.

I am not really interested for the particular sentence causing the
error, but I would appreciate it if the parser can go on with the next
sentence of the given file, instead of crashing.


Reply to this email directly or view it on GitHub
#2.

from parzu.

rsennrich avatar rsennrich commented on May 28, 2024

to be more exact, I think swipl 5.8 is unaffected, 5.10 is buggy, and the bug is fixed in 6.2 or higher. I'm not sure where it was introduced/fixed, but these are the versions I tested.

I'm closing this issue; feel free to re-open if you encounter the bug with a recent swipl version.

from parzu.

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.