apache seg fault left ant right

From: Date: Fri, 11 Jul 2003 13:17:43 +0000
Subject: apache seg fault left ant right
Groups: php.general 
Request: Send a blank email to php-general+get-154871@lists.php.net to get a copy of this message
Hello, We get many "child pid [xxx] exit signal Segmentation fault (11)" in out error_log. tracing the pids and shows seg faults on different funtions, most if not all related to php. Thats probably a bug somewhere on our system, I need help with pin pointing the trouble. here are the tails of what we found out so far, I hope it will make more sense to someone here then to me. The following crush happens on many (80% of the segmentation faults) occasion: read(9, "<?php\nfunction draw_menubox_head"..., 4096) = 702
_llseek(9, 702, [702], SEEK_SET)        = 0
ioctl(9, SNDCTL_TMR_TIMEBASE, 0x5d8f3150) = -1 ENOTTY (Inappropriate ioctl for device)
read(9, "", 4096)                       = 0
read(9, "", 8192)                       = 0
ioctl(9, SNDCTL_TMR_TIMEBASE, 0x5d8f2110) = -1 ENOTTY (Inappropriate ioctl for device)
close(9)                                = 0
munmap(0x2313f000, 4096)                = 0
time(NULL)                              = 1057925553
write(22, "[Fri Jul 11 15:12:33 2003] [erro"..., 270) = 270
chdir("/")                              = 0
munmap(0x2325c000, 81920)               = 0
munmap(0x23212000, 303104)              = 0
munmap(0x231f2000, 131072)              = 0
munmap(0x231e1000, 69632)               = 0
munmap(0x231bf000, 139264)              = 0
close(8)                                = 0
munmap(0x2313d000, 8192)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x8a21a70, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR)             = 0
write(6, "\1\0\0\0\1", 5)               = 5
shutdown(6, 2 /* send and receive */) = 0
close(6)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 --- SIGSEGV (Segmentation fault) --- The function is: function draw_menubox_header($titel){ $string = '<table ...>'.
          '<td ...>' . $titel .
     '...</table>' ;
return($string); } ?> Those are other type of crushes... All within a time frame of about 15 minutes. ==> 10742 <==
munmap(0x2313d000, 8192)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x8a90c80, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR)             = 0
write(6, "\1\0\0\0\1", 5)               = 5
shutdown(6, 2 /* send and receive */) = 0
close(6)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 11420 <==
umask(077)                              = 022
umask(022)                              = 077
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 rt_sigaction(SIGPROF, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 12218 <== fstat64(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
getdents64(0x6, 0x8adabb8, 0x1000, 0) = 4088 getdents64(0x6, 0x8adabb8, 0x1000, 0) = 2448 getdents64(0x6, 0x8adabb8, 0x1000, 0) = 0
close(6)                                = 0
stat64("/some/path/index.php", {st_mode=S_IFREG|0644, st_size=233, ...}) = 0 stat64("/sme/path/index.php", {st_mode=S_IFREG|0644, st_size=233, ...}) = 0 --- SIGSEGV (Segmentation fault) --- ==> 13083 <==
munmap(0x2314e000, 8192)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x8a8ca18, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR)             = 0
write(6, "\1\0\0\0\1", 5)               = 5
shutdown(6, 2 /* send and receive */) = 0
close(6)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 14516 <== fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x89e1b80, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR)             = 0
write(6, "\1\0\0\0\1", 5)               = 5
shutdown(6, 2 /* send and receive */) = 0
close(6)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 18581 <==
munmap(0x2313d000, 8192)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x8a6b440, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR)             = 0
write(6, "\1\0\0\0\1", 5)               = 5
shutdown(6, 2 /* send and receive */) = 0
close(6)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 21266 <== fstat64(7, {st_mode=S_IFREG|0644, st_size=1003, ...}) = 0 fstat64(7, {st_mode=S_IFREG|0644, st_size=1003, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x23142000 read(7, "php_flag display_errors on\nphp_f"..., 4096) = 1003
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x23142000, 4096)                = 0
--- SIGSEGV (Segmentation fault) --- ==> 22894 <==
munmap(0x2314e000, 8192)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x89fa0e8, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR)             = 0
write(6, "\1\0\0\0\1", 5)               = 5
shutdown(6, 2 /* send and receive */) = 0
close(6)                                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 24117 <== read(3, "\1\0\200\7\0\300\3\0\200\6\0@\2\0\200\4\0\200w\0217\v\254"..., 50) = 50
time(NULL)                              = 1057925489
getpid()                                = 24117
getpid()                                = 24117
getpid()                                = 24117
getpid()                                = 24117
write(3, "\2030\4\0\1\0\2\3\3\0\22\0\0200\202\2\3770\202\2h\240\3"..., 818) = 818
read(3, "\200\212", 2)                  = 2
read(3, "\2\1\0\200\0\0\0\200\0\0003\346\213s\20206\7\325\265\310"..., 138) = 138
--- SIGSEGV (Segmentation fault) --- ==> 25037 <==
read(7, "", 4096)                       = 0
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x2315a000, 4096)                = 0
umask(077)                              = 022
umask(022)                              = 077
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 rt_sigaction(SIGPROF, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 26894 <== --- SIGCHLD (Child exited) --- select(0, NULL, NULL, NULL, {0, 990000}) = 0 (Timeout)
time(NULL)                              = 1057927535
kill(16577, SIGALRM)                    = 0
kill(3635, SIGALRM)                     = 0
kill(26791, SIGALRM)                    = 0
kill(8022, SIGUSR1)                     = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 8022
wait4(-1, 0x5d91050c, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0} ==> 29034 <== fstat64(6, {st_mode=S_IFREG|0755, st_size=23322, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2313d000
_llseek(6, 0, [0], SEEK_CUR)            = 0
_llseek(6, 0, [0], SEEK_CUR)            = 0
read(6, "<?php\n/*************************"..., 4096) = 4096
_llseek(6, 4096, [4096], SEEK_SET)      = 0
ioctl(6, SNDCTL_TMR_TIMEBASE, 0x5d90dbd0) = -1 ENOTTY (Inappropriate ioctl for device)
read(6, "OR=\"<?php echo $textcolor?>\"><b>"..., 4096) = 4096
brk(0x8af1000)                          = 0x8af1000
--- SIGSEGV (Segmentation fault) --- ==> 4939 <==
getpid()                                = 4939
getpid()                                = 4939
open("/some/path/tmp/_4939_119_20.rnk", O_RDWR|O_CREAT|O_TRUNC, 0700) = 7 stat64("/some/path/forum/chat/loader.php3", {st_mode=S_IFREG|0644, st_size=10876, ...}) = 0
umask(077)                              = 022
umask(022)                              = 077
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 rt_sigaction(SIGPROF, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 --- SIGSEGV (Segmentation fault) --- ==> 838 <== fstat64(6, {st_mode=S_IFREG|0644, st_size=97, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x23142000 read(6, "ErrorDocument 404 /php/404.php\r\n"..., 4096) = 97
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x23142000, 4096)                = 0
open("/some/user/public_html/php/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
umask(077)                              = 022
umask(022)                              = 077
--- SIGSEGV (Segmentation fault) --- ==> 9405 <== open("/other/user/public_html/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory) open("/other/user/public_html/forum/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
umask(077)                              = 022
umask(022)                              = 077
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 rt_sigaction(SIGPROF, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, {0x22c4b2dc, [PROF], SA_RESTART|0x4000000}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 --- SIGSEGV (Segmentation fault) --- Thanks for any help

« previous php.general (#154871) next »