Custom Query (313 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 313)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#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

#339 invalid xache3.1.0 Repeat pop-up window requires authentication moo RucLinux
Description

My e-mail address: jiayublog#foxmail.com I can not log xcache3.1.0 management panel.Enter the correct user name and password are constantly requires authentication pop-up window, can not log in normally.User names and passwords are accurate.

#wget http://xcache.lighttpd.net/pub/Releases/3.1.0/xcache-3.1.0.tar.gz
#tar -zxvf xcache-3.1.0.tar.gz
#cd xcache-3.1.0
#phpize
#./configure -with-php-config=/usr/bin/php-config -enable-xcache -enable-xcache-coverager -enable-inline-optimization -disable-debug
#make && make install
#vi /etc/php.d/xcache.ini
[xcache-common]
zend_extension = /usr/lib/php/modules/xcache.so
[xcache.admin]
xcache.admin.enable_auth = On
xcache.admin.user = "admin"
xcache.admin.pass = md5($pass)

#cp -ar htdocs /www/root/
#service php-fpm restart
#service httpd restart
#php -v
PHP 5.4.24 (cli) (built: Jan 10 2014 18:37:23) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo

http://Domain/htdocs/index.php
XCache Authentication Failed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.