ID:               29681
 Comment by:       akomasinski at gmail dot com
 Reported By:      tony at marston-home dot demon dot co dot uk
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: WindowsXP
 PHP Version:      5.0.1
 New Comment:

Same error in 5.0.2 + Apache 2.0.50 + MySQL 4.0.22
Windows XP SP1


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

[2004-12-02 05:40:02] aristotle at brettia dot com

I had this same problem.  My stats:

Windows XP SP2, AMD Athlon 64 (32-bit Windows, though)
PHP 5.0.1, Apache 2.0.50, MySQL 4.0.22

Apache Error Log Excerpts:

(Restarted Server)
[Wed Dec 01 21:14:56 2004] [notice] mod_python: Creating 32 session
mutexes based on 0 max processes and 250 max threads.
[Wed Dec 01 21:14:57 2004] [notice] Parent: Created child process 3960
[Wed Dec 01 21:14:57 2004] [notice] mod_python: Creating 32 session
mutexes based on 0 max processes and 250 max threads.
[Wed Dec 01 21:14:57 2004] [notice] Child 3960: Child process is
running
[Wed Dec 01 21:14:57 2004] [notice] Child 3960: Acquired the start
mutex.
[Wed Dec 01 21:14:57 2004] [notice] Child 2080: Released the start
mutex
[Wed Dec 01 21:14:57 2004] [notice] Child 3960: Starting 250 worker
threads.
[Wed Dec 01 21:14:58 2004] [notice] Child 2080: Waiting for 250 worker
threads to exit.
[Wed Dec 01 21:14:58 2004] [notice] Child 2080: All worker threads have
exited.
[Wed Dec 01 21:14:59 2004] [notice] Child 2080: Child process is
exiting
(This error happens upon running a script.)
[Wed Dec 01 21:15:04 2004] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Wed Dec 01 21:15:04 2004] [notice] mod_python: Creating 32 session
mutexes based on 0 max processes and 250 max threads.
[Wed Dec 01 21:15:04 2004] [notice] Parent: Created child process 2280
[Wed Dec 01 21:15:04 2004] [notice] mod_python: Creating 32 session
mutexes based on 0 max processes and 250 max threads.
[Wed Dec 01 21:15:04 2004] [notice] Child 2280: Child process is
running
[Wed Dec 01 21:15:04 2004] [notice] Child 2280: Acquired the start
mutex.
[Wed Dec 01 21:15:04 2004] [notice] Child 2280: Starting 250 worker
threads.
[Wed Dec 01 21:19:35 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Wed Dec 01 21:19:35 2004] [notice] Child 2280: Exit event signaled.
Child process is ending.
[Wed Dec 01 21:19:35 2004] [notice] Parent: Created child process 2088
[Wed Dec 01 21:19:36 2004] [notice] Child 2088: Child process is
running
[Wed Dec 01 21:19:36 2004] [notice] Child 2088: Acquired the start
mutex.
[Wed Dec 01 21:19:36 2004] [notice] Child 2280: Released the start
mutex
[Wed Dec 01 21:19:36 2004] [notice] Child 2088: Starting 250 worker
threads.
[Wed Dec 01 21:19:37 2004] [notice] Child 2280: Waiting for 250 worker
threads to exit.
[Wed Dec 01 21:19:41 2004] [notice] Child 2280: All worker threads have
exited.
[Wed Dec 01 21:19:41 2004] [notice] Child 2280: Child process is
exiting

(I don't know how much of this is useful, so I didn't prune much out.)

How Problem Was Fixed

1. Disabled mod_python (Worked once without error)
2. Enabled mod_python
3. Fixed code bug where I was attempting to __get() a non-existent key
from an array that was a property of an overloaded (I think) object. 
The __get() function in question:

public function __get($key) {

    if($this->isValid($key)) {

        return $this->data_array[$key];

    } else {

        throw new ArrayStoreException('Variable with key [' . $key . ']
does not exist in the data array.',1);
        return false;

    }

}

And the isValid function which __get() calls:

public function isValid($key) {

    if(array_key_exists($key,$this->data_array)) {

        return true;

    } else {

        return false;

    }

}

4. Reran the script, everything was fine.

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

[2004-11-16 12:23:16] php_bug at cklowe dot com

This bug looks to be the same as bug 26286:
http://bugs.php.net/bug.php?id=26286

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

[2004-10-21 19:20:21] tony at marston-home dot demon dot co dot uk

I have reinstated my sample code at
http://www.tonymarston.co.uk/error.zip

There are instructions inside on how to reproduce the error.

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

[2004-10-21 11:34:10] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


There is nothing at that URL any more, please include a minimal
reproduction script.

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

[2004-10-11 19:07:26] joel at preacherboy dot net

I'm seeing this occur with Apache 2.0.52, PHP 5.0.2, and Windows 2003.

I'm not doing anything particularly special in the PHP. Most of the
hosted files are 100% HTML going through PHP.

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

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

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

Reply via email to