Commit 6e1168a6 authored by brian's avatar brian
Browse files

Reviewed by: Brian Behlendorf, Randy Terbush, Roy T. Fielding

Submitted by:	mgyger@itr.ch, Adrian Filipi-Martin <adrian@virginia.edu>

> Adrian Filipi-Martin <adrian@virginia.edu> writes:
> When starting httpd or restarting it with a SIGHUP, the following is logged
> to the error_log:
>
> [Wed Jan  8 14:21:03 1997] created shared memory segment #4206
> [Wed Jan  8 14:21:03 1997] sigaction(SIGSEGV): Invalid argument
> [Wed Jan  8 14:21:03 1997] sigaction(SIGBUS): Invalid argument
> [Wed Jan  8 14:21:03 1997] Server configured -- resuming normal operations
>
> (Note that the shared memory segment message is only present when the daemon
> is send a SIGHUP signal to restart it.)
>
> These error messages do not appear to have any real effect upon the operation
> of the server.  I expect they would not matter until it has either a bus or
> a segment fault.
>
> In any case, I looked at the source with gdb and the fact that a sigaction
> structure is not initialized completely in http_main.c seems to be the culprit.
> In any case a small patch is included below that does the required clearing of
> the sigaction structure and fixes the problem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@77484 13f79535-47bb-0310-9956-ffa450edef68
parent bdc56041
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment