|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesibase_db_info.patch (last revision 2012-02-01 10:41 UTC by a dot lukyanov at hostcomm dot ru)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-02 05:29 UTC] mariuz@php.net
-Assigned To:
+Assigned To: mariuz
[2012-03-15 19:59 UTC] iliaa@php.net
[2012-03-15 19:59 UTC] iliaa@php.net
-Status: Assigned
+Status: Closed
[2012-03-15 19:59 UTC] iliaa@php.net
[2012-03-16 21:17 UTC] a dot lukyanov at hostcomm dot ru
[2012-03-16 21:17 UTC] a dot lukyanov at hostcomm dot ru
-Status: Closed
+Status: Assigned
[2012-03-23 07:16 UTC] mariuz@php.net
-Status: Assigned
+Status: Closed
[2012-03-23 07:16 UTC] mariuz@php.net
[2012-03-23 07:19 UTC] mariuz@php.net
-Status: Closed
+Status: Re-Opened
[2012-04-02 07:30 UTC] mariuz@php.net
[2012-04-02 07:30 UTC] mariuz@php.net
-Status: Re-Opened
+Status: Closed
[2012-04-18 09:45 UTC] laruence@php.net
[2012-07-24 23:36 UTC] rasmus@php.net
[2013-11-17 09:33 UTC] laruence@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 09:00:02 2025 UTC |
Description: ------------ All versions of PHP takes segmentation fault while executing ibase_db_info() function. I solved this problem and wrote patch. Please apply it. Thanks. Test script: --------------- <?php $resource = ibase_service_attach("localhost", "testvh11_fb1234", "fb1234"); echo ibase_db_info($resource, "testvh11_fb1234.fdb", IBASE_STS_HDR_PAGES); ?> Expected result: ---------------- testvh1 public_html # ./php-5.2.17/sapi/cli/php test.php Database "/var/lib/firebird/testvh11_fb1234.fdb" Database header page information: Flags 0 Checksum 12345 Generation 65 Page size 8192 ODS version 11.2 Oldest transaction 20 Oldest active 21 Oldest snapshot 21 Next transaction 26 Bumped transaction 1 Sequence number 0 Next attachment ID 38 Implementation ID 24 Shadow count 0 Page buffers 0 Next header page 0 Database dialect 3 Creation date Jan 30, 2012 15:10:47 Attributes force write Variable header data: *END* testvh1 public_html # Actual result: -------------- testvh1 public_html # php test.php Segmentation fault testvh1 public_html #