ID: 45209 User updated by: p dot elagin at gmail dot com Reported By: p dot elagin at gmail dot com Status: Open Bug Type: PDO related Operating System: Linux PHP Version: 5.2.6 New Comment:
http - turn off GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) set arg /var/www/script/test-pdo.php (gdb) run Starting program: /usr/bin/php /var/www/script/test-pdo.php [Thread debugging using libthread_db enabled] [New Thread 0x2ba9c0b35080 (LWP 3698)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2ba9c0b35080 (LWP 3698)] 0x00002ba9c562bae0 in ?? () (gdb) bt #0 0x00002ba9c562bae0 in ?? () #1 0x00002ba9c024afdf in ?? () from /usr/lib/libcrypto.so.0.9.8 #2 0x00002ba9c184b659 in ?? () from /usr/lib/libcurl.so.4 #3 0x00002ba9c185d4e2 in ?? () from /usr/lib/libcurl.so.4 #4 0x00002ba9c1853a13 in curl_global_cleanup () from /usr/lib/libcurl.so.4 #5 0x00002ba9c1615e89 in zm_shutdown_curl (type=9, module_number=1) at /tmp/buildd/php5-5.2.6/ext/curl/interface.c:687 #6 0x0000000000670d31 in module_destructor (module=0xc02300) at /tmp/buildd/php5-5.2.6/Zend/zend_API.c:1921 #7 0x00000000006772c0 in zend_hash_apply_deleter (ht=0xb74c20, p=0xc022a0) at /tmp/buildd/php5-5.2.6/Zend/zend_hash.c:805 #8 0x0000000000677578 in zend_hash_graceful_reverse_destroy (ht=0xb74c20) at /tmp/buildd/php5-5.2.6/Zend/zend_hash.c:840 #9 0x000000000066ccb7 in zend_shutdown () at /tmp/buildd/php5-5.2.6/Zend/zend.c:814 #10 0x0000000000626b75 in php_module_shutdown () at /tmp/buildd/php5-5.2.6/main/main.c:1906 #11 0x00000000006ea306 in main (argc=-312573176, argv=0x2ba9c050c358) at /tmp/buildd/php5-5.2.6/sapi/cli/php_cli.c:1341 Previous Comments: ------------------------------------------------------------------------ [2008-08-31 15:09:28] p dot elagin at gmail dot com >php test-pdo.php >gdb php GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) set arg /var/www/script/test-pdo.php (gdb) run Starting program: /usr/bin/php /var/www/script/test-pdo.php [Thread debugging using libthread_db enabled] [New Thread 0x2b427e11d080 (LWP 3526)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2b427e11d080 (LWP 3526)] 0x00002b4282e72ae0 in ?? () (gdb) bt #0 0x00002b4282e72ae0 in ?? () #1 0x00002b427d832fdf in ?? () from /usr/lib/libcrypto.so.0.9.8 #2 0x00002b427e83b659 in ?? () from /usr/lib/libcurl.so.4 #3 0x00002b427e84d4e2 in ?? () from /usr/lib/libcurl.so.4 #4 0x00002b427e843a13 in curl_global_cleanup () from /usr/lib/libcurl.so.4 #5 0x00002b427e5e0d79 in zm_shutdown_http_request (type=9, module_number=1) at /tmp/pear/temp/pecl_http/http_request_api.c:194 #6 0x00002b427e5c812a in zm_shutdown_http (type=1, module_number=41) at /tmp/pear/temp/pecl_http/http.c:339 #7 0x0000000000670d31 in module_destructor (module=0xc02310) at /tmp/buildd/php5-5.2.6/Zend/zend_API.c:1921 #8 0x00000000006772c0 in zend_hash_apply_deleter (ht=0xb74c20, p=0xc022b0) at /tmp/buildd/php5-5.2.6/Zend/zend_hash.c:805 #9 0x0000000000677578 in zend_hash_graceful_reverse_destroy (ht=0xb74c20) at /tmp/buildd/php5-5.2.6/Zend/zend_hash.c:840 #10 0x000000000066ccb7 in zend_shutdown () at /tmp/buildd/php5-5.2.6/Zend/zend.c:814 #11 0x0000000000626b75 in php_module_shutdown () at /tmp/buildd/php5-5.2.6/main/main.c:1906 #12 0x00000000006ea306 in main (argc=805293352, argv=0x2b427daf4358) at /tmp/buildd/php5-5.2.6/sapi/cli/php_cli.c:1341 ------------------------------------------------------------------------ [2008-08-31 15:05:57] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2008-08-31 15:02:34] p dot elagin at gmail dot com in php ini (cli mode) #extension=http.so php test-pdo.php zsh: segmentation fault php test-pdo.php ( ------------------------------------------------------------------------ [2008-08-31 13:07:08] [EMAIL PROTECTED] Disable (remove it from your php.ini) the pecl http extension and try again. ------------------------------------------------------------------------ [2008-08-29 08:22:40] p dot elagin at gmail dot com (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/bin/php test-pdo.php [Thread debugging using libthread_db enabled] [New Thread 0x2b77d3849080 (LWP 13945)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2b77d3849080 (LWP 13945)] 0x00002b77d859cae0 in ?? () ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45209 -- Edit this bug report at http://bugs.php.net/?id=45209&edit=1
