Bug #14196 Updated: segmentation fault committing nothing

From: Date: Sat, 24 Nov 2001 19:52:53 +0000
Subject: Bug #14196 Updated: segmentation fault committing nothing
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71541@lists.php.net to get a copy of this message
ID: 14196 Updated by: sniper Reported By: hegyvari@ardents.hu Old Status: Open Status: Closed Bug Type: PostgreSQL related Operating System: Redhat 6.2 PHP Version: 4.0.6 New Comment: This should be fixed in PHP 4.1.0. Please try the RC like Markus asked already and if it segfaults too, reopen this bug report. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-11-23 09:42:42] hegyvari@ardents.hu To be clear, this is not a perfectly legal use of commit or rollback because a begin work statement should precede them. If begin work is used everything is fine. ------------------------------------------------------------------------ [2001-11-23 08:26:29] mfischer@php.net an you try with latest RC and see if it works http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Feedback. ------------------------------------------------------------------------ [2001-11-23 08:13:45] hegyvari@ardents.hu 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 this bug report at http://bugs.php.net/?id=14196&edit=1

« previous php.dev (#71541) next »