Custom Query (311 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 311)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#87 wontfix Zend/tests/bug35634.phpt is failing currenlty moo judas_iscariote
Description

that's it Zend/tests/bug35634.phpt is failing (copied here for convenience)

<?php
if (defined("pass3")) {

  class ErrorClass {
  }

} else if (defined("pass2")) {

  class TestClass {
    function __construct() {
    }
    function TestClass() {
      $this->__construct();
    }
  }

} else {

  function errorHandler($errorNumber, $errorMessage, $fileName, $lineNumber) {
    define("pass3", 1);
    include(__FILE__);
    die("Error: $errorMessage ($fileName:$lineNumber)\n");
  }

  set_error_handler('errorHandler');
  define("pass2", 1);
  include(__FILE__);
}
?>

Expected: Error-, Redefining already defined constructor for class TestClass?

actual result with only with xcache loaded:

Nothing, blank page. ( remember to set error_reporting=0 in php.ini or just run the php test suite)

#45 fixed xc_coverager_get_op_array_size_no_tail crash when size reaches 0 moo judas_iscariote
Description

Im getting a crash there...

a quick looks says :

seems when op_array->size is 2 ..

static int xc_coverager_get_op_array_size_no_tail(zend_op_array *op_array) /* {{{ */
{
        zend_uint size;

        size = op_array->size;

#ifdef ZEND_ENGINE_2
        if (op_array->opcodes[size - 1].opcode == ZEND_HANDLE_EXCEPTION) {
                size --;
                 //size is 1 now
#endif
                if (op_array->opcodes[size - 1].opcode == ZEND_RETURN) {
                        size --;
                        //size is 0 now
                        /* it's not real php statement */
                        // crash here I guess is 'cause - 1 underflow zend_uint right ?
                        if (op_array->opcodes[size - 1].opcode == ZEND_EXT_STMT) {
                                size --;
                        }
                }
#ifdef ZEND_ENGINE_2
        }
#endif
        return size;
}
#4 fixed xc_coveragedump_dir definition missing in xcache.c somebody rene@…
Description

Missing definition results in error message

"PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/xcache.so' - /usr/lib/php5/20051025/xcache.so: undefined symbol: xc_coveragedump_dir in Unknown on line 0"

when checking with "php-cgi -v".

Solution:

Prepend

char *xc_coveragedump_dir = NULL;

in xcache.c

Greetings Rene Schmidt

1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.