Git Product home page Git Product logo

Comments (3)

vaibhav93 avatar vaibhav93 commented on May 22, 2024

I get this error. Not creating a separate issue since it might be related.
node recursive-fibonacci.js

    Nth     Fibonacci       # of workers    latency in MS
    -----------------------------------------------------------
    10      55              4               22
    11      89              4               20
    12      144             4               30
    13      233             4               40
    14      377             4               86

*** Error in node': free(): corrupted unsorted chunks: 0x00007f7a6c0d7410 *** Segmentation fault (core dumped)
OS: Manjaro Linux x86_64
Kernel: 4.13.5-1-MANJARO
CPU: Intel i5-7200U (4) @ 2.500GHz
Node: v8.8.0

from napajs.

vaibhav93 avatar vaibhav93 commented on May 22, 2024

Estimate pi example failing too
node estimate-pi-in-parallel.js

    # of points     # of batches    # of workers    latency in MS   estimated π     deviation
    ---------------------------------------------------------------------------------------
    4000000         1               4               107             3.140193        0.001399654
    4000000         2               4               82              3.141261        0.0003316536

*** Error in `node': double free or corruption (out): 0x00007fb9a8072020 ***
Aborted (core dumped)

from napajs.

helloshuangzi avatar helloshuangzi commented on May 22, 2024

@welefen @vaibhav93 We just verified it works well by node <= v8.4.0 on linux, and it will fail with random callstacks by node >=v8.5.0
this issue is duplicated with #96. I am closing it, and let's track it by #96

from napajs.

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.