ID: 50478 Updated by: il...@php.net Reported By: nmorozov at atlas-print dot ru -Status: Open +Status: Feedback Bug Type: InterBase related Operating System: FreeBSD 7.x/8.x PHP Version: 5.3.1 New Comment:
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 for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 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. Previous Comments: ------------------------------------------------------------------------ [2009-12-15 11:16:31] nmorozov at atlas-print dot ru Description: ------------ Im using FreeBSD 8.0 the result on 7.x is the same My Firebird client version is 2.0.3 server have Yaffil (Firebird 1.5 modification) Trying to connect using ibase_connect($database,$user,$pass,'WIN1251','100','3') make a segmentation fault into apache 2.2.14 log script produce nothing Trying to use PDO $conn = new PDO("firebird:dbname=".$database,$user,$pass); this produce the same trash Some time ago a have an earlier version on PHP and Firebird client 1.5.3 and have no problem. But it is not a firebird problem because my C program that communicates with firebird have no problem. Trying to resolv it, I try to fix it myself editing ext/interbase/interbase.c First i comment isc_attach_db function, and the is no more faults. The next i rewrite the _php_ibase_attach_db function the same way that I use in my C code, but i change nothing. Possible Error is in the data manipulation after connection because structures changed to version 2.0/2.1 PS. Maybe I need to repost it as and PDO bug also ? Reproduce code: --------------- ibase_connect($database,$user,$pass,'WIN1251','100','3') $conn = new PDO("firebird:dbname=".$database,$user,$pass); Actual result: -------------- segmentation fault in apache 2.2.14 log ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50478&edit=1