ID:               32537
 User updated by:  mauroi at digbang dot com
 Reported By:      mauroi at digbang dot com
-Status:           No Feedback
+Status:           Closed
 Bug Type:         PostgreSQL related
 Operating System: Linux
 PHP Version:      5.0.3
 New Comment:

Sorry for the lack of feedback. Since the bug can be ommited by
removing the rollback statement from the destructor, i don't have the
time to do further tests.


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

[2005-04-23 16:16:45] edvin at kkg dot lt

Same problem under php 5.0.4 and postgres 8.0.2.
Sample code,who causes segfault:

class db
{
function connect(){
$this->db = pg_connect($this->conn);
 if (!$this->db) {
        $this->ErrorMsg('cannot connect to db');
        }
}

function ErrorMsg($ErrDescription)
        {
                $this->sql("ROLLBACK"); /* if this line commented,all going OK 
*/
                $this->disconnect();
                die("Error<br>$ErrDescription");
        }
}

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

[2005-04-12 01:00:06] 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".

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

[2005-04-05 00:08:15] [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

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.



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

[2005-04-05 00:03:19] mauroi at digbang dot com

same result...

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

[2005-04-03 03:24:16] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip



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

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/32537

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

Reply via email to