From:             
Operating system: FreeBSD 7.2 and 8.0
PHP version:      5.3.2
Package:          InterBase related
Bug Type:         Bug
Bug description:Segmentation fault: 11 (core dumped)

Description:
------------
The bug appears everywhere using interbase extension, also running make
test in 

the build directory, producing a core dump php.core. The valgrind output
is:



==94843== Jump to the invalid address stated on the next line

==94843==    at 0x1243810: ???

==94843==    by 0x375079: exit (in /lib/libc.so.7)

==94843==    by 0x81FE1FE: main (in /usr/local/bin/php)

==94843==  Address 0x1243810 is not stack'd, malloc'd or (recently) free'd



Further more, running make test, the test #7 FAILS.



Firebird installed from ports is:

firebird-client-2.0.3_3 Firebird-2 database client

firebird-server-2.0.3_3 Firebird-2 relational database (server)



# php -v

PHP 5.3.2 with Suhosin-Patch (cli) (built: May  3 2010 11:02:58)

Copyright (c) 1997-2009 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies





Test script:
---------------
Every script involving interbase. i.e.



<?php

$user = 'SYSDBA';

$password = 'masterkey';

ini_set('ibase.default_user',$user);

ini_set('ibase.default_password',$password);

$dbname = '/tmp/example.fdb';

$res = ibase_connect($dbname) or die(ibase_errmsg());

ibase_close($res) or die(ibase_errmsg());

?>




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

Reply via email to