Code Monkey home page Code Monkey logo

Comments (7)

lbergelson avatar lbergelson commented on August 21, 2024

Here's a new reported additional example of smith-waterman related crash:

his issue also pops up during FilterAlignmentArtifacts in GATK 4.1.7.0 (experimental)

*** Error in `java': munmap_chunk(): invalid pointer: 0x00007fb4c8e6e540 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fb4cdfee7e5]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7fb4cdffb698]
/cromwell_root/tmp.be1fb8a9/libgkl_smithwaterman4505316410124989699.so(_Z19runSWOnePairBT_avx2iiiiPhS_iiaPcPs+0x338)[0x7fb4ac3cffa8]
/cromwell_root/tmp.be1fb8a9/libgkl_smithwaterman4505316410124989699.so(Java_com_intel_gkl_smithwaterman_IntelSmithWaterman_alignNative+0xd8)[0x7fb4ac3cfbf8]
[0x7fb4b8b95f92]

from gkl.

droazen avatar droazen commented on August 21, 2024

This user comment on the original GATK ticket might provide some additional insight: broadinstitute/gatk#5690 (comment)

from gkl.

Kmannth avatar Kmannth commented on August 21, 2024

#114 has an inital patch to harden Smithwaterment against malloc faling and fix for AVX specific free.

It is not clear it will fix the core issue but it will no hurt it this class of issue.

from gkl.

Kmannth avatar Kmannth commented on August 21, 2024

The fix inital fix has been landed to master. Without a reproduction case there may be more work to do.

from gkl.

Kmannth avatar Kmannth commented on August 21, 2024

I didn't meen to close this one just yet.

Next steps:

  1. see if 0.8.7 GLK fixes some of the issue 2 patches have been landed.

    • Smithwaterment needs over 8MB of memory to run and we now check for malloc failing ; Some of the reports say the issue goes away with more memory and it a BKM to do these checks anyway.
    • _mm_malloc memory is now freeded with __mm_free. the use of free before with this type is officaly "undefined"
  2. Run Valgind on 0.8.7 and see if anything pops up.

from gkl.

Kmannth avatar Kmannth commented on August 21, 2024

@lbergelson with the latest versions of GATK/GKL do you still see this issue?

from gkl.

lbergelson avatar lbergelson commented on August 21, 2024

@Kmannth I can't say for sure since I was never actually to reproduce those two exactly. 0.8.7 fixed all of the similar issues that I could reproduce and I haven't heard any new complaints yet. I think we're good to close this and start clean with error reports from 0.8.7 onwards! Thank you.

from gkl.

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.