From:             m dot leuffen at i-line dot net
Operating system: Linux
PHP version:      5.0.3
PHP Bug Type:     Session related
Bug description:  PHP-Crash when registering Class

Description:
------------
Hi,

I tried to register a local object with a SoapClient property into a
Session.

When registrating this object following Error occours:

Fatal error: Exception thrown without a stack frame in Unknown on line 0

Thereafter, while loading the Session, PHP crashs. (No Output - No Header
- No Apache-Process)

Maybe this problem is also related to the Soap-Functions. (Although I will
send it as Session-Related ;-)

Kindest Regards,
  Matthias Leuffen

Reproduce code:
---------------
<?PHP
        class test {
                private $mySoapConnector;
                
                public function __construct () {
                        $this->mySoapConnector = new SoapClient 
("<pathToWsdl>");
                }
                
                public function isAlive() {
                        echo "<br>I'm still alive";
                }       
        }

session_start();
if (!isset ($_SESSION["CLASS"])) {
        echo "Creating new Session";
        $_SESSION["CLASS"] = new test();
} else {
        echo "Loading Session";
        $_SESSION["CLASS"]->isAlive();
}

Expected result:
----------------
1st Call:

>--
>Creating new Session
>--


2nd Call:

>--
>Loading Session
>I'm still alive
>--

Actual result:
--------------
1st Call:

>--
>Creating new Session
>
>Fatal error: Exception thrown without a stack frame in Unknown on line 0
>--


2nd Call:

<nothing - enendingly browser loading>

-- 
Edit bug report at http://bugs.php.net/?id=31734&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31734&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31734&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31734&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31734&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31734&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31734&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31734&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31734&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31734&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31734&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31734&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31734&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31734&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31734&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31734&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31734&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31734&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31734&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31734&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31734&r=mysqlcfg

Reply via email to