#27519 [Opn->Fbk]: Reflection_Function constructor crashes with non-existant function's name

From: Date: Sun, 07 Mar 2004 21:20:11 +0000
Subject: #27519 [Opn->Fbk]: Reflection_Function constructor crashes with non-existant function's name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56051@lists.php.net to get a copy of this message
ID: 27519 Updated by: derick@php.net Reported By: su1d at phpclub dot net -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Win32 PHP Version: 5.0.0RC1-dev New Comment: Ah, I just see that you use a build from march 5th, I think it was fixed after that but there is no new snapshot. Assuming that you can't build the PHP source yourself, we'll have to wait for that. Keep it at feedback until then. Previous Comments: ------------------------------------------------------------------------ [2004-03-07 16:16:18] su1d at phpclub dot net Just a common Windows system MessageBox appears notifying me about an error: php.exe - Application Error The instruction at "0x100007164" referenced memory at "0xfffffff8". The memory could not be "read". Click "OK" to terminate the program blah-blah-blah... ------------------------------------------------------------------------ [2004-03-07 15:39:43] derick@php.net Can't reproduce this on Linux. What is the full error message you get? ------------------------------------------------------------------------ [2004-03-07 15:35:01] su1d at phpclub dot net The bug persists in the latest Win32 build. E:\>php -v PHP 5.0.0RC1-dev (cli) (built: Mar 5 2004 12:17:19) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0-dev, Copyright (c) 1998-2004 Zend Technologies E:\>php -r "$F = new Reflection_Function('abs');" E:\>php -r "$F = new Reflection_Function('no_function');" ** CRASH ** ------------------------------------------------------------------------ [2004-03-07 14:51:37] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2004-03-07 14:13:17] su1d at phpclub dot net Description: ------------ E:\>php -v PHP 5.0.0b4 (cli) (built: Feb 12 2004 18:00:13) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0-dev, Copyright (c) 1998-2004 Zend Technologies E:\>php -r "$F = new Reflection_Function('abs');" E:\>php -r "$F = new Reflection_Function('no_function');" ** BANG! ** Reproduce code: --------------- $F = new Reflection_Function('no_function'); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27519&edit=1

« previous php.bugs (#56051) next »