-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
SIGSEGV in pthread_mutex_lock during free #781
Comments
There's not enough information here to know for sure what's going on, but chances are very good that this crash is due to application-induced memory corruption. |
Ok. This is seen intermittently, likely under heavy memory usage and just wanted to confirm if it was any known issue fixed in newer version of jemalloc. Will check for any memory corruption possibilities in the application. Closing this for now. Thanks for taking a look! |
Hitting a similar issue in version 3.5.1-2:
Is this fixed in later versions? This is the version that is available in the Ubuntu 14.04 repo. |
As mentioned, this is probably an application-induced corruption bug; running under valgrind or address sanitizer is probably a good way to debug. |
Hi,
We are using jemalloc version 4.2.1 and hitting this crash when freeing memory. Could you please confirm if this is any jemalloc issue or an application bug?
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f226c4b8d44 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007f226cb1dabd in je_malloc_mutex_lock (mutex=0x81b4, tsdn=0x7f2253bd7698) at include/jemalloc/internal/mutex.h:94
#2 je_arena_dalloc_large (tsdn=0x7f2253bd7698, arena=, chunk=0x7f21db200000, ptr=)
at src/arena.c:3015
Found a similar stack in valgrind report under this issue but not sure if it was fixed:
monkey/monkey#221
Thanks,
Asmita
The text was updated successfully, but these errors were encountered: