php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59104 SIGBUS - Memory alignment problem on Solaris
Submitted: 2010-03-09 12:00 UTC Modified: 2010-03-30 03:16 UTC
From: grant dot croker at ingres dot com Assigned:
Status: Closed Package: ingres (PECL)
PHP Version: 5_2 SVN-2010-03-09 (dev) OS: Solaris
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: grant dot croker at ingres dot com
New email:
PHP Version: OS:

 

 [2010-03-09 12:00 UTC] grant dot croker at ingres dot com
Description:
------------
SIGBUS occurs when running the following code

Reproduce code:
---------------
$con = ingres_connect($db); //, $username, $pass);

$query = "SELECT bm.*
              FROM b_module bm
                INNER JOIN c_module_details cmd
                  ON (cmd.module_code = bm.module_code
                    AND cmd.module_version = bm.module_version)
              WHERE bm.ukc = ?
              ORDER BY module_code";

$res = ingres_query($con, $query, array("08000473"));

echo("fetching\n");//test

     while($res && ($row = ingres_fetch_array($res)))
     {  

echo("fetched\n");//test

        $rows[] = $row;
     }  


Expected result:
----------------
No SIGBUS

Actual result:
--------------
SIGBUS

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-30 03:16 UTC] grant dot croker at ingres dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 13:01:31 2025 UTC