#37188 [Fbk]: Wrong value of include_path causes 'Official' PHP4.4.2, PHP 4.4.3.3dev to crash
| From: | tony2001@php.net | Date: | Tue, 25 Apr 2006 08:49:40 +0000 |
| Subject: | #37188 [Fbk]: Wrong value of include_path causes 'Official' PHP4.4.2, PHP 4.4.3.3dev to crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96202@lists.php.net to get a copy of this message | ||
ID: 37188
Updated by: tony2001@php.net
Reported By: phpclub_ru at bougakov dot com
Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP Home, SP2
PHP Version: 4.4.2
New Comment:
>Can't build debug version of PHP since there is some error in the
sources
>(compiler breaks when processes regex-related files and generates
about 18 errors).
There is absolutely no need to build PHP yourself.
The process of getting a backtrace is described here:
http://bugs.php.net/bugs-generating-backtrace-win32.php
Please use snapshots instead of homemade builds, as we do not support
unofficial win32 builds.
>If YOU have got debug version of PHP 4.4.2, you can easily
> reproduce the bug by editing your php.ini:
No Windows$ here.
And I cannot reproduce it on Linux:
Warning: main(test1.php): failed to open stream: No such file or
directory in
Warning: main(): Failed opening 'test1.php' for inclusion
(include_path='русские
символы')
Previous Comments:
------------------------------------------------------------------------
[2006-04-25 08:23:30] bjori@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 possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2006-04-25 08:14:29] phpclub_ru at bougakov dot com
> Backtrace without debug symbols doesn't make any sense.
Can't build debug version of PHP since there is some error in the
sources (compiler breaks when processes regex-related files and
generates about 18 errors).
> Please try to reproduce it on *nix and
> get a valid backtrace with GDB
Got no *nix system. My hosting provider won't let me edit the php.ini
If YOU have got debug version of PHP 4.4.2, you can easily reproduce
the bug by editing your php.ini:
from:
include_path = ".;c:/php/includes/"
to:
include_path = "c:/php/includes/"
and opening ANY script with
<?php
include 'whatever.php';
?>
------------------------------------------------------------------------
[2006-04-25 07:13:29] tony2001@php.net
Backtrace without debug symbols doesn't make any sense.
And yes, your debugger points to a wrong place.
Please try to reproduce it on *nix and get a valid backtrace with GDB,
if MSVC is unable to give you requested information.
------------------------------------------------------------------------
[2006-04-24 22:45:02] phpclub_ru at bougakov dot com
Already posted.
------------------------------------------------------------------------
[2006-04-24 22:35:30] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37188
--
Edit this bug report at http://bugs.php.net/?id=37188&edit=1