php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16787 any call to error_log(...) crashes
Submitted: 2002-04-24 05:47 UTC Modified: 2002-09-11 10:56 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: tomas dot drbohlav at mff dot cuni dot cz Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.2.0 OS: UnixWare 7.1.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
48 + 11 = ?
Subscribe to this entry?

 
 [2002-04-24 05:47 UTC] tomas dot drbohlav at mff dot cuni dot cz
We have tried the new relase (PHP 4.2.0) and some of our pages segfaults. Consider such a simple code as:

<?php 

echo "Hello!";

error_log('Hi! I am an error message!', 0);

?> 

This crashes every time, independently on any auto_prepend setting (which we normally use). When you comments out the error_log call, page runs ok.

I can perform some additinal test when nedded, looking forward for any interest.

T :-)

P.S.: Our config: './configure' '--with-oci8=/u01/app/oracle/product/8.1.7' '--with-apxs=/usr/local/apache.dbg/bin/apxs' '--without-mysql' '--enable-sigchild' '--build=i686-sco-sysv5uw7'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-24 05:49 UTC] derick@php.net
To properly diagnose this bug, 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

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".
 [2002-04-24 07:24 UTC] tomas dot drbohlav at mff dot cuni dot cz
Unfortunatelly I cannot generate backtrack: cgi version doesn't crash and Apache version with --enable-debug doesn't start at all ... :-(
 [2002-06-16 00:18 UTC] sniper@php.net
I can not reproduce this..which Apache version do you have?
And what do you mean by '--enable-debug' doesn't run?
Have you checked your error_log what it says when you
try to start? Do you load some extensions in php.ini ?

 [2002-09-11 10:56 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Aug 19 23:05:44 2022 UTC