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 2002/08/23 03:11:22 UTC
DO NOT REPLY [Bug 11954] New: -
Server won't start when international characters exist in environment
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11954>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11954
Server won't start when international characters exist in environment
Summary: Server won't start when international characters exist
in environment
Product: Apache httpd-2.0
Version: 2.0.40
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Platform
AssignedTo: bugs@httpd.apache.org
ReportedBy: christofer.akersten@home.se
When an environment variable contains international characters the server won't
start. The problem is in apr_proc_create (srclib/apr/threadproc/win32/proc.c) -
apr_conv_utf8_to_ucs2 is used to convert the environment to ucs2 for later use,
however the initial environment strings aren't coded in utf8 (mbcs?) so an
error is returned and the server exits.
The same problem might exist in other places where conversion to ucs2 is done.
>From error.log:
[Thu Aug 22 23:13:34 2002] [crit] (22)Invalid argument: Parent: Failed to
create the child process.
[Thu Aug 22 23:13:34 2002] [crit] (22506)The handle is invalid. : master_main:
create child process failed. Exiting.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org