From: [EMAIL PROTECTED] Operating system: win2000\gentoo 05.1 PHP version: 5.0.5 PHP Bug Type: PDO related Bug description: extends PDO seg when calling non exists method
Description: ------------ on class that extends PDO, i get segfault when calling non exists method. Reproduce code: --------------- class b extends PDO{ function b(){ $this->x(); } } $b = new b(); Actual result: -------------- #0 0xb78a8d59 in ?? () #1 0xb78a396f in ?? () #2 0xbfffd470 in ?? () #3 0x10000000 in ?? () #4 0x00000000 in ?? () #5 0x00000000 in ?? () #6 0x00000000 in ?? () #7 0x062522a3 in ?? () #8 0xbfffd4e0 in ?? () #9 0x08403d30 in ?? () #10 0xb78a38d4 in ?? () #11 0xbfffd470 in ?? () #12 0x08404078 in ?? () #13 0xb78a2e48 in ?? () #14 0x08403d30 in ?? () #15 0x08403ed0 in ?? () #16 0x00000000 in ?? () #17 0xbfffd524 in ?? () #18 0xb7ff1f18 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #19 0xb78a906f in ?? () #20 0x0840ca2c in ?? () #21 0x00000000 in ?? () #22 0x00000002 in ?? () #23 0xbfffd528 in ?? () #24 0x00000002 in ?? () #25 0x0840ca2c in ?? () #26 0x00000000 in ?? () #27 0xbfffd59c in ?? () #28 0xbfffd5d0 in ?? () #29 0xb78a8fd0 in ?? () #30 0xbfffd578 in ?? () #31 0x08216388 in zend_init_method_call_handler (execute_data=0xbfffd528, opline=0x84141cc, op_array=0x1) at /root/install/php-5.0.4/Zend/zend_execute.c:2533 #32 0x08216388 in zend_init_method_call_handler (execute_data=0xbfffd5d0, opline=0xb78a8fd0, op_array=0x841d8fc) at /root/install/php-5.0.4/Zend/zend_execute.c:2533 #33 0x08213a69 in execute (op_array=0x841d8fc) at /root/install/php-5.0.4/Zend/zend_execute.c:1406 #34 0x08216afd in zend_do_fcall_common_helper (execute_data=0xbfffd740, opline=0x841b10c, op_array=0x8416dac) at /root/install/php-5.0.4/Zend/zend_execute.c:2756 #35 0x08213a69 in execute (op_array=0x8416dac) at /root/install/php-5.0.4/Zend/zend_execute.c:1406 #36 0x081f4fc5 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/install/php-5.0.4/Zend/zend.c:1069 #37 0x081bf46d in php_execute_script (primary_file=0xbffffaf0) at /root/install/php-5.0.4/main/main.c:1632 #38 0x0821e252 in main (argc=2, argv=0xbffffb84) at /root/install/php-5.0.4/sapi/cli/php_cli.c:946 -- Edit bug report at http://bugs.php.net/?id=34461&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34461&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34461&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34461&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34461&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34461&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34461&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34461&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34461&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34461&r=support Expected behavior: http://bugs.php.net/fix.php?id=34461&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34461&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34461&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34461&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34461&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34461&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34461&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34461&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34461&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34461&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34461&r=mysqlcfg