You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/09/17 13:48:41 UTC

[Bug 62727] New: Apache graceful restart crash

https://bz.apache.org/bugzilla/show_bug.cgi?id=62727

            Bug ID: 62727
           Summary: Apache graceful restart crash
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: pavlovdo@gmail.com
  Target Milestone: ---

Apache 2.4.6 (Cent OS 7 package httpd-2.4.6-80.el7.centos.1.x86_64) is crashing
during graceful restart.

In error_log:
[core:notice] [pid 31670] AH00060: seg fault or similar nasty error detected in
the parent process

# gdb /sbin/httpd /var/log/httpd/core/core-httpd-11-0-0-19797-1537171675
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/httpd...Reading symbols from
/usr/lib/debug/usr/sbin/httpd.debug...done.
done.
[New LWP 19797]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/httpd -DFOREGROUND'.
Program terminated with signal 11, Segmentation fault.
#0  __GI___libc_free (mem=0x970ea725) at malloc.c:2935
2935      if (chunk_is_mmapped(p))                       /* release mmapped
memory. */

strace -p 23725:
...
stat("/etc/krb5.conf", {st_mode=S_IFREG|0644, st_size=590, ...}) = 0
open("/etc/krb5.conf", O_RDONLY)        = 66
fcntl(66, F_SETFD, FD_CLOEXEC)          = 0
fstat(66, {st_mode=S_IFREG|0644, st_size=590, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f01ae275000
read(66, "# Configuration snippets may be "..., 4096) = 590
openat(AT_FDCWD, "/etc/krb5.conf.d/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 67
getdents(67, /* 2 entries */, 32768)    = 48
getdents(67, /* 0 entries */, 32768)    = 0
close(67)                               = 0
read(66, "", 4096)                      = 0
close(66)                               = 0
munmap(0x7f01ae275000, 4096)            = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x970ea71d} ---
chdir("/var/log/httpd/core")            = 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7f01acd496d0},
{SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7f01acd496d0}, 8) = 0
write(2, "[Mon Sep 17 11:46:40.807530 2018"..., 133) = 133
kill(23725, SIGSEGV)                    = 0
rt_sigreturn({mask=[]})                 = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER, si_pid=23725, si_uid=0} ---
+++ killed by SIGSEGV (core dumped) +++

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62727] Apache graceful restart crash

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62727

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
You'll need to report this to redhat or reproduce on a recent source release to
move forward.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org