#47048 [NEW]: php5-pgsql segfaults with new pg_meta_data

2009-01-09 Thread ml-php dot net at bettercom dot de
From: ml-php dot net at bettercom dot de
Operating system: FreeBSD 7.0-RELEASE
PHP version:  5.2.8
PHP Bug Type: PostgreSQL related
Bug description:  php5-pgsql segfaults with new pg_meta_data

Description:

The last changes php_pgsql_meta_data cause segfaults in client and 
mod_php5

Reproduce code:
---



Actual result:
--
(gdb) bt
#0  0x28606b20 in php_pgsql_meta_data () 
from /usr/local/lib/php/20060613/pgsql.so
#1  0x2860c49b in zif_pg_meta_data () 
from /usr/local/lib/php/20060613/pgsql.so
#2  0x0818be08 in zend_do_fcall_common_helper_SPEC ()
#3  0x0817d639 in execute ()
#4  0x0815ffc2 in zend_execute_scripts ()
#5  0x0811e7b5 in php_execute_script ()
#6  0x081db5e7 in main ()


-- 
Edit bug report at http://bugs.php.net/?id=47048&edit=1
-- 
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=47048&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=47048&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=47048&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=47048&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47048&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=47048&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=47048&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=47048&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=47048&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=47048&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=47048&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=47048&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=47048&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=47048&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=47048&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=47048&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=47048&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=47048&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=47048&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=47048&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=47048&r=mysqlcfg



#47048 [Fbk->Opn]: php5-pgsql segfaults with new pg_meta_data

2009-01-13 Thread ml-php dot net at bettercom dot de
 ID:   47048
 User updated by:  ml-php dot net at bettercom dot de
 Reported By:  ml-php dot net at bettercom dot de
-Status:   Feedback
+Status:   Open
 Bug Type: PostgreSQL related
 Operating System: FreeBSD 7.0-RELEASE
 PHP Version:  5.2.8
 New Comment:

postgres-8.3.5 is the version I'm using here (server & libs)


Previous Comments:


[2009-01-13 18:36:06] il...@php.net

What version of PostgreSQL library & server are you using?



[2009-01-10 20:57:22] fel...@php.net

I can't reproduce it on Linux.

PostgreSQL Support => enabled
PostgreSQL(libpq) Version => 8.3.5
Multibyte character support => enabled
SSL support => enabled
Active Persistent Links => 0
Active Links => 0


------------

[2009-01-09 11:38:06] ml-php dot net at bettercom dot de

Description:

The last changes php_pgsql_meta_data cause segfaults in client and 
mod_php5

Reproduce code:
---



Actual result:
--
(gdb) bt
#0  0x28606b20 in php_pgsql_meta_data () 
from /usr/local/lib/php/20060613/pgsql.so
#1  0x2860c49b in zif_pg_meta_data () 
from /usr/local/lib/php/20060613/pgsql.so
#2  0x0818be08 in zend_do_fcall_common_helper_SPEC ()
#3  0x0817d639 in execute ()
#4  0x0815ffc2 in zend_execute_scripts ()
#5  0x0811e7b5 in php_execute_script ()
#6  0x081db5e7 in main ()






-- 
Edit this bug report at http://bugs.php.net/?id=47048&edit=1