php.net |  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
Votes:1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 extension=ingres_ii.so,
the command php dumps core after giving EOF as thus:

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

Segmentation Fault (core dumped)
prompt>

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/libc.so.1
#2  0xff1a03e0 in _exithandle () from /usr/lib/libc.so.1
#3  0xff21a194 in exit () from /usr/lib/libc.so.1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 15:56 UTC] sniper@php.net
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..)

--Jani


 [2002-09-11 11:20 UTC] sniper@php.net
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: Thu Dec 26 20:01:29 2024 UTC