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 2006/03/03 12:52:48 UTC
DO NOT REPLY [Bug 38838] New: - Apache 64-bit permanent got a Signal 10, Bus error with mod_ssl
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=38838>.
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=38838
Summary: Apache 64-bit permanent got a Signal 10, Bus error with
mod_ssl
Product: Apache httpd-2
Version: 2.2.0
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: mod_ssl
AssignedTo: bugs@httpd.apache.org
ReportedBy: tiamat@komi.mts.ru
Hi,
I'm build Apache 2.2.0 on Solaris 9.
Apache 64-bit permanent got a Signal 10, Bus error with mod_ssl:
[Fri Mar 03 14:45:25 2006] [notice] child pid 14003 exit signal Bus error (10),
possible coredump in /usr/local
gdb say me:
Reading symbols from /usr/lib/sparcv9/nss_files.so.1...done.
Loaded symbols for /usr/lib/64/nss_files.so.1
#0 ssl_scache_shmcb_store (s=0x1001efc90, id=<value optimized out>,
idlen=<value optimized out>,
timeout=1141386623, pSession=<value optimized out>) at ssl_scache_shmcb.c:241
241 memset(ptr, 0, size);
(gdb) bt
#0 ssl_scache_shmcb_store (s=0x1001efc90, id=<value optimized out>,
idlen=<value optimized out>,
timeout=1141386623, pSession=<value optimized out>) at ssl_scache_shmcb.c:241
#1 0xffffffff7b1166b4 in ssl_callback_NewSessionCacheEntry (ssl=<value
optimized out>,
session=0xffffffff7bf00008) at ssl_engine_kernel.c:1635
#2 0xffffffff7af31480 in ssl_update_cache () from /usr/local/lib/libssl.so.3
#3 0xffffffff7af1c10c in ssl3_accept () from /usr/local/lib/libssl.so.3
#4 0xffffffff7af31b60 in SSL_accept () from /usr/local/lib/libssl.so.3
#5 0xffffffff7af24ce8 in ssl23_get_client_hello () from /usr/local/lib/libssl.so.3
#6 0xffffffff7af2544c in ssl23_accept () from /usr/local/lib/libssl.so.3
#7 0xffffffff7af31b84 in SSL_accept () from /usr/local/lib/libssl.so.3
#8 0xffffffff7b112af8 in ssl_io_filter_connect (filter_ctx=0x1002534f8) at
ssl_engine_io.c:1047
#9 0xffffffff7b113104 in ssl_io_filter_input (f=0x10025d478, bb=0x10025f968,
mode=AP_MODE_GETLINE,
block=APR_BLOCK_READ, readbytes=4297403752) at ssl_engine_io.c:1292
#10 0x000000010003c9bc in ap_get_brigade (next=0x10025d478, bb=0x10025f968,
mode=AP_MODE_GETLINE,
block=APR_BLOCK_READ, readbytes=0) at util_filter.c:489
#11 0x000000010002471c in ap_rgetline_core (s=0x10025e4d8, n=8192,
read=0xffffffff7ffff2e0, r=0x10025e4a8,
fold=0, bb=0x10025f968) at protocol.c:222
#12 0x0000000100025424 in ap_read_request (conn=0x100252d68) at protocol.c:587
#13 0x000000010003cf98 in ap_process_http_connection (c=0x100252d68) at
http_core.c:164
#14 0x0000000100039180 in ap_run_process_connection (c=0x100252d68) at
connection.c:43
#15 0x0000000100044060 in child_main (child_num_arg=<value optimized out>) at
prefork.c:640
#16 0x0000000100044374 in make_child (s=0x100172e38, slot=0) at prefork.c:736
#17 0x000000010004447c in startup_children (number_to_start=4) at prefork.c:757
#18 0x0000000100045120 in ap_mpm_run (_pconf=0x10016daf8, plog=<value optimized
out>, s=<value optimized out>)
at prefork.c:975
#19 0x000000010001d7e0 in main (argc=1, argv=0xffffffff7ffffb18) at main.c:712
# /usr/local/sbin/apachectl -v
Server version: Apache/2.2.0
Server built: Mar 3 2006 14:17:26
# /usr/local/sbin/apachectl -V
Server version: Apache/2.2.0
Server built: Mar 3 2006 14:17:26
Server's Module Magic Number: 20051115:0
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="etc/apache/mime.types"
-D SERVER_CONFIG_FILE="etc/apache/httpd.conf"
Apache build with openssl 0.9.8a:
# ldd /usr/local/sbin/httpd
libm.so.1 => /usr/lib/64/libm.so.1
libpcre.so.0 => /usr/local/lib/libpcre.so.0
libaprutil.so.0 => /usr/local/lib/libaprutil.so.0
libldap.so.5 => /usr/lib/64/libldap.so.5
libdb.so.4 => /usr/local/lib/libdb.so.4
libexpat.so.1 => /usr/local/lib/libexpat.so.1
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libapr.so.0 => /usr/local/lib/libapr.so.0
libresolv.so.2 => /usr/lib/64/libresolv.so.2
libuuid.so.1 => /usr/lib/64/libuuid.so.1
libsendfile.so.1 => /usr/lib/64/libsendfile.so.1
librt.so.1 => /usr/lib/64/librt.so.1
libsocket.so.1 => /usr/lib/64/libsocket.so.1
libnsl.so.1 => /usr/lib/64/libnsl.so.1
libpthread.so.1 => /usr/lib/64/libpthread.so.1
libdl.so.1 => /usr/lib/64/libdl.so.1
libc.so.1 => /usr/lib/64/libc.so.1
libmd5.so.1 => /usr/lib/64/libmd5.so.1
libaio.so.1 => /usr/lib/64/libaio.so.1
libmp.so.2 => /usr/lib/64/libmp.so.2
libthread.so.1 => /usr/lib/64/libthread.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/sparcv9/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/sparcv9/libmd5_psr.so.1
my httpd.conf:
ServerRoot "/usr/local"
Listen 80
LoadModule authz_host_module lib/apache/mod_authz_host.so
#LoadModule include_module lib/apache/mod_include.so
LoadModule log_config_module lib/apache/mod_log_config.so
LoadModule logio_module lib/apache/mod_logio.so
LoadModule env_module lib/apache/mod_env.so
LoadModule setenvif_module lib/apache/mod_setenvif.so
LoadModule ssl_module lib/apache/mod_ssl.so
LoadModule mime_module lib/apache/mod_mime.so
LoadModule dir_module lib/apache/mod_dir.so
#LoadModule alias_module lib/apache/mod_alias.so
User apache
Group apache
ServerAdmin root@komi.mts.ru
DocumentRoot "/var/apache/data"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/var/apache/data">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
ErrorLog /var/log/apache/error.log
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%I %O" combinedio
</IfModule>
CustomLog /var/log/apache/access.log common
</IfModule>
DefaultType text/plain
<IfModule mime_module>
TypesConfig etc/apache/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
Include etc/apache/ssl.conf
</IfModule>
ServerTokens Prod
my ssl.conf:
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLMutex file:/var/run/ssl_mutex
<VirtualHost _default_:443>
DocumentRoot "/var/apache/data"
ServerName www.example.com:443
ServerAdmin you@example.com
ErrorLog /var/log/apache/error.log
TransferLog /var/log/apache/access.log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/etc/ssl/server.crt
SSLCertificateKeyFile /usr/local/etc/ssl/server.key
SSLCACertificateFile /usr/local/etc/ssl/ca.crt
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/var/apache/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /var/log/apache/ssl.log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
Other programms, which build with openssl works fine for me: samba, sendmail,
cyrus-imap, cups, etc...
Thanks!
--
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 38838] - Apache 64-bit permanent got a Signal 10, Bus error with mod_ssl
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=38838>.
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=38838
------- Additional Comments From tiamat@komi.mts.ru 2006-03-03 13:45 -------
> Can you try the attached patch?
Patch work fine for me. Thanks for a fast reply!
Thanks a lot!
--
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 38838] - Apache 64-bit permanent got a Signal 10, Bus error with mod_ssl
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=38838>.
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=38838
------- Additional Comments From tiamat@komi.mts.ru 2006-03-03 13:18 -------
# /usr/local/bin/gcc -v
Using built-in specs.
Target: sparc64-sun-solaris2.9
Configured with: ../configure --prefix=/usr/local --libexecdir=/usr/local/lib
--enable-threads=solaris --enable-languages=c,c++ --enable-shared=libstdc++
--disable-multilib --disable-nls --disable-libstdcxx-pch sparc64-sun-solaris2.9
Thread model: solaris
gcc version 4.0.2
--
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 38838] - Apache 64-bit permanent got a Signal 10, Bus error with mod_ssl
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=38838>.
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=38838
jorton@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jorton@redhat.com 2006-03-29 16:09 -------
Fixed on trunk and proposed for inclusion in 2.2.x: thanks for the report.
http://svn.apache.org/viewcvs?rev=382799&view=rev
--
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 38838] - Apache 64-bit permanent got a Signal 10, Bus error with mod_ssl
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=38838>.
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=38838
------- Additional Comments From jorton@redhat.com 2006-03-03 13:04 -------
Created an attachment (id=17823)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17823&action=view)
shmcb inline-beats-alignment-workaround fix
Gosh, haven't had to fix one of these for ages. Are you using gcc? If so,
what version?
Can you try the attached patch?
--
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