-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I also tested in EulerOS 2.0 and CentOS 8.2, never got that signal.
Jemalloc VERSION: 5.2.0
My MALLOC_CONF: --with-malloc-conf=background_thread:true
Running in VM,
Arch: x86 (64bits)
CPU: 1U
Memory: 1G
OS: EulerOS 2.9
File Line:
https://github.com/jemalloc/jemalloc/blob/5.2.0/src/background_thread.c#L261
if (config_stats) {
=> gettimeofday(&tv, NULL);
GDB disassembly:

BTW, context of rax is 0.
I disassembled background_thread_sleep() and gettimeofday() in other machine with greater memory (16G), I never saw add %al, (%rax). Besides, this segfault never occurs in other machine.
Probability: Very high on virtual machines with small memory, in EulerOS 2.9.
If there are segfaults, they always occur at the beginning of process running.
Metadata
Metadata
Assignees
Labels
No labels

