#45209 [Fbk->Opn]: segmentation fault, when exit script (when i open PGSQL conection)
| From: | p dot elagin at gmail dot com | Date: | Sun, 31 Aug 2008 15:09:30 +0000 |
| Subject: | #45209 [Fbk->Opn]: segmentation fault, when exit script (when i open PGSQL conection) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128579@lists.php.net to get a copy of this message | ||
ID: 45209
User updated by: p dot elagin at gmail dot com
Reported By: p dot elagin at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: PDO related
Operating System: Linux
PHP Version: 5.2.6
New Comment:
>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
Previous Comments:
------------------------------------------------------------------------
[2008-08-31 15:05:57] felipe@php.net
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] pajoye@php.net
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 ?? ()
------------------------------------------------------------------------
[2008-08-29 08:21:35] p dot elagin at gmail dot com
(gdb) bt
#0 0x00002b6b3e82fae0 in ?? ()
#1 0x00002b6b391f1fdf in ?? () from /usr/lib/libcrypto.so.0.9.8
#2 0x00002b6b3a1f8659 in ?? () from /usr/lib/libcurl.so.4
#3 0x00002b6b3a20a4e2 in ?? () from /usr/lib/libcurl.so.4
#4 0x00002b6b3a200a13 in curl_global_cleanup () from
/usr/lib/libcurl.so.4
#5 0x00002b6b39f9f7e9 in zm_shutdown_http_request (type=9,
module_number=1) at
/tmp/pear/cache/pecl_http-1.6.0/http_request_api.c:194
#6 0x00002b6b39f8712a in zm_shutdown_http (type=1, module_number=41)
at /tmp/pear/cache/pecl_http-1.6.0/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=1952707416, argv=0x2b6b394b3358)
at /tmp/buildd/php5-5.2.6/sapi/cli/php_cli.c:1341
------------------------------------------------------------------------
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