weird bug (story continues) & debug builds (here too) - possibly win32
| From: | André Langhorst | Date: | Tue, 19 Sep 2000 16:14:10 +0000 |
| Subject: | weird bug (story continues) & debug builds (here too) - possibly win32 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-1314@lists.php.net to get a copy of this message | ||
Hi Stas+Zeev,
I´ve just revealed another weird bug, which crashes PHP *sometimes* but easily reproduceable, if it does not crash it slows
PHP greatly down. I tried to trace the origin of that bug but it didn´t help me a lot (I think I´ve found the snipplet that makes PHP
crash, but like a month or so ago, reducing code will not work). I assume this is a win32 issue again, I noticed no speed difference nor segfaults
on linux.
Thus I decided to build debug builds and found them crashing on each and every file. Stack dumps included. Perhaps related to url_scanner.c,
there were several warnings during the building process. (my sources are about half a day old, was not able to update the php4 tree yet due to
these php.net problems).
I tried out several other (older && CGI,apachemod) builds too and all are showing this speed decrease, a few are crashing.
André
STACKS...
stack from apache CGI call
=== Stack Dump of Process php.exe:1744; Thread 1716
_efree( 0xCDCDCDCD, 0x101E4DA8, 92 (0x0000005C), NULL, 0 (0x00000000) ), zend_alloc.c:196, 0x000eec48
url_adapt( NULL, 0 (0x00000000), NULL, NULL ), url_scanner.c:92, 0x0009a047
php_rinit_url_scanner( 1 (0x00000001), 2 (0x00000002), 0x00B27D10 ), url_scanner.c:39, 0x00099f55
php_rinit_basic( 1 (0x00000001), 2 (0x00000002), 0x00B27D10 ), basic_functions.c:765, 0x000226db
module_registry_request_startup( 0x017AB548 ), zend_api.c:838, 0x000f7531
zend_hash_apply( 0x10228620, 0x100F74E0 ), zend_hash.c:692, 0x000e7178
zend_activate_modules(), zend.c:490, 0x000f1f07
php_execute_script( 0x0012FF48 (_zend_file_handle), 0x00B276D0, 0x00B27D10, 0x00B2A9E8 ), main.c:1136, 0x0000c8d4
main( 1 (0x00000001), 0x00B23F90 ), cgi_main.c:706, 0x00001e26
mainCRTStartup(), crtexe.c:338, 0x00002b8f
KERNEL32.dll, 0x77e892a6
!!! Process php.exe:1744 crashed
stack from commandline call
=== Stack Dump of Process php.exe:1728; Thread 408
_efree( 0xCDCDCDCD, 0x101E4DA8, 92 (0x0000005C), NULL, 0 (0x00000000) ), zend_alloc.c:196, 0x000eec48
url_adapt( NULL, 0 (0x00000000), NULL, NULL ), url_scanner.c:92, 0x0009a047
php_rinit_url_scanner( 1 (0x00000001), 2 (0x00000002), 0x00DA7FF0 ), url_scanner.c:39, 0x00099f55
php_rinit_basic( 1 (0x00000001), 2 (0x00000002), 0x00DA7FF0 ), basic_functions.c:765, 0x000226db
module_registry_request_startup( 0x022BB8A8 ), zend_api.c:838, 0x000f7531
zend_hash_apply( 0x10228620, 0x100F74E0 ), zend_hash.c:692, 0x000e7178
zend_activate_modules(), zend.c:490, 0x000f1f07
php_execute_script( 0x0012FF48 (_zend_file_handle), 0x00DA79B0, 0x00DA7FF0, 0x00DAACC0 ), main.c:1136, 0x0000c8d4
main( 3 (0x00000003), 0x00DA2858 ), cgi_main.c:706, 0x00001e26
mainCRTStartup(), crtexe.c:338, 0x00002b8f
KERNEL32.dll, 0x77e892a6
!!! Process php.exe:1728 crashed
--
· André Langhorst · t: +49 571 3201801 ·
· waldschrott@php.net · m: +49 173 9558736 ·
· PHP Quality Assurance · http://qa.php.net ·