|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17802 php dumps core with ingres extension, not without
Submitted: 2002-06-17 11:18 UTC Modified: 2002-09-11 11:20 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: H dot F dot Schouten at hhs dot nl Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.2.1 OS: Solaris 2.7
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: H dot F dot Schouten at hhs dot nl
New email:
PHP Version: OS:


 [2002-06-17 11:18 UTC] H dot F dot Schouten at hhs dot nl
I have build php-4.2.1 with configure as follows:
./configure --prefix=/test/php-4.2.1 --with-config-file-path=/test/php-4.2.1 --with-mysql=/test/mysql --with-ingres=shared,/usr/local/OI/ingres --enable-trans-sid

When I add in php.ini the line,
the command php dumps core after giving EOF as thus:

prompt> php
X-Powered-By: PHP/4.2.1
Content-type: text/html

Segmentation Fault (core dumped)

Running a php-script with ingres commands works fine, but also ends with a core dump.

Without the ingres extension line no core is dumped...

gdb gives the following backtrace:
(gdb) where
#0  0xfef8ff74 in ?? ()
#1  0xff1d6840 in keys_destruct () from /usr/lib/
#2  0xff1a03e0 in _exithandle () from /usr/lib/
#3  0xff21a194 in exit () from /usr/lib/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 15:56 UTC]
Does it crash if you compile the Ingres extension as static?

And to generate a useful backtrace, you have to compile PHP
with --enable-debug too. Otherwise the trace is useless.
(to get backtrace, use 'bt' btw..)


 [2002-09-11 11:20 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 19:01:28 2024 UTC