https://issues.apache.org/bugzilla/show_bug.cgi?id=47988
Summary: Segmentation fault
Product: Apache httpd-2
Version: 2.2.14
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: All
AssignedTo: [email protected]
ReportedBy: [email protected]
> gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
Configure:
CC=gcc CFLAGS="-Wall -g" \
./configure --prefix=/usr/local/httpd-2.2.14 \
--with-mpm=worker \
--enable-auth-digest \
--enable-dav \
--enable-expires \
--enable-headers \
--enable-info \
--enable-maintainer-mode \
--enable-mime-magic \
--enable-nonportable-atomics \
--enable-proxy \
--enable-proxy-http \
--enable-rewrite \
--enable-so \
--enable-ssl \
--enable-unique-id \
--enable-vhost-alias \
--enable-modules=most \
--enable-mods-shared=most
With: proxy_html/3.1.1:
/usr/local/apache/bin/apxs -c -i -I/usr/include/libxml2 mod_xml2enc.c
/usr/local/apache/bin/apxs -c -i -I/usr/include/libxml2 mod_proxy_html.c
In error_log:
[Tue Oct 13 13:24:42 2009] [notice] child pid 17266 exit signal Segmentation
fault (11), possible coredump in /tmp
> ls -al /tmp
total 19052
drwxrwxrwt 5 root root 4096 Oct 13 13:24 .
drwxr-xr-x 25 root root 4096 Jul 21 20:26 ..
-rw-r--r-- 1 root root 970 Oct 13 09:27 1
-rw------- 1 daemon daemon 286806016 Oct 13 13:24 core.17210
-rw------- 1 daemon daemon 286806016 Oct 13 13:24 core.17211
-rw------- 1 daemon daemon 286949376 Oct 13 13:24 core.17266
Coredump back trace:
> gdb /usr/local/apache/bin/httpd /tmp/core.17266
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libaprutil-1.so.0...done.
Loaded symbols for /usr/lib/libaprutil-1.so.0
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libldap-2.3.so.0...done.
Loaded symbols for /usr/lib/libldap-2.3.so.0
Reading symbols from /usr/lib/liblber-2.3.so.0...done.
Loaded symbols for /usr/lib/liblber-2.3.so.0
Reading symbols from /lib/libdb-4.3.so...done.
Loaded symbols for /lib/libdb-4.3.so
Reading symbols from /lib/libexpat.so.0...done.
Loaded symbols for /lib/libexpat.so.0
Reading symbols from /usr/lib/libapr-1.so.0...done.
Loaded symbols for /usr/lib/libapr-1.so.0
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libuuid.so.1...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib/libpq.so.4...done.
Loaded symbols for /usr/lib/libpq.so.4
Reading symbols from /usr/lib/libsqlite3.so.0...done.
Loaded symbols for /usr/lib/libsqlite3.so.0
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/libssl.so.6...done.
Loaded symbols for /lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /lib/libselinux.so.1...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /lib/libsepol.so.1...done.
Loaded symbols for /lib/libsepol.so.1
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authn_file.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authn_file.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authn_dbm.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authn_dbm.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authn_anon.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authn_anon.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authn_dbd.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authn_dbd.so
Reading symbols from
/usr/local/httpd-2.2.14/modules/mod_authn_default.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authn_default.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authz_host.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authz_host.so
Reading symbols from
/usr/local/httpd-2.2.14/modules/mod_authz_groupfile.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authz_groupfile.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authz_user.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authz_user.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authz_dbm.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authz_dbm.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_authz_owner.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authz_owner.so
Reading symbols from
/usr/local/httpd-2.2.14/modules/mod_authz_default.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_authz_default.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_auth_basic.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_auth_basic.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_auth_digest.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_auth_digest.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_dbd.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_dbd.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_dumpio.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_dumpio.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_ext_filter.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_ext_filter.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_include.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_include.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_filter.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_filter.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_substitute.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_substitute.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_deflate.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_deflate.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_log_config.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_log_config.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_logio.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_logio.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_env.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_env.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_mime_magic.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_mime_magic.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_expires.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_expires.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_headers.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_headers.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_ident.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_ident.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_unique_id.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_unique_id.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_setenvif.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_setenvif.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_version.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_version.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_proxy.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy.so
Reading symbols from
/usr/local/httpd-2.2.14/modules/mod_proxy_connect.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_connect.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_proxy_ftp.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_ftp.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_proxy_http.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_http.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_proxy_scgi.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_scgi.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_proxy_ajp.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_ajp.so
Reading symbols from
/usr/local/httpd-2.2.14/modules/mod_proxy_balancer.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_balancer.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_ssl.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_ssl.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_mime.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_mime.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_dav.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_dav.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_status.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_status.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_autoindex.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_autoindex.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_asis.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_asis.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_info.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_info.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_cgid.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_cgid.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_dav_fs.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_dav_fs.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_vhost_alias.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_vhost_alias.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_negotiation.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_negotiation.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_dir.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_dir.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_imagemap.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_imagemap.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_actions.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_actions.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_speling.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_speling.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_userdir.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_userdir.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_alias.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_alias.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_rewrite.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_rewrite.so
Reading symbols from /usr/lib/libxml2.so...done.
Loaded symbols for /usr/lib/libxml2.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_xml2enc.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_xml2enc.so
Reading symbols from /usr/local/httpd-2.2.14/modules/mod_proxy_html.so...done.
Loaded symbols for /usr/local/httpd-2.2.14/modules/mod_proxy_html.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Core was generated by `/usr/local/httpd-2.2.14/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
[New process 17266]
#0 0x00dc4402 in __kernel_vsyscall ()
(gdb) thread apply all bt full
Thread 1 (process 17266):
#0 0x00dc4402 in __kernel_vsyscall ()
No symbol table info available.
#1 0x004e24cb in read () from /lib/libpthread.so.0
No symbol table info available.
#2 0x08094545 in ap_mpm_pod_check (pod=0x843e840) at pod.c:54
c = 0 '\0'
fd = 4
rc = 3529888
#3 0x08091f50 in child_main (child_num_arg=0) at worker.c:1258
threads = (apr_thread_t **) 0x8309a68
rv = 0
ts = (thread_starter *) 0x84ccf38
thread_attr = (apr_threadattr_t *) 0x84ccf48
start_thread_id = (apr_thread_t *) 0x84ccf80
#4 0x080920fc in make_child (s=0x82ce440, slot=0) at worker.c:1341
pid = 0
#5 0x08092610 in perform_idle_server_maintenance () at worker.c:1543
i = 0
j = 25
idle_thread_count = 0
ws = (worker_score *) 0xb7ee8624
ps = (process_score *) 0xb7ee0044
free_length = 1
totally_free_length = 1
free_slots = {0, 0, 114, 0, 137143680, 0, 1, 0, 1000000, 0, 1000000, 0,
-1, 0, 1000000, 4370909,
2564584, 1000000, 0, 2533273, 0, 0, 0, 0, -1078526780, 0, -1078526760,
2527544, -1078526652, 0, 0, 2538114}
last_non_dead = 2
total_non_dead = 3
active_thread_count = 0
reported = 0
#6 0x08092840 in server_main_loop (remaining_children_to_start=0) at
worker.c:1646
child_slot = 1
exitwhy = 6
status = 11
processed_status = 0
pid = {pid = -1, in = 0x0, out = 0x0, err = 0x80a8d89}
i = 25
#7 0x08092ba6 in ap_mpm_run (_pconf=0x82cc550, plog=0x82fa608, s=0x82ce440) at
worker.c:1748
remaining_children_to_start = 0
rv = 0
#8 0x08063518 in main (argc=903651328, argv=0xb6fbb800) at main.c:740
c = 0 '\0'
configtestonly = 0
confname = 0x80a00f5 "conf/httpd.conf"
def_server_root = 0x80a0105 "/usr/local/httpd-2.2.14"
temp_error_log = 0x0
error = 0x0
process = (process_rec *) 0x82ca5c8
server_conf = (server_rec *) 0x82ce440
pglobal = (apr_pool_t *) 0x82ca548
pconf = (apr_pool_t *) 0x82cc550
plog = (apr_pool_t *) 0x82fa608
ptemp = (apr_pool_t *) 0x82d0560
pcommands = (apr_pool_t *) 0x82ce558
opt = (apr_getopt_t *) 0x82ce5f0
rv = 0
mod = (module **) 0x80ad110
optarg = 0xf63d4e2e <Address 0xf63d4e2e out of bounds>
signal_server = (apr_OFN_ap_signal_server_t *) 0x80851f4
<ap_signal_server>
(gdb)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]