ID: 34461 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: No Feedback +Status: Closed Bug Type: PDO related Operating System: win2000\gentoo 05.1 PHP Version: 5.0.5 -Assigned To: +Assigned To: helly New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-09-19 01:00:02] 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". ------------------------------------------------------------------------ [2005-09-11 16:38:48] [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 This shouldn't even be possible (we marked the PDO constructor as final). Can you try a 5.1 snapshot and reproduce the problem? ------------------------------------------------------------------------ [2005-09-11 12:54:02] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=34461&edit=1