Giter Club home page Giter Club logo

Comments (8)

helloshuangzi avatar helloshuangzi commented on May 11, 2024 3

@syahiaoui Thanks for the valuable feedback.
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
We are working to resolve this issue as our top priority, and we contacted node.js team to accelerate it. So, please try napa examples with node <= v8.4.0 before that.
Thank you very much.

from napajs.

syahiaoui avatar syahiaoui commented on May 11, 2024

I have the same issue any suggestion is welcome

Thanks

from napajs.

tuananh avatar tuananh commented on May 11, 2024

I got the same issue. Sometimes it works, most of the time: segment fault.

[6112:0x103061600]      252 ms: [Finished reentrant Scavenger during Scavenge.]
[1]    6112 segmentation fault  node estimate-pi-in-parallel.js

from napajs.

helloshuangzi avatar helloshuangzi commented on May 11, 2024

thx for the feedback, and we are working on it as P1 item.

from napajs.

syahiaoui avatar syahiaoui commented on May 11, 2024

Whene i use LTS version(v6.11.5) of node it works fine:
v6.9.0
v6.11.3
-> v6.11.5
v8.5.0
v8.6.0
v8.8.1
system
default -> v8.6.0
node -> stable (-> v8.8.1) (default)
stable -> 8.8 (-> v8.8.1) (default)
iojs -> N/A (default)
lts/* -> lts/boron (-> v6.11.5)
lts/argon -> v4.8.5 (-> N/A)
lts/boron -> v6.11.5

the results:
Nth Fibonacci # of workers latency in MS
-----------------------------------------------------------
10 55 4 20
11 89 4 22
12 144 4 29
13 233 4 45
14 377 4 53
15 610 4 82
16 987 4 143

from napajs.

daiyip avatar daiyip commented on May 11, 2024

This is tracked in nodejs/node#16658.

from napajs.

jjhesk avatar jjhesk commented on May 11, 2024

i have just upgraded to v9.6. i hope that library will support that soon

from napajs.

fs-eire avatar fs-eire commented on May 11, 2024

@jjhesk there was a bug to invalidate the workaround for this issue on Node 8.10.0 with Napa.js 0.2.0. Please update to 0.2.1 and have a try.

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.