Custom Query (297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 297)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#310 wontfix make test on xcache-3.0.1 fails moo dpalauzov
Description

I fresh unpacked xcache-3.0.1 directory, I do

$ phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 $ ./configure && make

$ make test

Build complete. Don't forget to run 'make test'.

===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 5.3.23 ZEND_VERSION: 2.3.0 PHP_OS : Linux - Linux aegeeserv 3.2.41 #1 SMP Wed Mar 20 20:37:15 GMT 2013 x86_64 INI actual : /mnt/new/src/http/xcache-3.0.1/tmp-php.ini More .INIs : CWD : /mnt/new/src/http/xcache-3.0.1 Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2013-06-07 19:30:49 ===================================================================== PASS include absolute path [tests/xcache_include_absolute.phpt] PASS include relative to current working dir [tests/xcache_include_relative_cwd.phpt] PASS include relative to current file [tests/xcache_include_relative_file.phpt] PASS xcache_is_autoglobal [tests/xcache_is_autoglobal.phpt] FAIL xcache_set/get test [tests/xcache_var.phpt] ===================================================================== TIME END 2013-06-07 19:30:50

===================================================================== TEST RESULT SUMMARY


Exts skipped : 0 Exts tested : 55


Number of tests : 5 5 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 ( 20.0%) ( 20.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 4 ( 80.0%) ( 80.0%)


Time taken : 1 seconds =====================================================================

===================================================================== FAILED TEST SUMMARY


xcache_set/get test [tests/xcache_var.phpt] =====================================================================

Any idea why the test files, and what more information to provide, in order to fix this?

#309 duplicate make test on xcache-2.0.1 fails moo dpalauzov
Description

I have PHP 5.3.23 (cli) (built: Mar 31 2013 22:31:50

make test on xcache 2.0.1 fails with Build complete. Don't forget to run 'make test'.

===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 5.3.23 ZEND_VERSION: 2.3.0 PHP_OS : Linux - Linux aegeeserv 3.2.41 #1 SMP Wed Mar 20 20:37:15 GMT 2013 x86_64 INI actual : /mnt/new/src/http/xcache-2.0.1/tmp-php.ini More .INIs : CWD : /mnt/new/src/http/xcache-2.0.1 Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2013-06-07 19:24:43 ===================================================================== PASS include absolute path [tests/xcache_include_absolute.phpt] PASS include relative to current working dir [tests/xcache_include_relative_cwd.phpt] PASS include relative to current file [tests/xcache_include_relative_file.phpt] PASS xcache_is_autoglobal [tests/xcache_is_autoglobal.phpt] FAIL xcache_set/get test [tests/xcache_var.phpt] ===================================================================== TIME END 2013-06-07 19:24:45

===================================================================== TEST RESULT SUMMARY


Exts skipped : 0 Exts tested : 54


Number of tests : 5 5 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 ( 20.0%) ( 20.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 4 ( 80.0%) ( 80.0%)


Time taken : 2 seconds =====================================================================

Do you need more information, and why does this test fail?

#307 fixed Segmentation Fault during startup. moo michael.y
Description

Good Afternoon!

When i tried to enable xcache-3.0.1 together with zend server(zend product) during issuing command: # php -m

I received a segmentation fault. After having a debug session which included going to the php source code and xcache source code i have concluded that before initiating startup of the xc_zend_startup and xc_cacher_zend_startup the zend extensions list was composed of:

  1. XCache
  2. ZendExtensionManager?(Inner zend extension manager)
  3. XCache Cacher.

Before PHP_MINIT_FUNCTION(xcache) is called the zend_llist already includes the

  1. ZendExtensionManager?. So during PHP_MINIT_FUNCTION(xcache) and PHP_MINIT_FUNCTION(xcache cacher) modifies this list which in the end causes segmentation fault.

I figured out why segmentation fault was happening. The zend_llist that would be suitable for us is

  1. XCache
  2. XCache Cacher
  3. ZendExtensionManager?.

For your consideration is a suggested patch of 2 functions PHP_MINIT_FUNCTION(xcache) and PHP_MINIT_FUNCTION(xcache cacher). During MINIT(xcache) the MINIT(xcache cacher is called) in which it prepends the cacher and later on in MINIT(xcache) the xcache prepends as well. So in the end the list before startup of all extensions is

  1. XCache
  2. XCache Cacher
  3. ZendExtensionManager?.

Is there a problem with that according to your design? File is attached in which 2 functions described.

Sincerely, Michael.

PS. I checked the APC opcode cache code they do not add themselves to the zend_llist.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.