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

glibc occasionally aborts with lots of memory allocation #141

Open
rm5248 opened this issue Feb 14, 2020 · 0 comments
Open

glibc occasionally aborts with lots of memory allocation #141

rm5248 opened this issue Feb 14, 2020 · 0 comments

Comments

@rm5248
Copy link
Contributor

rm5248 commented Feb 14, 2020

I'm currently updating dbus-java to support passing of FileDescriptors(see issue here), and one thing that I've encountered is that during the StressTest of dbus-java, the JVM will crash very consistently during this test due to glibc getting an error. It will abort with the following:

malloc(): unsorted double linked list corrupted

I've created a similar test on my fork here, but it doesn't happen as regularly, but it will still occasionally fail with the same error from malloc. When I've encountered this error before(in C/C++ programs), it has been because of a lot of memory allocation/deallocation happening very fast, which seems to be the case here. Is there something that can be done to fix this or is this a bug with JNR?

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