|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15269 Reproducible random segmentation fault when connecting to a database
Submitted: 2002-01-29 02:37 UTC Modified: 2002-02-05 11:46 UTC
From: zigazou at free dot fr Assigned:
Status: Closed Package: Informix related
PHP Version: 4.1.1 OS: UnixWare 7.1.1
Private report: No CVE-ID: None
 [2002-01-29 02:37 UTC] zigazou at free dot fr
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 :
   $connection = ifx_connect("base@tcp", "user", "pwd");

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-05 11:46 UTC] zigazou at free dot fr
It's a UnixWare problem, not a PHP one.
To fix it, just install these PTF files given by Caldera on their web site :
- set71101 (Maintenance set)
- ptf7701b
- ptf7715b
- ptf7716a
- ptf7717a
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 02:01:32 2024 UTC