Edit report at http://bugs.php.net/bug.php?id=54918&edit=1
ID: 54918 User updated by: neweracracker at gmail dot com Reported by: neweracracker at gmail dot com Summary: browscap issues -Status: Feedback +Status: Open Type: Bug Package: Reproducible crash Operating System: Windows 7 PHP Version: 5.3SVN-2011-05-24 (snap) Block user comment: N Private report: N New Comment: Changing status to open Previous Comments: ------------------------------------------------------------------------ [2011-05-25 01:26:00] neweracracker at gmail dot com I tried reproducing this in CLI and it didn't reproduced. Trying with CGI sapi did cause a crash. (using revision 311390) Thread 0 - System ID 5276 Entry point php_cgi!mainCRTStartup Create time 25-05-2011 00:18:58 Time spent in user mode 0 Days 0:0:0.31 Time spent in kernel mode 0 Days 0:0:0.78 Function Arg 1 Arg 2 Arg 3 Source php5ts!zm_deactivate_browscap+11 00000001 00000013 01372998 php5ts!zm_deactivate_basic+15e 00000001 00000013 01372998 php5ts!module_registry_cleanup+1b 00ce41a0 01372998 01372998 php5ts!zend_hash_reverse_apply+3f 5f97d580 5f3f66c0 01372998 php5ts!zend_deactivate_modules+61 01372998 00000005 01372998 php5ts!php_request_shutdown+235 00000000 013ca4c8 00000001 php_cgi!main+e89 00000005 01372878 01371cd8 php_cgi!memset+160 7ffd8000 008df9b4 77c7b459 kernel32!BaseThreadInitThunk+e 7ffd8000 779f3b4d 00000000 ntdll!__RtlUserThreadStart+70 013c6a7a 7ffd8000 00000000 ntdll!_RtlUserThreadStart+1b 013c6a7a 7ffd8000 00000000 PHP5TS!ZM_DEACTIVATE_BROWSCAP+11In php-cgi__PID__3272__Date__05_25_2011__Time_12_21_19AM__599__Second_Chance_Exception_C0000005.dmp the assembly instruction at php5ts!zm_deactivate_browscap+11 in J:\server\bin\php53\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x080049a4 on thread 0 ------------------------------------------------------------------------ [2011-05-25 00:09:48] fel...@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2011-05-24 17:01:55] neweracracker at gmail dot com Description: ------------ Hello, I've downloaded PHP 5.3 revision 311383 TS from windows.php.net/snapshots/ I have managed to reproduce a crash using nginx and php fcgi related to browscap. It works flawless prior to this commit svn.php.net/viewvc?view=revision&revision=310691 but new versions crash How to reproduce. 1. Use php.ini-production as your php.ini 2. Uncomment browscap in php.ini 3. Set it to a valid ini file ( for example: lite_php_browscap.ini from browsers.garykeith.com/downloads.asp ) 4. Run the test script 5. Enjoy the crash ;) Please reproduce and fix. Thank you. Test script: --------------- <?php phpinfo(); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54918&edit=1