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/03/05 14:15:36 UTC
DO NOT REPLY [Bug 44538] New: Large file using download accelerator
causes child segfault.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44538
Summary: Large file using download accelerator causes child
segfault.
Product: Apache httpd-2
Version: 2.2.8
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: perchild
AssignedTo: bugs@httpd.apache.org
ReportedBy: ken@fusionmark.com
When orbitdownloader (web download accelerator) is used to download a file over
https like https://user:password@www.server.com/7GB.file, the child keeps
dying.
[Wed Mar 05 06:52:39 2008] [notice] child pid 4720 exit signal Segmentation
fault (11)
[Wed Mar 05 06:52:46 2008] [notice] child pid 4721 exit signal Segmentation
fault (11)
[Wed Mar 05 06:57:11 2008] [notice] child pid 4705 exit signal Segmentation
fault (11)
[Wed Mar 05 06:57:17 2008] [notice] child pid 4711 exit signal Segmentation
fault (11)
[Wed Mar 05 06:57:23 2008] [notice] child pid 4708 exit signal Segmentation
fault (11)
[Wed Mar 05 06:57:29 2008] [notice] child pid 4707 exit signal Segmentation
fault (11)
[Wed Mar 05 06:57:35 2008] [notice] child pid 4795 exit signal Segmentation
fault (11)
Tested using LFTP too and got the same result:
lftp -c pget "https://a:b@www.abc.com/files/7GBfile.tar", got 463620543 of
7019348523 (6%) 6.16M/s
o..............o...............o...............................o...............
Apparently this issue only happens when there are more than 2 splits of the
file. If using only 2 splits of the file or single connection, no such error
occurs.
The file is downloaded directly from the directory index page.
Server version: Apache/2.2.8 (Unix)
Server built: Mar 4 2008 18:10:57
Server's Module Magic Number: 20051115:11
Server loaded: APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture: 32-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_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 DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
There are the modules in use:
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule log_forensic_module modules/mod_log_forensic.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule php5_module modules/libphp5.so
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44538] Large file using download accelerator
causes child segfault.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44538
--- Comment #3 from Ruediger Pluem <rp...@apache.org> 2008-03-06 11:31:04 PST ---
(In reply to comment #2)
>
> One difference I noticed between the 2.2.3 I compiled and the one from Ubuntu
> is that the APR version is different. Does that affect?
This is the reason. The bug is in apr-util 1.2.12. So please apply the patch I
mentioned to a vanilla 2.2.8 and use the then patched apr-util that is
delivered with 2.2.8 for your compilation and tests.
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44538] Large file using download accelerator
causes child segfault.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44538
Ken <ke...@fusionmark.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |FIXED
--- Comment #4 from Ken <ke...@fusionmark.com> 2008-03-07 04:24:54 PST ---
Just to be sure, I am setting up a new box with clean Ubuntu Dapper to test.
Perfect. Problem fixed!
I think there were remnants when I last did the make install so it still gives
the error.
Thanks for the fix!!
/SALUTE
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44538] Large file using download accelerator
causes child segfault.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44538
Ruediger Pluem <rp...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Ruediger Pluem <rp...@apache.org> 2008-03-05 07:11:43 ---
Can you please try the following patch and let me know if this fixes your
problem?
http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/buckets/apr_brigade.c?r1=631548&r2=631559&view=patch
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44538] Large file using download accelerator
causes child segfault.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44538
--- Comment #2 from Ken <ke...@fusionmark.com> 2008-03-06 04:14:54 PST ---
Same problem. I tested this against the pre-configured 2.2.3 package from
Ubuntu Feisty Fawn and somehow that one works perfectly.
I tried compiling 2.2.3, 2.2.6, 2.2.8 and encountered issues with all of them.
My configure string is as follow:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http
I have tested using ./configure with no params and still the same error.
One difference I noticed between the 2.2.3 I compiled and the one from Ubuntu
is that the APR version is different. Does that affect?
Self-compiled:
Server version: Apache/2.2.3
Server built: Mar 3 2008 11:32:37
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture: 32-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_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 DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Ubuntu Feisty Fawn:
Server version: Apache/2.2.3
Server built: Feb 4 2008 20:19:27
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-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_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 DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org