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/05/10 17:26:18 UTC
DO NOT REPLY [Bug 39545] New: - 1.3.35 breaks Include
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=39545>.
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=39545
Summary: 1.3.35 breaks Include
Product: Apache httpd-1.3
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: core
AssignedTo: bugs@httpd.apache.org
ReportedBy: tjw@tjw.org
>From 1.3.35 ChangeLog:
*) core: Allow usage of the "Include" configuration directive within
previously "Include"d files. [Colm MacCarthaigh]
In my configuration, at the end of httpd.conf I have the following line:
Include /etc/httpd/vhosts.conf
vhosts.conf contains a list of Include statements for each domain hosted. e.g.:
Include /etc/httpd/vhosts/mydomain.com
Include /etc/httpd/vhosts/otherdomain.tld
When upgrading to 1.3.35, apache fails to start with this error:
*** glibc detected *** double free or corruption (!prev): 0x080c9488 ***
If I set MALLOC_CHECK_=0, apache starts but fails to run the Include directives
from vhosts.conf.
On another system with the same configuration, I get the following:
Syntax error on line 124 of /etc/httpd/vhosts/domain.tld:
Invalid command '', perhaps mis-spelled or defined by a module not included in
the server configuration (Even though the file has only 117 lines.)
If I use the httpd_core.c file from 1.3.34 everything works fine.
Here's the diff between 1.3.34 and 1.3.35 on that file:
--- http_core.c 2006-05-10 09:39:58.000000000 -0500
+++ http_core.c.orig 2006-05-10 09:39:45.000000000 -0500
@@ -2770,9 +2770,12 @@
static const char *include_config (cmd_parms *cmd, void *dummy, char *name)
{
+ static cmd_parms parms;
name = ap_server_root_relative(cmd->pool, name);
+
+ memcpy(&parms, cmd, sizeof(parms));
- ap_process_resource_config(cmd->server, name, cmd->pool, cmd->temp_pool);
+ ap_process_include_config(cmd->server, name, cmd->pool, cmd->temp_pool,
&parms);
return NULL;
}
It appears that that memcpy() call is generating the glibc error.
--
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 39545] - 1.3.35 breaks Include
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=39545>.
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=39545
------- Additional Comments From wrowe@apache.org 2006-05-10 20:54 -------
This in fact is a duplicate of bug 39516 - not the wildcard includes fault.
--
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 39545] - 1.3.35 breaks Include
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=39545>.
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=39545
jorton@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From jorton@redhat.com 2006-05-10 15:34 -------
*** This bug has been marked as a duplicate of 39490 ***
--
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