[xdebug-dev] Bug 0000083: More than 20 parameters functions make xdebug crashes

From: <xdebug-dev[@]lists.xdebug.org>
Date: Mon, 2 Aug 2004 12:15:46 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000083
======================================================================
Reporter: mathieu
Handler:
======================================================================
Project: Xdebug
Bug ID: 83
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: new
Operating System: Linux
PHP Version: 4.3.7
Xdebug Version: 1.3.2
======================================================================
Date Submitted: 2004-08-02 12:15 CEST
Last Modified: 2004-08-02 12:15 CEST
======================================================================
Summary: More than 20 parameters functions make xdebug crashes
Description:
-------------- Script 1 ----------------
<?
   function a()
   {
      return true ;
   }

   a( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ) ;

   echo "This message won't be printed\n" ;
?>

No apache response :
[mathieu[@]localhost test]$ netcat 192.168.0.4 80
GET http://192.168.0.4/ubi/test.php
[mathieu[@]localhost test]$

-------------- Script 2 ----------------

<?
   function a()
   {
      return true ;
   }

   a( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ) ;

   echo "This message will be printed\n" ;
?>

Apache output :
[mathieu[@]localhost test]$ netcat 192.168.0.4 80
GET http://192.168.0.4/ubi/test.php
This message will be printed
[mathieu[@]localhost test]$

Both of these tests work well when xdebug is not activated in php.ini. It
makes me think you allocate statically something with a 20 value. Or you
talked about a limit and I didn't see it.

Hope it can help you

Mathieu

======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2004-08-02 12:15mathieu New Bug
======================================================================
Received on Mon Aug 02 2004 - 12:15:48 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST