|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-09-18 10:07 UTC] erikg at codepoet dot no
[2008-09-18 14:26 UTC] scottmac@php.net
[2008-09-19 11:57 UTC] erikg at codepoet dot no
[2008-10-07 17:44 UTC] erikg at codepoet dot no
[2008-10-07 17:56 UTC] felipe@php.net
[2008-10-07 19:11 UTC] erikg at codepoet dot no
[2008-10-31 15:57 UTC] jani@php.net
[2008-11-08 01:00 UTC] php-bugs at lists dot php dot net
[2009-05-01 21:28 UTC] felipe@php.net
[2009-05-09 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
Description: ------------ Apache segfaults when throwing an exception in a function whose return value is used to construct a class within another class' constructor. That sentence made my head hurt, just read the code :) I haven't been able to remove any code while still reproducing the crash. Reproduce code: --------------- function error($item) { throw new Exception("error"); } class Foo { function __construct() { new Bar(error($item)); } } class Bar { function __construct($param) { } } new Foo(); Expected result: ---------------- Foo object to be instantiated Actual result: -------------- Apache segfaults