php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zigazou at free dot fr
New email:
PHP Version: OS:

 

 [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 :
<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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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 Apr 26 04:01:30 2024 UTC