Bug #15269: Reproducible random segmentation fault when connecting to a database

From: Date: Tue, 29 Jan 2002 07:37:19 +0000
Subject: Bug #15269: Reproducible random segmentation fault when connecting to a database
Groups: php.dev 
Request: Send a blank email to php-dev+get-78424@lists.php.net to get a copy of this message
From:             zigazou@free.fr
Operating system: UnixWare 7.1.1
PHP version:      4.1.1
PHP Bug Type:     Informix related
Bug description:  Reproducible random segmentation fault when connecting to a database

Hi !

We are working with this :
- IBM NetFinity 5100, bi-processor Pentium III
- UnixWare 7.1.1 with loads of patches
- Apache 1.3.23 (also with 1.3.19)
- PHP 4.1.1 (also with 4.0.6)
- Informix SE 7.23.UC1
- ESQL/C 9.21.UC1
- GCC 2.95.2 19991024
- gmake 3.78.1
- Bison 1.32
- Microsoft Windows NT 4.0 SP5/Internet Explorer 5.0

We have regularly some "Segmentation fault" in the Apache error log with
this code :
<html><body>
<?
   $connection = ifx_connect("base@tcp", "user", "pwd");
?>
</body></html>

The connection can crashe once for approximately five good connection and
sometimes not at all for twenty.

We have placed this code in a .php file and we repeatedly do F5
(actualise) under Internet Explorer until we got the crash.

After checking in the Informix PHP module, we discovered that the crash
occured on the EXEC SQL CONNECT ... WITH CONCURRENT TRANSACTION statement,
but to no help.

Informix France was contacted but they've got no solution.
-- 
Edit bug report at: http://bugs.php.net/?id=15269&edit=1



Thread (2 messages)

« previous php.dev (#78424) next »