php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19226 Apache2.0.40 + php 4-CVS-LASTEST (module) anyway crashed
Submitted: 2002-09-04 03:39 UTC Modified: 2002-10-24 01:00 UTC
Votes:6
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: pvy at novosoft dot ru Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4CVS-2002-09-04 OS: windows 2000/sp3
Private report: No CVE-ID: None
 [2002-09-04 03:39 UTC] pvy at novosoft dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-04 03:42 UTC] pvy at novosoft dot 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 05:51 UTC] pvy at novosoft dot ru
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
 [2002-10-08 22:29 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC