#28006 [Fbk->Opn]: referencing an unset global produces a segfault

From: Date: Tue, 11 Jan 2005 08:31:22 +0000
Subject: #28006 [Fbk->Opn]: referencing an unset global produces a segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71836@lists.php.net to get a copy of this message
ID: 28006 User updated by: per at computer dot org Reported By: per at computer dot org -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: linux, kernel 2.4.26 PHP Version: 4CVS-2005-01-10 New Comment: No, this is a fairly plain vanilla install. The only not-quite-standard is that I'm building everything with -DHARMUT_0 as I need/want getopt_long() in the cli. See bug#30380. With respect to reproducing this problem - I'll try to make it even simpler, but it's really only 17 lines in 2 files. Previous Comments: ------------------------------------------------------------------------ [2005-01-11 07:11:43] moriyoshi@php.net Do you have some kind of optimiser / accelerator such as APC installed? ------------------------------------------------------------------------ [2005-01-10 22:44:14] sniper@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. Or ------------------------------------------------------------------------ [2005-01-10 22:43:37] sniper@php.net A simpler test case would be nice.. ------------------------------------------------------------------------ [2005-01-10 09:43:16] per at computer dot org php4-STABLE-200501100730: segfault. Let me know if you need any further diagnostics or info. ------------------------------------------------------------------------ [2005-01-10 01:52:36] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28006 -- Edit this bug report at http://bugs.php.net/?id=28006&edit=1

« previous php.bugs (#71836) next »