You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Michael A.LaBrot" <ml...@hegemony.com> on 2000/03/09 17:13:05 UTC
mod_jserv/5848: httpd dumps core when loading module mod_jserv.so
>Number: 5848
>Category: mod_jserv
>Synopsis: httpd dumps core when loading module mod_jserv.so
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jserv
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Mar 09 08:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: mlabrot@hegemony.com
>Release: 1.3.12
>Organization:
apache
>Environment:
AIX 4.3.2 with accompanying IBM java version 1.1.6. gcc 2.95.2
uname -a: AIX aix2dev 3 4 00014030A300
>Description:
When httpd reaches the line in httpd.conf "LoadModule jserv_module /appl/www/libexec/mod_jserv.so", it loads the module into itself. The module initialization routines are called and get to a point where the module wants to call back into httpd. Specifically, right at the beginning of jserv_server_config_create() in mod_jserv.c is a call to ap_pcalloc(). This is where httpd dumps core (SIGSEGV). A stack trace points to strcmp.strcmp in glink.s. This is not a problem when using Apache 1.3.9!
>How-To-Repeat:
Build vanilla Apache 1.3.12 and Apache JServ 1.1 on AIX 4.3.2 using gcc.
>Fix:
Manually re-link libjserv.so.0.0.0 with the additional option of "-Wl,-bI:/appl/www/libexec/httpd.exp".
>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! ]