#47596 [Fbk->Opn]: Bus error on parsing file
ID: 47596
User updated by: pahan at hubbitus dot info
Reported By: pahan at hubbitus dot info
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 5.3.0beta1
New Comment:
This script completely self-contained reproducing script. But as I
mention before, I can't make it smaller because it break
reproducibility.
Previous Comments:
------------------------------------------------------------------------
[2009-03-10 10:24:35] jani@php.net
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.
Either provide completely self-contained reproducing script or let this
be bogus..
------------------------------------------------------------------------
[2009-03-08 09:37:43] pahan at hubbitus dot info
Description:
------------
On particular file php always crashes with Bus Error.
I'm try split file to get only sensible data, but I can't. ANY changes
in it do predictable behavior and all works as expected. Even
add/delete comment, any letter, space in any place...
$ php test.bus.error.php
Bus error
Its contain many external dependencies, but it is absolutely unneeded
for reproducibility:
$ php -d"include_path=:::::" test.bus.error.php
Bus error
[pasha@x-www _SHARED_]$ ulimit -c unlimited
[pasha@x-www _SHARED_]$ php -d"include_path=/" test.bus.error.php
Bus error (core dumped)
This file is my working mess for test and sandboxing :), so, it is
really not intended for any use outside and even any use except probes
and examples. But as I can't even change 1 letter in it, I place it as
is: http://ru.bir.ru/_temp/php-bugs/2/test.bus.error.php.gz
Coredump file also available for download: http://ru.bir.ru/_temp/php-
bugs/2/core.19581
Reproduce code:
---------------
http://ru.bir.ru/_temp/php-bugs/2/test.bus.error.php.gz
Sorry, I can't do that smaller.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47596&edit=1
Thread (10 messages)