Skip to content

voloctree: DDT Memory Failure when running with guard pages #302

@DMurataj01

Description

@DMurataj01

Hi, I'm able to trigger the following memory error from using DDT, using the following settings using the following reproducer.

Looks like some sort of internal storage related issue but can you take a look and give your thoughts?

Thanks,
Denis

Screenshot 2022-05-17 at 18 38 32

Screenshot 2022-05-17 at 18 42 01

    void bitpit_mprotect_reproducer() {
        auto pabloBB = std::make_unique<bitpit::PabloUniform>(1000, 1000, 1000, 50, 3);

        // Set 2:1 balance for the octree.
        pabloBB->setBalanceCodimension(1);
        const int idx = 0;
        pabloBB->setBalance(idx, true);

        for(int i = 0; i < 6; ++i) {
            logInfo("Iteration: " + std::to_string(i));
            pabloBB->adaptGlobalRefine();
        }

        auto volTree = std::make_unique<bitpit::VolOctree>(std::move(pabloBB), &pabloBB);
        volTree->update(false);

        return {};
    }

Stack trace at point of failure:

Screenshot 2022-05-17 at 19 03 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions