|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-12-17 08:34 UTC] anton_bl at chat dot ru
interbase ibase_connect(...) - is not worked - has crashed php.exe in next operation at open database version php 4.1.0, 4.0.6 - error 4.0.5 - correctly worked if you change ibase_connect(...) -> ibase_pconnect(...) all worked correctly/ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 01:00:01 2025 UTC |
I can confirm this bug! Appears under Debian Linux too. One curious example: a simple php-script that reads all records of a db-table and echo's them works fine with e.g. table a,b and c. when I trie it with e.g. table d and e, PHP crashes with a segmentation fault in the apache-error-log. I used the following script: ########################################################### <html> <head> <title>PHP/InterBase test</title> </head> <body> <? $conn=ibase_pconnect ("localhost:/path/to/db-file.gdb", "user", "password"); if (!$conn) { echo "Acess Denied!<br>"; exit; } $result=ibase_query($conn, "select * from any_table"); if (!$result) { echo "<br>Error executing query select count!"; exit; } while ($row=ibase_fetch_row ($result)) { echo $row[0] . "<br>"; } ibase_close($conn); ?> </body> </html> It happens only with ibase_connect after the execution of the following ibase-function. ibase_pconnect seems to work fine. If more info is needed, feel free to contact me via email.