PHP 4.0 Bug #6806 Updated: crash in zend_alloc.c upon viewing php page
| From: | sniper@php.net | Date: | Tue, 17 Oct 2000 10:22:55 +0000 |
| Subject: | PHP 4.0 Bug #6806 Updated: crash in zend_alloc.c upon viewing php page | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35236@lists.php.net to get a copy of this message | ||
ID: 6806
Updated by: sniper
Reported By: japj@oce.nl
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 11:18:40] sniper@php.net
I try again:
Does this still happen when using PHP4.0.3pl1 ?
And if so, does this crash happen with ANY php-page?
Please include a shortest possible reproducing script here.
--Jani
---------------------------------------------------------------------------
[2000-09-21 07:44:10] sniper@php.net
Have you updated your CVS lately? Please try latest CVS..
Does this crash happen with ANY php-page?
Please include a shortest possible reproducing script here.
--Jani
---------------------------------------------------------------------------
[2000-09-18 21:50:41] japj@oce.nl
When using Apache/1.3.12 (Win32) PHP/4.0.3-dev and trying to view a php webpage I get a reproducable
crash.
The crash occurs in Zend/zend_alloc.c line 196 (_efree) at
CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p->size);
Attaching the debugger and looking at the call stack:
_efree(void * 0xcdcdcdcd, char * 0x005f4cf8 `string', unsigned int 0x0000005c, char *
0x00000000, unsigned int 0x00000000) line 196 + 3 bytes
url_adapt(const char * 0x00000000, unsigned int 0x00000000, const char * 0x00000000, unsigned int *
0x00000000) line 92 + 47 bytes
php_rinit_url_scanner(int 0x00000001, int 0x00000002, _zend_executor_globals * 0x011168b8) line 39 +
13 bytes
php_rinit_basic(int 0x00000001, int 0x00000002, _zend_executor_globals * 0x011168b8) line 765 + 17
bytes
module_registry_request_startup(_zend_module_entry * 0x010e48a8) line 838 + 28 bytes
zend_hash_apply(_hashtable * 0x00638600 _module_registry, int (void *)* 0x005076f0
module_registry_request_startup(_zend_module_entry *)) line 692 + 12 bytes
zend_activate_modules() line 490 + 15 bytes
php_execute_script(_zend_file_handle * 0x013efda4, _zend_compiler_globals * 0x010f7db8,
_zend_executor_globals * 0x011168b8, _php_core_globals * 0x01121b00) line 1136
apache_php_module_main(request_rec * 0x00ffd538, int 0x00000000, _zend_compiler_globals *
0x010f7db8, _zend_executor_globals * 0x011168b8, _php_core_globals * 0x01121b00, sapi_globals_struct
* 0x010f4f20) line 89 + 22 bytes
send_php(request_rec * 0x00ffd538, int 0x00000000, char * 0x00ffda80) line 509 + 29 bytes
send_parsed_php(request_rec * 0x00ffd538) line 520 + 13 bytes
APACHECORE! 10004927()
Best regards,
Jeroen Janssen
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6806