#19226 [Opn]: Apache2.0.40 + php 4-CVS-LASTEST (module) anyway crashed

From: Date: Wed, 04 Sep 2002 10:51:23 +0000
Subject: #19226 [Opn]: Apache2.0.40 + php 4-CVS-LASTEST (module) anyway crashed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18400@lists.php.net to get a copy of this message
 ID:               19226
 User updated by:  pvy@novosoft.ru
 Reported By:      pvy@novosoft.ru
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: windows 2000/sp3
 PHP Version:      4CVS-2002-09-04
 New Comment:

small details:
1. apache1-3.26/w32 + php-4.0.6/w32 working fine on this windows box.
2. in function sapi_get_default_content_type content type passed as
"text/html" string.
when php try to alocate memory for this string apache will crashed.

-- 
vladimir
Novosibirsk, Russia


Previous Comments:
------------------------------------------------------------------------

[2002-09-04 03:42:03] pvy@novosoft.ru

From phpinfo(): 

System Windows NT localhost 5.0 build 2195 
Build Date Sep  3 2002 22:19:16 
Server API Apache 2.0 Filter 
Virtual Directory Support enabled 
Configuration File (php.ini) Path C:\WINNT\php.ini 
API Versions: PHP: 20020307
PHP Extension: 20020429
Zend Extension: 20020824 
Debug Build yes 
Thread Safety enabled 
Registered PHP Streams php, http, ftp

------------------------------------------------------------------------

[2002-09-04 03:39:46] pvy@novosoft.ru

Hello.
As I wrote few days ago, I have crashed PHP in my windows box.
I use cvs for get fresh sources yesterday, compile php and apache as
debug version. also I compile 3 module (also with debug support)
-domxml, xslt, mssql

and I got next crash: (I provide stack call from MS VC env)
NTDLL! 77fcb03d()
_emalloc(unsigned int 10, char * 0x03125a60 `string', unsigned int 227,
char * 0x00000000, unsigned int 0) line 154 + 487 bytes
_estrdup(const char * 0x00529e00, char * 0x03125a60 `string', unsigned
int 227, char * 0x00000000, unsigned int 0) line 335 + 201 bytes
sapi_get_default_content_type(void * * * 0x005ab040) line 227 + 104
bytes
php_apache_request_ctor(ap_filter_t * 0x006642f8, php_struct *
0x00663e40, void * * * 0x005ab040) line 320 + 64 bytes
php_output_filter(ap_filter_t * 0x006642f8, apr_bucket_brigade *
0x00661088) line 401 + 173 bytes
ap_pass_brigade(ap_filter_t * 0x006642f8, apr_bucket_brigade *
0x00664460) line 540 + 137 bytes
default_handler(request_rec * 0x006627f0) line 3293 + 105 bytes
ap_run_handler(request_rec * 0x006627f0) line 194 + 411 bytes
ap_invoke_handler(request_rec * 0x006627f0) line 400 + 43 bytes
ap_process_request(request_rec * 0x006627f0) line 257 + 43 bytes
ap_process_http_connection(conn_rec * 0x0065c808) line 293 + 43 bytes
ap_run_process_connection(conn_rec * 0x0065c808) line 85 + 411 bytes
ap_process_connection(conn_rec * 0x0065c808, void * 0x0065c748) line
207 + 43 bytes
worker_main(long 49) line 703 + 100 bytes
_threadstartex(void * 0x005acbc0) line 212 + 13 bytes
KERNEL32! 77e96523()


can anybody help me in my problem? 
If need, please, tell me, what info I must provide for help resolve
this problem.


-- 
Vladimir.
Novosibirsk,
Russia.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19226&edit=1



Thread (5 messages)

« previous php.bugs (#18400) next »