ID:               45209
 Comment by:       p dot elagin at gmail dot com
 Reported By:      p dot elagin at gmail dot com
 Status:           No Feedback
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      5.2.6
 Assigned To:      fb-req-jani
 New Comment:

(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


Previous Comments:
------------------------------------------------------------------------

[2008-07-29 01:00:01] 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".

------------------------------------------------------------------------

[2008-07-21 20:33:11] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

[2008-06-08 13:27:24] p dot elagin at gmail dot com

i disable eAccelerator and Xdebug 

but seg fault exists

------------------------------------------------------------------------

[2008-06-08 13:22:54] p dot elagin at gmail dot com

"To get a backtrace with correct information you must have PHP
configured with --enable-debug!"
i cant reinstall ( on this server, i can show strace 

strace -o test-pdo.txt php test-pdo.php
___
ls -la 
-rw-r--r-- 1 root root 112248 zzz  8 17:22 test-pdo.txt

last rows in this file (i can send email or post to this)

......
munmap(0x2aab739e1000, 2239664)         = 0
munmap(0x2aab735b8000, 2198712)         = 0
munmap(0x2aab73180000, 2104904)         = 0
munmap(0x2aab7338b000, 2280128)         = 0
munmap(0x2aab72c37000, 2132936)         = 0
munmap(0x2aab72e49000, 1244576)         = 0
munmap(0x2aab72f79000, 2123712)         = 0
munmap(0x2aab71238000, 2226584)         = 0
munmap(0x2aab71461000, 2379400)         = 0
munmap(0x2aab716a6000, 2465576)         = 0
munmap(0x2aab723dd000, 2292136)         = 0
munmap(0x2aab71900000, 2608800)         = 0
munmap(0x2aab71d86000, 2164464)         = 0
munmap(0x2aab71b7d000, 2133536)         = 0
munmap(0x2aab71f97000, 2242640)         = 0
munmap(0x2aab721bb000, 2234584)         = 0
munmap(0x2aab7260d000, 2105112)         = 0
munmap(0x2aab7280f000, 2115360)         = 0
munmap(0x2aab72a14000, 2236448)         = 0
munmap(0x2aab71014000, 2243872)         = 0
munmap(0x2aab70e05000, 2154816)         = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

......

------------------------------------------------------------------------

[2008-06-08 12:51:03] p dot elagin at gmail dot com

Description:
------------
when script exit i get segmentation fault Error

i create instanse of PDO object (use DNS - PGSQL)

if i use another driver (SQLITE), no segmentation fault when i exit


Reproduce code:
---------------
/* Version PHP */
> php -v

PHP 5.2.6-1 with Suhosin-Patch 0.9.6.2 (cli) (built: May  4 2008
19:41:04)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator,
by eAccelerator
    with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans

/* Test Script PHP */
> cat test-do.php

<?
$PGDB = new PDO( 'pgsql:user=html host=localhost dbname=***
password=*****' );
////$PGDB = new PDO( 'pgsql:host=localhost dbname=*******', 'html',
'*******' );
//$PGDB = null;
//unset( $PGDB );
die;

?>

/* Run Script PHP */
> php test-pdo.php 
 segmentation fault  php test-pdo.php

Expected result:
----------------
segmentation fault

Actual result:
--------------
no seg fault , when exit


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45209&edit=1

Reply via email to