Git Product home page Git Product logo

minibench's People

Contributors

mzcu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

minibench's Issues

Detected memory leak

Leak report attached below.

leaks Report Version: 4.0, multi-line stacks
Process 46563: 233 nodes malloced for 1620 KB
Process 46563: 6 leaks for 1638592 total leaked bytes.

STACK OF 2 INSTANCES OF 'ROOT LEAK: <calloc in NewSet>':
5   dyld                                  0x18fc0ff28 start + 2236
4   example-benchmark.out                 0x1003ef7fc main + 820
3   example-benchmark.out                 0x1003ee474 ministat + 344
2   example-benchmark.out                 0x1003ee68c ReadSet + 28
1   example-benchmark.out                 0x1003ef85c NewSet + 24
0   libsystem_malloc.dylib                0x18fda8eb0 _malloc_zone_calloc_instrumented_or_legacy + 92
====
    6 (1.56M) << TOTAL >>

      3 (800K) ROOT LEAK: <calloc in NewSet 0x140f040f0> [64]
         1 (800K) <calloc in NewSet 0x148008000> [819200]
         1 (32 bytes) <malloc in ReadSet 0x140f04130> [32]

      3 (800K) ROOT LEAK: <calloc in NewSet 0x140f04150> [64]
         1 (800K) <calloc in NewSet 0x1480d0000> [819200]
         1 (32 bytes) <malloc in ReadSet 0x140f04190> [32]

Segmentation fault detected

Thank you for your great work.
I am testing your minibench on my project rb_bench and encountered some problems.

When I test your minibench on apple ARM M1 machine, the is no segmentation fault.
However, when I use linux the segmentation fault is appeared in the following line.

I cannot debug on my own since your variable i, j, m, x contains no clue of what they stand for.

image

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.