php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27610 Segmentation fault using large object functions with php-odbc & php-pgsql
Submitted: 2004-03-15 16:06 UTC Modified: 2004-03-30 14:01 UTC
From: mark at lapcrew dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.4 OS: Linux
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: mark at lapcrew dot com
New email:
PHP Version: OS:

 

 [2004-03-15 16:06 UTC] mark at lapcrew dot com
Description:
------------
When both php-odbc & php-pgsql are installed an attempt to read data thru the pg_lo_read_all() function causes a segmentation fault. Removing the php-odbc module eliminated the problem. The following setup is being used

Linux 2.6.1
Apache 2.0.48
PHP 4.3.4
PostgreSQL 7.4.1

Reproduce code:
---------------
Load both the php-odbc & php-pgsql module and attempt to read large object data from a PostgreSQL database using pg_lo_read_all(). Run from the command line to see the segmentation fault error, or look in the apache error log


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-15 16:46 UTC] iliaa@php.net
Please generate a backtrace of the crash. 
 [2004-03-24 07:31 UTC] mark at lapcrew dot com
Can you point me in the right direction on how to generate the a backtrace, an example or a howto site. Thanks
 [2004-03-24 07:48 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

We have a nice "quick fix" for this, but Ilia didn't use it... so here it is :-)
 [2004-03-30 14:01 UTC] iliaa@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: Sun May 12 14:01:34 2024 UTC