From:
Operating system: Windows 2003 R2 SP2 32bits
PHP version: 5.3.11
Package: Apache2 related
Bug Type: Bug
Bug description:mbsring frequently crashing httpd.exe
Description:
------------
We are facing frequent httpd.exe crashes reported in Windows 2003 event
manager.
It happens at least 4 to 10 times a day at random. The cause of the issue
is unknown.
The event manager reports the following: "Faulting application httpd.exe,
version 2.2.21.0, faulting module php_mbstring.dll, version 5.3.10.0, fault
address 0x0002c94c."
Test script:
---------------
Unfortunately we don't have any script to reproduce the issue as we don't
know what is causing it.
Actual result:
--------------
Type of Analysis Performed Crash Analysis
Machine Name INTRASRV1
Operating System Windows Server 2003 Service Pack 2
Number Of Processors 4
Process ID 3236
Process Image C:\wamp\bin\apache\apache2.2.21\bin\httpd.exe
System Up-Time 9 day(s) 16:05:13
Process Up-Time 1 day(s) 21:20:02
Thread 107 - System ID 4544
Entry point msvcr90!_threadstartex
Create time 4/26/2012 9:44:34 AM
Time spent in user mode 0 Days 0:0:51.890
Time spent in kernel mode 0 Days 0:0:21.843
Full Call Stack
Function Arg 1 Arg 2 Arg 3 Arg 4 Source
php_mbstring!node_new_str+c 375b82af 375b82b0 03a4e8e0
00000003
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regparse.c
@ 1463 + c
php_mbstring!parse_exp+79a 00000000 03a4e940 375b8378
03a4e968
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regparse.c
@ 4835 + c
php_mbstring!parse_branch+94 03a4e908 00000000 03a4e940
375b8378
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regparse.c
@ 5181 + 1d
php_mbstring!parse_subexp+b2 05eff5b0 03a4e908 00000000
03a4e940
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regparse.c
@ 5223 + 12
php_mbstring!onig_parse_make_tree+c1 03a4e958 375b82a0 375b8378
375b82b0
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regparse.c
@ 5279 + 3e
php_mbstring!onig_compile+87 20074780 375b82a0 375b8378
03a4ea2c
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regcomp.c
@ 5169
php_mbstring!onig_new+4c 03a4ea1c 375b82a0 375b8378
0000000d
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\oniguruma\regcomp.c
@ 5399 + 14
php_mbstring!php_mbregex_compile_pattern+ba 0000000d 01794440
00000001 16cb4568
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\php_mbregex.c @ 458
+ 25
php_mbstring!_php_mb_regex_ereg_replace_exec+239 00000003 00000001
00df756a 00000003
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\php_mbregex.c @ 857
+ 27
php_mbstring!zif_mb_eregi_replace+14 00000003 375b7fa0 00000000
00000000
c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\ext\mbstring\php_mbregex.c @ 980
+ 14
php5ts!execute_internal+3a 12296958 00000001 16cd77d8
00000003 c:\php-sdk\snap_5_3\vc9\x86\php-5.3.11-ts\zend\zend_execute.c @
1273 + 2c
php_xdebug_2_1_2_5_3_vc9!get_module+205c 00000000 00000000
00000000 00000000
Exception Information
PHP_MBSTRING!NODE_NEW_STR+CIn
httpd__PID__3236__Date__04_28_2012__Time_07_04_35AM__700__First Chance
Access Violation.dmp the assembly instruction at
php_mbstring!node_new_str+c in
c:\wamp\bin\php\php5.3.11\ext\php_mbstring.dll from The PHP Group has
caused an access violation exception (0xC0000005) when trying to read from
memory location 0x00000100 on thread 107
Module Information
Image Name: c:\wamp\bin\php\php5.3.11\ext\php_mbstring.dll Symbol Type:
PDB
Base address: 0x00905a4d Time Stamp: Wed Apr 25 02:20:45 2012
Checksum: 0x31000000 Comments: Thanks to Tsukada Takuya, Rui Hirokawa
COM DLL: False Company Name: The PHP Group
ISAPIExtension: False File Description: Multibyte String Functions
ISAPIFilter: False File Version: 5.3.11
Managed DLL: False Internal Name: MBSTRING extension
VB DLL: False Legal Copyright: Copyright © 1997-2010 The PHP Group
Loaded Image Name: php_mbstring.dll Legal Trademarks: PHP
Mapped Image Name: Original filename: php_mbstring.dll
Module name: php_mbstring Private Build:
Single Threaded: False Product Name: PHP
Module Size: 1.98 MBytes Product Version: 5.3.11
Symbol File Name: c:\wamp\bin\php\php-debug-pack-5.3.11\php_mbstring.pdb
Special Build: &
--
Edit bug report at https://bugs.php.net/bug.php?id=61875&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61875&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61875&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61875&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61875&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61875&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61875&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61875&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61875&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61875&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61875&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61875&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61875&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61875&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61875&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61875&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61875&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61875&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61875&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61875&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61875&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61875&r=mysqlcfg