php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31734 PHP-Crash when registering Class
Submitted: 2005-01-28 03:49 UTC Modified: 2005-02-10 23:32 UTC
From: m dot leuffen at i-line dot net Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: m dot leuffen at i-line dot net
New email:
PHP Version: OS:

 

 [2005-01-28 03:49 UTC] 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>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-28 21:27 UTC] tony2001@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

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.


 [2005-02-10 23:32 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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 12:01:29 2024 UTC