ID:               48749
 Updated by:       paj...@php.net
 Reported By:      karel dot horsky at centrum dot cz
 Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Windows XP Pro
 PHP Version:      5.2.10
 New Comment:

Ok, due to the infinite loop in this case. We have another bug report
about that. Thanks for your feedback!


Previous Comments:
------------------------------------------------------------------------

[2009-06-30 22:35:04] karel dot horsky at centrum dot cz

After setting correct timzeone to php.ini, everything works fine. That
solved my problem.

My opinion is that php still behaves incorrectly when crashes without a
message in this situation:
- error_log = <filename>
- error_reporting E_ALL | E_STRICT
- timezone not set

------------------------------------------------------------------------

[2009-06-30 22:34:54] paj...@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.



------------------------------------------------------------------------

[2009-06-30 22:22:21] karel dot horsky at centrum dot cz

I turned E_STRICT on and tried to report to syslog. This error I've
already seen reported. But it doesn't explain why there is nothing in
error log and why php crashes. I've got same php.ini before (E_ALL |
E_STRICT enabled with error_log file) and it worked as expected.

Message from syslog:
PHP Strict Standards:  phpinfo() [<a
href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on
the system's timezone settings. Please use the date.timezone setting,
the TZ environment variable or the date_default_timezone_set() function.
In case you used any of those methods and you are still getting this
warning, you most likely misspelled the timezone identifier. We selected
'Europe/Paris' for '2.0/DST' instead in D:\Apache\htdocs\example.php on
line 2.

------------------------------------------------------------------------

[2009-06-30 22:16:23] karel dot horsky at centrum dot cz

Well, the script is calling only phpinfo(). So I wouldn't be so certain
about errors or notices inside the script.

When I turn off E_STRICT, there is nothing in the error log. No error,
no notices. When I turn it on, I couldn't finish the script, so I
couldn't report content of my error_log - file is created, but no
messages.

Magic circle...

------------------------------------------------------------------------

[2009-06-30 21:59:47] paj...@php.net

Ah, it does not crash but your script has certainly some warnings or
notices breaking your script.

Enable the log and read them, it will show what's wrong

------------------------------------------------------------------------

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/48749

-- 
Edit this bug report at http://bugs.php.net/?id=48749&edit=1

Reply via email to