From:             
Operating system: Win7x64
PHP version:      5.3.10
Package:          Reproducible crash
Bug Type:         Bug
Bug description:PHP crashes sometimes while parsing

Description:
------------
I know this is not really helpful, but that's the best I can describe it.
Sorry 
that I cannot give a short, minimal test script to reproduce the bug.

Sometimes, when coding, I change one single line of code (i.e. change a
string 
literal) and when re-running the script in my browser, Apache/PHP crashes.
In 
this case, the affected line was

$params['subject'][] = array('metainfo', 'Metainfos');

I changed the line to

$params['subject'][] = array('metainfo', t('metainfos'));

which suddenly crashes PHP. When I change the argument of t() to 'metainfo'
or 
'metainfoX' or 'metainfosX', PHP does not crash. If I change the value back
to 
'metainfos', it crashes. Every newly spaned apache worker also crashes. If
I 
move the line just down one line, PHP does not crash. Sounds like a parser
bug 
in combination with APC (see below)

Environment:

  PHP 5.3.10 TS
  Win7 x64
  Apache 2.2.17 (PHP module)

VS2008 shows me the following backtrace:
http://pastie.org/pastes/3312359/text

Let me know if you need more details.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60976&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=60976&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=60976&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=60976&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=60976&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60976&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=60976&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=60976&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=60976&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=60976&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=60976&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=60976&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=60976&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=60976&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=60976&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=60976&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60976&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=60976&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=60976&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=60976&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=60976&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=60976&r=mysqlcfg

Reply via email to