Code Monkey home page Code Monkey logo

Comments (4)

paulapatience avatar paulapatience commented on September 17, 2024

One of the places in pngload which signals the error is the (UB8) call in (DEFINE-CHUNK PLTE ...): Replacing the call with NIL fixes the compilation error. Also, when repeatedly interactively evaluating the DEFINE-CHUNK form, sometimes the error is signaled, sometimes not.

from clasp.

paulapatience avatar paulapatience commented on September 17, 2024

Here is a minimal reproducible example which causes the error:

(defun parse-chunk/plte ()
  (let ((v (make-array 0)))
    (labels ((ub8 ()
               (aref v 0))
             (read-bytes ()
               (map-into (make-array 0) #'ub8)))
      (ub8))))

(The naming is a relic of my having started from (DEFINE-CHUNK PLTE ...) and having progressively macroexpanded and removed unnecessary parts.)

from clasp.

paulapatience avatar paulapatience commented on September 17, 2024

The same error is still present on latest Clasp, but I cannot reproduce it with the above minimal reproducible example. It might be easier to debug starting from c4a56ca.

from clasp.

Bike avatar Bike commented on September 17, 2024

Reproduced. As you said, it's intermittent, and that's due to the occasionally nondeterministic nature of Cleavir. The error is during flow order recomputation during meta evaluation, so I'm going to guess this is another instance of #1442, which I am working towards fixing comprehensively at the moment. Alternately it could be due to something going wrong while deleting the unused function.

from clasp.

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.