Edit report at https://bugs.php.net/bug.php?id=60976&edit=1
ID: 60976
User updated by: xrstf-misc at yahoo dot com
Reported by: xrstf-misc at yahoo dot com
Summary: PHP crashes sometimes while parsing
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: Win7x64
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Oh, there is a false statement still left in the original report: The crash
also
happens *without* APC (or any other opcode cache).
Previous Comments:
------------------------------------------------------------------------
[2012-02-03 23:39:15] xrstf-misc at yahoo dot com
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 this bug report at https://bugs.php.net/bug.php?id=60976&edit=1