$ uname -r 2.6.11-1.1177_FC4smp ntpd randomly segfaults, compiled with the default RPM_OPT_FLAGS... turning off exec-shield-randomize cures the segfaults valgrind, efence do not show anything wrong.. a small test app: int main(int argc, char **argv) { return 0; } compiled with gcc4 and -fstack-check gcc -O2 -Wall -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -g -DDEBUG -D_FORTIFYSOURCE=2 -Wall -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -fstack-check -o main main.c segfaults also randomly with exec-shield-randomize
problem with gcc, glibc or kernel??
ok, forget the -fstack-check
ntpd compiled with gcc32, same symptoms...
*** Bug 153271 has been marked as a duplicate of this bug. ***
What arch?
For me it's Intel, a P4.
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
I'm seeing a lot of ntpd startup failures on FC3 and ntp-4.2.0.a.20040617-4 random, e.g.: uname({sys="Linux", node="cynosure", ...}) = 0 gettimeofday({1114538224, 941201}, NULL) = 0 gettimeofday({1114538224, 941911}, NULL) = 0 gettimeofday({1114538224, 942277}, NULL) = 0 gettimeofday({1114538224, 942659}, NULL) = 0 gettimeofday({1114538224, 943019}, NULL) = 0 gettimeofday({1114538224, 943393}, NULL) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- close(4) = 0 rt_sigaction(SIGSYS, {0xc5b3a0, [], SA_RESTORER, 0x1548c8}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 adjtimex({modes=61, offset=-1162, freq=5172136, maxerror=16, esterror=16, status=64, constant=0, precision=1, tolerance=33554432, time={1114538247, 657822}}) = 5 rt_sigaction(SIGSYS, {SIG_DFL}, NULL, 8) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Can someone verify if this is the same issue as Bug 154759 which affects FC3 with 2.6.11 kernel?
Looks like it to me. Sorry about that.
*** This bug has been marked as a duplicate of 154759 ***