#31734 [Opn->Fbk]: PHP-Crash when registering Class

From: Date: Fri, 28 Jan 2005 20:27:43 +0000
Subject: #31734 [Opn->Fbk]: PHP-Crash when registering Class
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73005@lists.php.net to get a copy of this message
ID: 31734 Updated by: tony2001@php.net Reported By: m dot leuffen at i-line dot net -Status: Open +Status: Feedback Bug Type: Session related Operating System: Linux PHP Version: 5.0.3 New Comment: 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 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. Previous Comments: ------------------------------------------------------------------------ [2005-01-28 03:49:41] m dot leuffen at i-line dot net 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 this bug report at http://bugs.php.net/?id=31734&edit=1

« previous php.bugs (#73005) next »