Bug #14196: segmentation fault committing nothing
| From: | hegyvari at ardents dot hu | Date: | Fri, 23 Nov 2001 13:13:46 +0000 |
| Subject: | Bug #14196: segmentation fault committing nothing | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71471@lists.php.net to get a copy of this message | ||
From: hegyvari@ardents.hu
Operating system: Redhat 6.2
PHP version: 4.0.6
PHP Bug Type: PostgreSQL related
Bug description: segmentation fault committing nothing
Write something which makes an explicit commit before disconnecting from
postgres, but do not make any transactions. A notice is going to appear in
the postgresql log saying that a commit without transactions is made and
the same notice is going to appear in the apache error log as well. The
problem is that 5 times out of 10 Apache is also going to segfault. We had
this kind of "commit if no sql_error was recognized" in our system and
noticed the segfaults in the apache log. We removed the commit and all the
segfaults are gone from then on.
Postgresql 7.1.3. and PHP4.0.6.
'./configure' '--with-oci8'
'--with-apache=/coca/install/apache_1.3.22/'
'--enable-sigchild' '--enable-track-vars' '--with-mysql'
'--with-pgsql=/usr/local/pgsql'
--
Edit bug report at: http://bugs.php.net/?id=14196&edit=1