php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2726 SIGSEGV (Segmentation fault)
Submitted: 1999-11-14 17:01 UTC Modified: 1999-12-21 11:30 UTC
From: damin at nacs dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.12 OS: Linux 2.2.12 (RedHat 6.0)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: damin at nacs dot net
New email:
PHP Version: OS:

 

 [1999-11-14 17:01 UTC] damin at nacs dot net
Date: Thu, 11 Nov 1999 00:31:07 -0500 (EST)
From: Greg Boehnlein <damin@nacs.net>
To: php-dev@lists.php.net
Subject: [PHP-DEV] Re: Bug #2596
 
Just to add a little more fule to the fire here..
 
OS: Linux 2.2.12
Dist: RedHat 6.0 w/ updated 6.1 Glibc (2.1.2)
PHP Version: 3.0.12
PHP Bug Type: Repoducable crash
Bug description: segfault on startup
 
I have the same problem that was described by xmatl@fi.muni.cz and also
has been reported to the Debian mailing lists as bug #43100
 
http://www.chiark.greenend.org.uk/debian/Bugs/db/43/43100.html
 
I'm using Apache 1.3.9 and I can build MySQL support without a problem.
However, when I build using "--with-openlink" for OpenLink driver support,
I get the same problem. Apache starts, forks off a sub process which
segfaults w/ the following errors;
 
25635 open("/etc/httpd/conf/php3.ini", O_RDONLY) = 6
25635 ioctl(6, TCGETS, 0xbfffcad8)      = -1 ENOTTY (Inappropriate ioctl for
device)
25635 read(6, "[PHP_3]\n\n;;;;;;;;;;;;;;;;;;;\n"..., 8192) = 8192
25635 read(6, "=\tOn\t; allow or prevent persis"..., 8192) = 3129
25635 read(6, "", 5063)                 = 0
25635 read(6, "", 8192)                 = 0
25635 ioctl(6, TCGETS, 0xbfffcac4)      = -1 ENOTTY (Inappropriate ioctl for
device)
25635 --- SIGSEGV (Segmentation fault) ---                                      
 
Here are the exact options that I am using to build..
 
./configure \
        --with-apxs=/usr/sbin/apxs \
        --prefix=/usr \
        --with-gd \
        --with-mysql \
        --with-openlink \
        --enable-safe-mode \
        --with-exec-dir=/usr/bin \
        --disable-short-tags \
        --with-zlib \
        --with-dbase \
        --with-filepro \
        --with-imap \
        --with-config-file-path=/etc/httpd/conf \
        --disable-debug \
        --enable-magic-quotes \
        --enable-debugger \
        --enable-bcmath \
        --enable-track-vars \
        --with-system-regex

Any helpful suggestions would be appreciated.
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-21 07:24 UTC] joey at cvs dot php dot net
User posted this fix:


Following steps were required to solve this problem on my systems, which
are both running RedHat 6.1

1. I updated to the latest libiodbc rpms, which can be found at:
http://195.153.164.12/software.htm

2. OpenLink has identified some potential problems with Glibc 2.1 and has 
responded by releasing their SDK binaries compiled for Glibc 2.1. These new
binaries were downloaded from:
http://195.153.164.12/opliodbc.htm

3. After removing any older, potentially conflicting iodbc related files, I rebuilt
my PHP module.

It now works fine. I am succesfully connecting to MS-SQL and MySQL w/ the same module. 
 [1999-12-21 11:30 UTC] rasmus at cvs dot php dot net
Forgot to close
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 22:01:34 2025 UTC