ID: 26043
Updated by: [EMAIL PROTECTED]
Reported By: dqj at requesttech dot com
-Status: Closed
+Status: Open
Bug Type: PostgreSQL related
Operating System: Redhat 9.0
PHP Version: 4.3.3
New Comment:
Sorry. Didn't mean to close the bug.
Previous Comments:
------------------------------------------------------------------------
[2003-11-26 17:57:50] [EMAIL PROTECTED]
This crash happens only when pgsql and odbc modules are installed and
enabled together.
------------------------------------------------------------------------
[2003-11-26 17:18:40] [EMAIL PROTECTED]
It's not just pg_lo_import, but also pg_lo_create. The backtrace is as
follows:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226627936 (LWP 28034)]
0xb69f7987 in CC_send_function () from /usr/lib/libodbcpsql.so.2
(gdb) where
#0 0xb69f7987 in CC_send_function () from /usr/lib/libodbcpsql.so.2
#1 0xb6a06940 in lo_creat () from /usr/lib/libodbcpsql.so.2
#2 0xb69c6c23 in lo_import () from /usr/lib/libpq.so.3
#3 0xb69e4121 in zif_pg_lo_import (ht=2, return_value=0x8307424,
this_ptr=0x0, return_value_used=1)
at /usr/src/debug/php-4.3.2/ext/pgsql/pgsql.c:2099
#4 0xb697a542 in zend_assign_to_variable_reference ()
from /usr/local/Zend/lib/Optimizer-2.1.0/php-4.3.x/ZendOptimizer.so
#5 0x00000002 in ?? ()
#6 0x08307424 in ?? ()
I can't tell yet whether this is a bug in PHP or in the pgsqlodbc
libraries.
This backtrace is using the cli version of PHP on the test script
provided (modified for my database).
------------------------------------------------------------------------
[2003-11-02 16:16:30] [EMAIL PROTECTED]
Cannot replicate using latest CVS.
------------------------------------------------------------------------
[2003-10-31 20:49:06] dqj at requesttech dot com
Thank you! To make it really simple and rule out file contents
problems, I just did:
% echo "1" > /tmp/dqj.tmp
to create the file.
It also had failed with a .wav file prior to that.
------------------------------------------------------------------------
[2003-10-31 16:45:17] [EMAIL PROTECTED]
if you can provide the file used to replicate the crash, it may be
possible for us to test and see if the issue was in fact resolved.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26043
--
Edit this bug report at http://bugs.php.net/?id=26043&edit=1