ID:               46660
 User updated by:  michael at laccetti dot com
 Reported By:      michael at laccetti dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Solaris 10 (SPARC)
 PHP Version:      5.2.6
 New Comment:

Well, I have a strange problem - when I turn --enable-debug on, the
crash stops crashing - everything works as expected.  If I turn it off,
it breaks again.  Without --enable-debug, I cannot create the backtrace.


Previous Comments:
------------------------------------------------------------------------

[2008-11-24 18:52:56] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2008-11-24 16:35:38] michael at laccetti dot com

Description:
------------
After calling a stored procedure that returns multiple resultsets,
trying to call mssql_next_result causes PHP to coredump.

Reproduce code:
---------------
$this->RecordSet = mssql_query($query, $this->DBConn );
if(mssql_next_result($this->RecordSet)) {
    error_log("We got more results!");
} else {
    error_log("No more results.  Waah.");
}

Expected result:
----------------
I expect to see either "We got more results" or "No more results. 
Waah." in the logs.

Actual result:
--------------
[Mon Nov 24 11:18:03 2008] [notice] child pid 5515 exit signal Bus
error (10), possible coredump in /usr/local/apache2


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46660&edit=1

Reply via email to