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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC