Giter Club home page Giter Club logo

Comments (6)

danydoerr avatar danydoerr commented on June 22, 2024

Thanks Melissa, I'll have a look at the issue.

from gfaffix.

danydoerr avatar danydoerr commented on June 22, 2024

@mjhubisz The issue is not a programming bug in gfaffix, but probably caused by the rust compiler or libraries that it uses. Specifically, it is located in the target for compiling static binaries and therefore the memory leak only occurs in the linux binary that is provided with the release (@glennhickey!), but if you compile gfaffix yourself, or use conda (mamba install gfaffix=0.1.5b), things should run smoothly.

The issue is also independent of the code changes in 0.1.5b w.r.t. 0.1.5. So, I'm wondering whether someone else can reproduce this bug.

@mjhubisz, you you happen to have rust installed and are you able to generate a static binary that I may test? The commands are as follows:

rustup target add x86_64-unknown-linux-musl
cargo build --target=x86_64-unknown-linux-musl --release

from gfaffix.

glennhickey avatar glennhickey commented on June 22, 2024

@danydoerr Can you please build the GFAffix release binary with

cargo build --target=x86_64-unknown-linux-gnu --release

instead? I'm not a Rust expert but this is what I always use for static builds and have never had issues. It also seems to solve the present problem. See

wget http://public.gi.ucsc.edu/~hickey/debug/gfaffix

which works on the given data (where I reproduce the error when building on the same system with musl).

from gfaffix.

glennhickey avatar glennhickey commented on June 22, 2024

(I also had RUSTFLAGS='-C target-feature=+crt-static' to get the static binary in my link)

from gfaffix.

danydoerr avatar danydoerr commented on June 22, 2024

Thanks, @glennhickey, that's fantastic! I just downloaded your binary and confirm it's working. I'll upload it to replace the currently released binary.

from gfaffix.

danydoerr avatar danydoerr commented on June 22, 2024

updated binary is now available at https://github.com/marschall-lab/GFAffix/releases/tag/0.1.5b

from gfaffix.

Related Issues (13)

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.