Edit report at https://bugs.php.net/bug.php?id=60976&edit=1
ID: 60976
Updated by: felipe@php.net
Reported by: xrstf-misc at yahoo dot com
Summary: PHP crashes sometimes while parsing
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Win7x64
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2012-02-03 23:41:18] xrstf-misc at yahoo dot com
Oh, there is a false statement still left in the original report: The crash also
happens *without* APC (or any other opcode cache).
------------------------------------------------------------------------
[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