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

 ID:                 28792
 Updated by:         [email protected]
 Reported by:        fabio at catho dot com dot br
 Summary:            throwing an exception inside a __get() causes a
                     segmentation fault
-Status:             No Feedback
+Status:             Bogus
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Linux 2.4.24
 PHP Version:        5.0.0RC3
 Block user comment: N
 Private report:     N

 New Comment:

The crash cannot be reproduced.


Previous Comments:
------------------------------------------------------------------------
[2004-06-23 01:00:10] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2004-06-15 16:19:45] [email protected]

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.

------------------------------------------------------------------------
[2004-06-15 16:13:25] fabio at catho dot com dot br

Description:
------------
This code was working on PHP5 RC2, but not in the latest versions (CVS,
PHP5 RC3).



See http://bugs.php.net/bug.php?id=24279.

Reproduce code:
---------------
class test {

  function __get($propname) {

    throw new Exception("TEST");

  }

}



$t = new test();

echo $t->ok;

Expected result:
----------------
Fatal error: Uncaught exception 'Exception' with message 'TEST' in
/usr/local/apache2/htdocs/Core/dump.php:4 Stack trace: #0
/usr/local/apache2/htdocs/Core/dump.php(8): test->__get() #1
/usr/local/apache2/htdocs/Core/dump.php(8): unknown() #2 {main} thrown
in /usr/local/apache2/htdocs/Core/dump.php on line 4

Actual result:
--------------
Segmentation Fault (zero size reply)


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



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

Reply via email to