ID:               44292
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lars dot a dot johansson at se dot atlascopco dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: linux
 PHP Version:      5.3CVS-2008-02-29 (snap)
 New Comment:

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.




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

[2008-02-29 13:33:35] lars dot a dot johansson at se dot atlascopco dot
com

Description:
------------
Hi,
2.6.17-5mdventerprise #1 SMP Wed Sep 13 14:50:48 EDT 2006 i686 Intel(R)
Pentium(R) 4 CPU 3.20GHz GNU/Linux

Running the below in 5.2 works OK.

My snap is php5.3-200802231330.
I try to run a BAPI in a SAP system using SAPRFC
http://saprfc.sourceforge.net/

I put in the print "NEWFUNCTION" stmts to see how far I get.

function NewFunction ($name)
      {
print "NEWFUNCTION0\n";
          $ix = count ($this->fceList);
          $this->fceList[$ix] = new SAPFunction();
print "NEWFUNCTION1\n";
          $rc = $this->fceList[$ix]->Discover
($this->rfc,strtoupper($name));
print "NEWFUNCTION3\n";
          if ($rc != SAPRFC_OK) {
              $this->fceList[$ix]->Close();
              unset ($this->fceList[$ix]);
              return (false);
          }
print "NEWFUNCTION9\n";
          return ($this->fceList[$ix]);
      }





Reproduce code:
---------------
Its not trivial to supply code to reproduce this bug. If anyone is
willing to dig into this please tell me how I should trace my problem,
and I hand over the result.

Expected result:
----------------
print "NEWFUNCTION0\n";  
print "NEWFUNCTION1\n";
print "NEWFUNCTION3\n";
print "NEWFUNCTION9\n";


Actual result:
--------------
NEWFUNCTION0
NEWFUNCTION1
Segmentation fault



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


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

Reply via email to