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

memalign always get segmentation fault when use span_size as alignment #345

Open
YogzZ opened this issue Oct 31, 2024 · 0 comments
Open

Comments

@YogzZ
Copy link

YogzZ commented Oct 31, 2024

Hi, I try to use memalign based on rpmalloc, but always get Segmentation fault when free the buffer point if I set alignment to 65536 which is same with the span_size of rpmalloc.

Then I notice the test code forbids the alignment bigger or same to span_size:

if (alignment[ialign] >= rpmalloc_config()->span_size)

Always stuck at this place:
20241031175833

So, it's a bug or a rule?

platform: aarch64

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

No branches or pull requests

1 participant