Giter VIP home page Giter VIP logo

cilk_tests's People

Contributors

chamibuddhika avatar czakian avatar parfunc avatar parfunc2 avatar rrnewton avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cilk_tests's Issues

cik_io distfib example seg faults

How to reproduce

make and run ./server.exe in a separate command line.
Now ./distfib.exe

gdb ./distfib.exe output

Program received signal SIGSEGV, Segmentation fault.
__cilkrts_ivar_read (ivar=0x60fa48)
at /u/budkahaw/Builds/ccilk/runtime/ivar_full_blocking.c:59
59 w->paused_ctx = &ctx;
(gdb) bt
#0 __cilkrts_ivar_read (ivar=0x60fa48)

at /u/budkahaw/Builds/ccilk/runtime/ivar_full_blocking.c:59

#1 0x00007ffff7ba5a1e in cilk_write (fd=,

buf=<value optimized out>, len=8)
at /u/budkahaw/Builds/ccilk/runtime/io/concurrent_cilk_io.c:246

#2 0x0000000000401a1a in runMap ()
#3 0x0000000000401623 in distPfib ()
#4 0x0000000000401514 in main ()

Valgrind output

==27916== Invalid write of size 8
==27916== at 0x4E7418E: __cilkrts_ivar_read (ivar_full_blocking.c:59)
==27916== by 0x4E74A1D: cilk_write (concurrent_cilk_io.c:246)
==27916== by 0x401A19: runMap (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401622: distPfib (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401513: main (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== Address 0x70 is not stack'd, malloc'd or (recently) free'd
==27916==
==27916==
==27916== Process terminating with default action of signal 11 (SIGSEGV)
==27916== Access not within mapped region at address 0x70
==27916== at 0x4E7418E: __cilkrts_ivar_read (ivar_full_blocking.c:59)
==27916== by 0x4E74A1D: cilk_write (concurrent_cilk_io.c:246)
==27916== by 0x401A19: runMap (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401622: distPfib (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401513: main (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)

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.