Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sampler_poisson: Fix crash due to vector length being hardcoded to 1M #676

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nh2
Copy link

@nh2 nh2 commented Jan 13, 2025

Fixes #550.

@nh2
Copy link
Author

nh2 commented Jan 13, 2025

Note that while this fixes the segfault, on one of my datasets that previously crashed I now got out-of-memory. I don't know that is explained by the extra vector entries that are now allowed.

For another, 20x larger dataset las files of total of > 2000 GB, it did not crash nor OOM, so I wonder in which case this code path is even triggered.

I don't fully understand the meaning/purpose of dbgAccepted yet; unfortunately the code has no comments that explain what is done and why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault in SamplerPoisson::sample
1 participant