#29080 [NEW]: Segmentation Fault when using Interface
From: jason at ionzoft dot com Operating system: Redhat ES 3.0 (Intel) PHP version: 5.0.0RC3 PHP Bug Type: Reproducible crash Bug description: Segmentation Fault when using Interface Description: Hello, I discovered this problem tonight while working on a new PHP 5 class that uses an interface. The code example came from http://www.zend.com/php5/articles/engine2-php5-changes.php#Heading5 getMessage(); ?> -- On this server, I get a Segmentation Fault: [EMAIL PROTECTED] dev]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 24 2004 17:35:13) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.2, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.2, Copyright (c) 1998-2004, by Zend Technologies with Zend Debugger v3.5.0, Copyright (c) 1999-2004, by Zend Technologies [EMAIL PROTECTED] dev]$ php -f Interface.php Segmentation fault -- On this server, It works fine: [EMAIL PROTECTED] Jason]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 14 2004 14:04:10) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] Jason]$ php -f Interface.php Hello -- Could it be a problem with the Debugger? Thanks, Jason Garber -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Reproduce code: --- getMessage(); ?> Expected result: Should print "Hello\n" Actual result: -- "Segmentation Fault" -- Edit bug report at http://bugs.php.net/?id=29080&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29080&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29080&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29080&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29080&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29080&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29080&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29080&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=29080&r=support Expected behavior: http://bugs.php.net/fix.php?id=29080&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=29080&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=29080&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29080&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29080&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29080&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29080&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=29080&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29080&r=float
#29081 [NEW]: Segmentation Fault when using Interface
From: jason at ionzoft dot com Operating system: Redhat ES 3.0 (Intel) PHP version: 5.0.0RC3 PHP Bug Type: Reproducible crash Bug description: Segmentation Fault when using Interface Description: Hello, I discovered this problem tonight while working on a new PHP 5 class that uses an interface. The code example came from http://www.zend.com/php5/articles/engine2-php5-changes.php#Heading5 getMessage(); ?> -- On this server, I get a Segmentation Fault: [EMAIL PROTECTED] dev]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 24 2004 17:35:13) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.2, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.2, Copyright (c) 1998-2004, by Zend Technologies with Zend Debugger v3.5.0, Copyright (c) 1999-2004, by Zend Technologies [EMAIL PROTECTED] dev]$ php -f Interface.php Segmentation fault -- On this server, It works fine: [EMAIL PROTECTED] Jason]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 14 2004 14:04:10) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] Jason]$ php -f Interface.php Hello -- Could it be a problem with the Debugger? Thanks, Jason Garber -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Reproduce code: --- getMessage(); ?> Expected result: Should print "Hello\n" Actual result: -- "Segmentation Fault" -- Edit bug report at http://bugs.php.net/?id=29081&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29081&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29081&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29081&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29081&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29081&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29081&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29081&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=29081&r=support Expected behavior: http://bugs.php.net/fix.php?id=29081&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=29081&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=29081&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29081&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29081&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29081&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29081&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=29081&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29081&r=float
#29081 [Opn->Bgs]: Segmentation Fault when using Interface
ID: 29081 User updated by: jason at ionzoft dot com Reported By: jason at ionzoft dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Redhat ES 3.0 (Intel) PHP Version: 5.0.0RC3 New Comment: This is a duplicate of 29080. Previous Comments: [2004-07-09 23:15:41] jason at ionzoft dot com Description: Hello, I discovered this problem tonight while working on a new PHP 5 class that uses an interface. The code example came from http://www.zend.com/php5/articles/engine2-php5-changes.php#Heading5 getMessage(); ?> -- On this server, I get a Segmentation Fault: [EMAIL PROTECTED] dev]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 24 2004 17:35:13) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.2, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.2, Copyright (c) 1998-2004, by Zend Technologies with Zend Debugger v3.5.0, Copyright (c) 1999-2004, by Zend Technologies [EMAIL PROTECTED] dev]$ php -f Interface.php Segmentation fault -- On this server, It works fine: [EMAIL PROTECTED] Jason]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 14 2004 14:04:10) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] Jason]$ php -f Interface.php Hello -- Could it be a problem with the Debugger? Thanks, Jason Garber -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Reproduce code: --- getMessage(); ?> Expected result: Should print "Hello\n" Actual result: -- "Segmentation Fault" -- Edit this bug report at http://bugs.php.net/?id=29081&edit=1
#29080 [NoF->Opn]: Segmentation Fault when using Interface
ID: 29080 User updated by: jason at ionzoft dot com Reported By: jason at ionzoft dot com -Status: No Feedback +Status: Open Bug Type: Reproducible crash Operating System: Redhat ES 3.0 (Intel) PHP Version: 5.0.0RC3 New Comment: Hi, I'm experiencing the same bug, but it seems only the original poster comments are considered any good by the system, so could you please comment on your bug to reopen it. Thanks, Piotr -- Piotr Banasik T-P-L.com GnuPG key fingerprint: B1E5 A557 BB24 5E8A 95A4 202A 2B Previous Comments: [2004-07-18 01:00:07] 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-07-15 20:06:51] piotr at t-p-l dot com running the same code seg faults aswell I narrowed it down to Optimizer here is the proof: -- WITHOUT OPTIMIZER -- # php -v PHP 5.0.0 (cli) (built: Jul 15 2004 10:19:20) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.3, Copyright (c) 2003-2004, by Zend Technologies with Zend Debugger v3.5.0, Copyright (c) 1999-2004, by Zend Technologies # php test2.php Hello -- WITH OPTIMIZER -- # php -v PHP 5.0.0 (cli) (built: Jul 15 2004 10:19:20) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.3, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.3, Copyright (c) 1998-2004, by Zend Technologies with Zend Debugger v3.5.0, Copyright (c) 1999-2004, by Zend Technologies # php test2.php Segmentation fault -- WITH OPTIMIZER (but no DEBUGGER) -- # php -v PHP 5.0.0 (cli) (built: Jul 15 2004 10:19:20) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.3, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.3, Copyright (c) 1998-2004, by Zend Technologies # php test2.php Segmentation fault [2004-07-10 14:37:14] [EMAIL PROTECTED] Could you also try to run it with Debugger and Optimizer alone to get them isolated? [2004-07-10 06:51:11] [EMAIL PROTECTED] 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-07-09 23:14:46] jason at ionzoft dot com Description: Hello, I discovered this problem tonight while working on a new PHP 5 class that uses an interface. The code example came from http://www.zend.com/php5/articles/engine2-php5-changes.php#Heading5 getMessage(); ?> -- On this server, I get a Segmentation Fault: [EMAIL PROTECTED] dev]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 24 2004 17:35:13) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.2, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.2, Copyright (c) 1998-2004, by Zend Technologies with Zend Debugger v3.5.0, Copyright (c) 1999-2004, by Zend Technologies [EMAIL PROTECTED] dev]$ php -f Interface.php Segmentation fault -- On this server, It works fine: [EMAIL PROTECTED] Jason]$ php -v PHP 5.0.0RC3 (cli) (built: Jun 14 2004 14:04:10) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0RC3, Copyright (c) 1998-2004 Zend Technologies [EMAIL PROTECTED] Jason]$ php -f Interface.php Hello -- Could it be a problem with the Debugger? Thanks, Jason Garber -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Reproduce code: --- getMessage(); ?> Expected result: Should print "Hello\n" Actual result: -- "Segmentation Fault" -- Edit this bug report at http://bugs.php.net/?id=29080&edit=1
#41254 [NEW]: 64bit libmcrypt not found after bug #39935 fixed
From: jason at ionzoft dot com Operating system: RedHat ES 4 PHP version: 5.2.1 PHP Bug Type: *Configuration Issues Bug description: 64bit libmcrypt not found after bug #39935 fixed Description: This is not a bug. It is documentation of a problem encountered when using libmcrypt on 64 bit machines and upgrading PHP to 5.2.1. --- In reference to Bug #39935 (extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir), I have encountered an error post-compile. Previously, mcrypt ignored --with-libdir, and naturally looked in /usr/local/lib for libmcrtpy.so.4. After bug #39935 was fixed, libmcrypt began to look in the right place (which I have specified as /lib64 on 64 bit machines). A potential solution is to compile libmcrypt with --libdir=/lib64. It took a lot of hunting to find this answer, and perhaps there is a place that this information could be posted. Thanks. Jason Garber Reproduce code: --- ./configure \ --with-libdir=lib64 \ --with-apxs2=/usr/sbin/apxs \ --with-config-file-path=/etc \ --enable-sigchild \ --with-openssl \ --enable-bcmath \ --with-curl \ --with-mcrypt \ --with-mysql \ --with-mysqli=/usr/bin/mysql_config \ --enable-sockets \ --with-gd \ --with-jpeg-dir=lib64 \ --with-png-dir \ --with-freetype-dir \ --with-zlib make make test Expected result: {successful tests} Actual result: -- /usr/local/src/ServerSoftware/PHP/php-5.2.1/sapi/cli/php: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory make: [test] Error 127 (ignored) -- Edit bug report at http://bugs.php.net/?id=41254&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41254&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41254&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41254&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41254&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41254&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41254&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=41254&r=needscript Try newer version:http://bugs.php.net/fix.php?id=41254&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41254&r=support Expected behavior:http://bugs.php.net/fix.php?id=41254&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41254&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41254&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41254&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41254&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41254&r=dst IIS Stability:http://bugs.php.net/fix.php?id=41254&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41254&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41254&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41254&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=41254&r=mysqlcfg