Giter Club home page Giter Club logo

Comments (4)

cailafinn avatar cailafinn commented on July 19, 2024

This isn't actually an unreliable test. Running it twice in a script will crash on macOS, the test just revealed the failure. Tested on the nightly, mantid 6.9.1 and mantid 6.7. All crash.

It only seems to happen with the SingleCrystalLeanElasticPeakTable.nxs file, so it's now a question of working out what's wrong with the file or wrong with the loading process for those types of files.

When testing, the crash would often occur during the next test that's run. Interestingly, I think this is due to the original load of the file corrupting something on the heap, then the second load identifies the problem and crashes out. Guess based on this error message:

python3.10(16416,0x70000f855000) malloc: Heap corruption detected, free list is damaged at 0x600002a851e0
*** Incorrect guard value: 0
python3.10(16416,0x70000f855000) malloc: *** set a breakpoint in malloc_error_break to debug

Actual crash when using the breakpoint at malloc_error_break seems to occur in two places, inconsistently. Why this happens for this specific file, I'm not sure.

NXopendata(m_fileID, name().c_str());

NXclosedata(m_fileID);

from mantid.

zjmorgan avatar zjmorgan commented on July 19, 2024

Interesting. Thanks for tracking it down. Yes, I added the file. The context was to preserve the peak shape when saving/loading lean peaks workspaces.

from mantid.

zjmorgan avatar zjmorgan commented on July 19, 2024

The file was created loading SingleCrystalPeakTable.nxs and converting to LeanElasticPeak

from mantid.

github-actions avatar github-actions commented on July 19, 2024

Closed by #37515.

from mantid.

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.