#30850 [NEW]: segmentation fall

From: Date: Sat, 20 Nov 2004 14:21:25 +0000
Subject: #30850 [NEW]: segmentation fall
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69297@lists.php.net to get a copy of this message
From: bugz at nagash dot org Operating system: linux (gentoo) PHP version: 5.0.2 PHP Bug Type: Zend Engine 2 problem Bug description: segmentation fall Description: ------------ I receive segmentation fall when try to execute following code backtrace (gdb) r -f /home/nagash/dotorgc.org/www/test.php Starting program: /stuff/php/bin/php -f /home/nagash/dotorgc.org/www/test.php Program received signal SIGSEGV, Segmentation fault. zend_std_object_get_class (object=0x1) at /root/src/php/php5-200411201130/Zend/zend_object_handlers.c:826 826 return zobj->ce; Reproduce code: --------------- class blah { function tester ($var) { echo $var; } } $GLOBALS['dbcon'] = new blah; $dbcon = $GLOBALS['dbcon']; $dbcon->tester('aaa'); Expected result: ---------------- aaa Actual result: -------------- segmentation fall -- Edit bug report at http://bugs.php.net/?id=30850&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30850&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30850&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30850&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30850&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30850&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30850&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30850&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30850&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30850&r=support Expected behavior: http://bugs.php.net/fix.php?id=30850&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30850&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30850&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30850&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30850&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30850&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30850&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30850&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30850&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30850&r=mysqlcfg

« previous php.bugs (#69297) next »