You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/02/11 06:16:56 UTC

DO NOT REPLY [Bug 44388] New: - Apache 2.0.63 on AIX 5.3 child process crashes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44388

           Summary: Apache 2.0.63 on AIX 5.3 child process crashes
           Product: Apache httpd-2
           Version: 2.0.63
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Platform
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ivan.pechorin@gmail.com


Hi, 

We are facing an issue related to Apache 2.0.63 (32-bit) on AIX 5.3 (64-bit):
child process crashes when serving request. We use latest IBM XL C compiler for
AIX (9.0.0.2)

Steps performed: 

1) build zlib and openssl 0.9.8g static libraries (32-bit)

2) configure and build apache 2.0.63 

configure flags:

CC="xlc_r"; export CC
"./configure" \
"--with-mpm=worker" \
"--enable-so" \
"--enable-layout=Apache" \
"--prefix=/opt/apache" \
"--enable-static-support" \
"--enable-mods-static=most" \
"--enable-rewrite" \
"--disable-include" \
"--disable-proxy" \
"--disable-cgid" \
"--disable-cgi" \
"--disable-userdir" \
"--disable-imap" \
"--enable-ssl=static" \
"--with-ssl=/home/apache/build/openssl-for-apache" \
"--with-expat=/home/apache/build/httpd-2.0.63/srclib/apr-util/xml/expat" \
"--enable-deflate" \
"--with-z=/home/apache/build/zlib-for-apache" \
"CC=xlc_r" \

Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/opt/apache"
 -D SUEXEC_BIN="/opt/apache/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_deflate.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_ssl.c
  worker.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

I configured virtual host with SSL requiring client certificate. 


$ cat error_log
[Mon Feb 11 08:50:18 2008] [notice] Apache configured -- resuming normal operations
<< This is where I made an HTTP request >>
[Mon Feb 11 08:50:34 2008] [notice] child pid 401588 exit signal Segmentation
fault (11)
<< Core dump was created here >>


$ dbx /opt/apache/bin/httpd core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...

Segmentation fault in sig_coredump at line 1055 in file "" ($t4)
could not read "mpm_common.c"
(dbx) where
sig_coredump(sig = 11), line 1055 in "mpm_common.c"
setExcludes__FP11request_recP13WLExcludeNodePCc(0x304b8978, 0x304bb730,
0x300e9ab8) at 0xd1eb7fec
updateConfigParam__FP11request_recP10ConfigInfoPcT3(0x304b8978, 0x301c9dd8,
0x301c9c34, 0x300e9ab8) at 0xd1eb7c70
initConfigInfo__FP11request_recP10ConfigInfo(0x304b8978, 0x301c9dd8) at 0xd1eaeeac
request_handler(0x304b8978) at 0xd1ead790
ap_run_handler(r = 0x304b8978), line 152 in "config.c"
ap_invoke_handler(r = 0x304b8978), line 364 in "config.c"
ap_process_request(r = 0x304b8978), line 249 in "http_request.c"
ap_process_http_connection(c = 0x304aea28), line 253 in "http_core.c"
ap_run_process_connection(c = 0x304aea28), line 43 in "connection.c"
ap_process_connection(c = 0x304aea28, csd = 0x304ae938), line 176 in "connection.c"
process_socket(p = 0x304ae900, sock = 0x304ae938, my_child_num = 0,
my_thread_num = 1, bucket_alloc = 0x304b0910), line 522 in "worker.c"
worker_thread(thd = 0x300f1c10, dummy = 0x3014f0e8), line 842 in "worker.c"
dummy_worker(opaque = 0x300f1c10), line 105 in "thread.c"
(dbx)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44388] - Apache 2.0.63 on AIX 5.3 child process crashes

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44388





------- Additional Comments From ivan.pechorin@gmail.com  2008-02-10 21:21 -------
Created an attachment (id=21502)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21502&action=view)
core dump (fullcore enabled)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44388] - Apache 2.0.63 on AIX 5.3 child process crashes

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44388





------- Additional Comments From ivan.pechorin@gmail.com  2008-02-10 21:19 -------
Created an attachment (id=21501)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21501&action=view)
SSL error log (LogLevel=debug)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44388] - Apache 2.0.63 on AIX 5.3 child process crashes

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44388





------- Additional Comments From ivan.pechorin@gmail.com  2008-02-10 21:30 -------
Request is made via SSL with client certificate
Configuration for this virtual host:

<IfDefine SSL>

NameVirtualHost 192.168.108.32:443
<VirtualHost 192.168.108.32:443>
     ServerAdmin ivan.pechorin@cma.ru
     DocumentRoot /opt/apache/htdocs
     ServerName secure.test.apus.az:443

     LogLevel debug
     ErrorLog logs/ssl_error.log
     CustomLog /opt/apache/logs/ssl_request.log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x %{SSL_COMPRESS_METHOD}x \"%r\" %b"

     SetOutputFilter DEFLATE

     SSLEngine on
     SSLProxyEngine on

     SSLCertificateFile /opt/apache/conf/ssl.crt/secure.test.apus.az.crt
     SSLCertificateKeyFile /opt/apache/conf/ssl.key/secure.test.apus.az.key
     SSLCACertificateFile /opt/apache/conf/ssl.crt/ca-bundle.crt
     SSLVerifyClient require

     # Weblogic parameters
     WebLogicHost apuscft01
     WebLogicPort 7002
     SecureProxy ON
     TrustedCAFile /opt/apache/conf/ssl.crt/ca-bundle.crt

     <Location /iCareConsole>
         SetHandler weblogic-handler
         WLLogFile /opt/apache/logs/wl-iCareConsole.log
         Debug ALL
         WLExcludePathOrMimeType *.jpg,*.gif,*.css,*.js,*.htm,*.html,*.jar
     </Location>

     <Location /APUS>
         SetHandler weblogic-handler
         WLLogFile /opt/apache/logs/wl-IPW.log
         Debug ALL
         WLExcludePathOrMimeType *.jpg,*.gif,*.css,*.js,*.htm,*.html,*.jar
     </Location>

</VirtualHost>


The HTTP request which causes Apache child crash is for /iCareConsole and should
be handled by weblogic-handler (i.e. it is not excluded by directive
WLExcludePathOrMimeType).

If I disable second WLExcludePathOrMimeType parameter (in location /APUS ),
problem seems to be resolved: child is no longer crashed and requests are
processed normally. However, Weblogic documentation specifies that this
parameter can be defined locally at the Location tag level as well as globally
(http://edocs.bea.com/wls/docs81/plugins/plugin_params.html#1158077)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44388] - Apache 2.0.63 on AIX 5.3 child process crashes

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44388





------- Additional Comments From ivan.pechorin@gmail.com  2008-02-11 04:29 -------
Thanks for clarification.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44388] - Apache 2.0.63 on AIX 5.3 child process crashes

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44388


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From jorton@redhat.com  2008-02-11 03:24 -------
The crash is inside a third-party module, presumably WebLogic, please report it
to the vendor.

setExcludes__FP11request_recP13WLExcludeNodePCc(0x304b8978, 0x304bb730,
0x300e9ab8) at 0xd1eb7fec
updateConfigParam__FP11request_recP10ConfigInfoPcT3(0x304b8978, 0x301c9dd8,
0x301c9c34, 0x300e9ab8) at 0xd1eb7c70
initConfigInfo__FP11request_recP10ConfigInfo(0x304b8978, 0x301c9dd8) at 0xd1eaeeac
request_handler(0x304b8978) at 0xd1ead790


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org