ID: 47770 Comment by: sunhwanj at gmail dot com Reported By: shj at xenosi dot de Status: Open Bug Type: PDO related Operating System: Gentoo Linux 64bit PHP Version: 5.2.9 New Comment:
I wasn't able to reproduce the error either in the following systems: mac os x 10.5.6, php 5.2.6 linux 2.6.18, php 5.1.6 Previous Comments: ------------------------------------------------------------------------ [2009-03-25 12:39:46] shj at xenosi dot de like this? Starting program: /usr/bin/php /down/test.php (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error (no debugging symbols found) Cannot find new threads: generic error (gdb) (gdb) bt #0 0x00007f34747b755a in ?? () from /lib64/ld-linux-x86-64.so.2 #1 0x00007f34747b2856 in ?? () from /lib64/ld-linux-x86-64.so.2 #2 0x00007f34747b6d7b in ?? () from /lib64/ld-linux-x86-64.so.2 #3 0x00007f3472ed4f9b in ?? () from /lib/libdl.so.2 #4 0x00007f34747b2856 in ?? () from /lib64/ld-linux-x86-64.so.2 #5 0x00007f3472ed530c in ?? () from /lib/libdl.so.2 #6 0x00007f3472ed4f01 in dlopen () from /lib/libdl.so.2 #7 0x0000000000524907 in php_dl () #8 0x000000000058dd83 in ?? () #9 0x00000000005c038e in zend_llist_apply () #10 0x000000000058dd4a in php_ini_register_extensions () #11 0x0000000000587d06 in php_module_startup () #12 0x000000000063e0fd in ?? () #13 0x000000000063e8d2 in main () ------------------------------------------------------------------------ [2009-03-25 10:21:06] ka...@php.net I'm unable to reproduce this with your script if I replace: $stmt = $this->class->query($this->query); return new SHJPDOStatement($stmt); with: return new SHJPDOStatement($this->class->query($this->query)); I get no crash, anything in my server log, etc. using Windows 32bit, can you generate a backtrace as described here: http://bugs.php.net/bugs-generating-backtrace.php ------------------------------------------------------------------------ [2009-03-25 07:12:07] shj at xenosi dot de Description: ------------ 1. this is segmentation fault. return new class($pdo->class->query($this->query)); 2. this is ok. $stmt = $pdo->class->query($this->query); return new class($stmt); Reproduce code: --------------- http://codepad.org/wJ5O5TvG this is bug example. run this code on your machine. thank you. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47770&edit=1