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
Please register or sign in to comment