ID: 45209 Updated by: [EMAIL PROTECTED] Reported By: p dot elagin at gmail dot com -Status: Open +Status: Feedback Bug Type: PDO related Operating System: Linux ded-agr21463.ht-systems.ru PHP Version: 5.2.6 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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
