php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58976 SEGV when fetching data from a row generating procedure
Submitted: 2009-12-04 05:13 UTC Modified: 2010-05-26 11:01 UTC
From: grant dot croker at ingres dot com Assigned:
Status: Closed Package: ingres (PECL)
PHP Version: 5.2.11 OS: Linux
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:

 

 [2009-12-04 05:13 UTC] grant dot croker at ingres dot com
Description:
------------
Fetching data from a row-producing procedure causes a SEGV.

Reproduce code:
---------------
See http://ingres.pastebin.com/f5e3a9173

Expected result:
----------------
Not SEGV

Actual result:
--------------
Backtrace generated

#0  0xb7899422 in __kernel_vsyscall ()
#1  0xb75397a6 in kill () from /lib/tls/i686/cmov/libc.so.6
#2  0xb71fa776 in EXsignal () from /opt/Ingres/R3/ingres/lib/libcompat.1.so
#3  0xb71fa52f in i_EXcatch () from /opt/Ingres/R3/ingres/lib/libcompat.1.so
#4  <signal handler called>
#5  0xb6ef5adf in IIapi_isStmtHndl (stmtHndl=0x72676e69) at /devsrc/ingres2006r3/b143/src/common/aif/aip/apishndl.c:440
#6  0xb6ed6f0e in IIapi_cancel (cancelParm=0xbfa6ab08) at /devsrc/ingres2006r3/b143/src/common/aif/aip/apicancl.c:139
#7  0xb72f1b4c in _close_statement (ii_result=0x94738b8, tsrm_ls=0x9279070) at /home/grant/src/svn/php/pecl/ingres/trunk/ingres.c:413
#8  0xb72f25fe in _free_ii_link_result_list (ii_link=0x9472bb8, tsrm_ls=0x9279070) at /home/grant/src/svn/php/pecl/ingres/trunk/ingres.c:752
#9  0xb72fdd2b in zif_ingres_commit (ht=1, return_value=0x9440800, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0x9279070)
    at /home/grant/src/svn/php/pecl/ingres/trunk/ingres.c:4690


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-26 11:01 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: Sun Jan 05 07:01:27 2025 UTC