#27610 [Fbk->NoF]: Segmentation fault using large object functions with php-odbc & php-pgsql
| From: | iliaa@php.net | Date: | Tue, 30 Mar 2004 19:01:14 +0000 |
| Subject: | #27610 [Fbk->NoF]: Segmentation fault using large object functions with php-odbc & php-pgsql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57151@lists.php.net to get a copy of this message | ||
ID: 27610
Updated by: iliaa@php.net
Reported By: mark at lapcrew dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.3.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-03-24 07:48:10] 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-24 07:31:33] 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-15 16:46:07] iliaa@php.net
Please generate a backtrace of the crash.
------------------------------------------------------------------------
[2004-03-15 16:06:57] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27610&edit=1