You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Anjo Kolk <k....@chello.nl> on 2000/06/24 09:42:30 UTC

general/6225: apache doesn't start, gets sigsegv during startup with shared modules

>Number:         6225
>Category:       general
>Synopsis:       apache doesn't start, gets sigsegv during startup with shared modules
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Jun 24 00:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     k.kolk@chello.nl
>Release:        1.3.12
>Organization:
apache
>Environment:
linux 2.2.13 apache 1.3.12 oracle 8.1.6
Linux oraperf.chello.nl 2.2.13 #2 SMP Thu Nov 25 17:41:30 CET 1999 i686 unknown
>Description:
This happens only when you load a module that links Oracle as shared library.
The stacktrace is different, but start it as httpd -X in the debugger and you 
see that it tries to access an address that is no long mapped. info shared libraries
in gdb shows that the address is in the libpthread.so library. So make sure that
httpd is linked with libpthread.so.
>How-To-Repeat:
try to startup with the owa_module or php module that loads oracle as a DSO into 
apache.
>Fix:
apache/src/Makefile needs to have a fix for 
LIBS1=  -lm -lcrypt -lndbm -ldb -ldl       
to
LIBS1=  -lm -lcrypt -lndbm -ldb -ldl -lpthread      

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]