ID: 32957 Updated by: [EMAIL PROTECTED] Reported By: ukm at servplus dot ru -Status: Open +Status: Assigned Bug Type: Reproducible crash Operating System: win xp sp2 PHP Version: 4.3.11 -Assigned To: +Assigned To: wez New Comment:
Wez, here's the callstack: NTDLL! 77f57ec4() MSVCRT! 77c1ac14() MSVCRT! 77c1ac2a() MSVCRT! 77c241a7() zif_putenv(int 1, _zval_struct * 0x01299878, _zval_struct * 0x00000000, int 0, void * * * 0x01172948) line 1433 + 12 bytes execute(_zend_op_array * 0x01298f88, void * * * 0x01172948) line 1654 + 47 bytes zend_execute_scripts(int 8, void * * * 0x01172948, _zval_struct * * 0x00000000, int 3) line 926 + 34 bytes php_execute_script(_zend_file_handle * 0x0012ff54, void * * * 0x01172948) line 1747 + 27 bytes main(int 2, char * * 0x01172580) line 828 + 14 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e8141a() Let me know if you need something else..I'm not very good with debugging under win32. :) Previous Comments: ------------------------------------------------------------------------ [2005-05-05 22:09:03] [EMAIL PROTECTED] tony2001: ms libc putenv function does have at least one segfault bug that we have a workaround for. Someone needs to check a debug build of 4.3 on windows; preferably someone with MS VC 6 installed, as the libc has changed between releases. I'd check it myself, but I only have vs.net installed, so it would be a bogus check. ------------------------------------------------------------------------ [2005-05-05 19:38:00] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Can't reproduce under Linux. ------------------------------------------------------------------------ [2005-05-05 16:22:00] ukm at servplus dot ru Description: ------------ During the execution on this fragment with php.exe this application error occures: The instruction at "0x..." referenced memory at "0x....". The memory could not be "written". Reproduce code: --------------- <?php for($i = 0; $i < 100; ++$i) { putenv("VAR=VALUE"); putenv("VAR="); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32957&edit=1
