You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Harrie Hazewinkel <ha...@libero.it> on 2000/03/02 14:06:22 UTC

Apache 2.0 (20000302171217) dumps core

Hi,

The last version I took from CVS (Apache 2.0-20000302171217)
dumps core on FreeBSD 3.2. Has someone seen something similar??

Functions
      main                          http_main.c:302
      create_process                http_main.c:216
      ap_palloc                     apr_pools.c:837
      -------------              SIGSEGV -------------

In function create_process on line 215 of file http_main.c
executes an ap_create_context() that returns an error.
This error is not check and therefore ap_palloc creates
a SIGSEGV. At least this is my idea.

Harrie
O---------------------------------------------------------O
 mailto:harrie@libero.it
   http://digilander.iol.it/harrie/
  phone: +39-0331974135
 postal: via Galilei 13, 21018 Sesto Calende (VA), Italy
O---------------------------------------------------------O

Re: Apache 2.0 (20000302171217) dumps core

Posted by Jeff Trawick <tr...@ibm.net>.
I posted fixes yesterday for

1) the SIGSEGV itself
2) the improper cleanup of SysV sems which causes the initialization
   failure which leads to the SIGSEGV

work-around:

Use ipcs to display SysV semaphores.  Use ipcrm -s ID to remove the
two that Apache created (and not any others :) ).

Let me know if you want the patches.
-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...