Custom Query (267 matches)
Results (31 - 33 of 267)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #37 | fixed | xcache_get SEGV using objects | moo | judas_iscariote |
| description |
PHP 5.1.6 xcache_get SEGV with objects. <?php
//php built in stdClass
xcache_set("foo" , new stdClass);
var_dump(xcache_get("foo"));
?>
well, I expect either and error if objects are not supported, or the actual stored object var_dump'ed but not a segv :) |
|||
| #39 | fixed | xcache.coveragedumper does not work in PHP_INI_PER_DIR or PHP_INI_ALL | moo | judas_iscariote |
| description |
xcache.coveragedumper have no effect in per-dir (.htaccess) or per script(ini_set()) setting, it only works when set in php.ini the test was conducted using apache 2.2.3 with php 5.1.6 + suhosin I expect it to work at least per-dir or this is a documentation problem ?? |
|||
| #40 | fixed | coverager crashes with SEGV | moo | judas_iscariote |
| description |
Well..as you can guess..Im testing the code coverage module now :) I get a crash while trying to coverage my own blog. atm I don't have reproduce code, I'll try to get a tiny script tomorrow. the crash is : Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47916271647968 (LWP 28759)]
0x00002b94605be5a7 in xc_coverager_init_op_array (op_array=0x0) at /home/cristian/xcache-trunk/coverager.c:319
319 if (op_array->type != ZEND_USER_FUNCTION) {
(gdb) bt full
#0 0x00002b94605be5a7 in xc_coverager_init_op_array (op_array=0x0) at /home/cristian/xcache-trunk/coverager.c:319
size = 0
cov = (coverager_t) 0x7fff4b7f8680
i = 32767
#1 0x00002b94605bcc60 in xc_apply_op_array (cr=0x7fff4b7f86a0, applyer=0x2b94605be597 <xc_coverager_init_op_array>)
at /home/cristian/xcache-trunk/utils.c:115
No locals.
#2 0x00002b94605be689 in xc_coverager_init_compile_result (op_array=0x0) at /home/cristian/xcache-trunk/coverager.c:344
cr = {alloc = 0, op_array = 0x0, function_table = 0x797a70, class_table = 0x797ac0}
#3 0x00002b94605be6df in xc_compile_file_for_coverage (h=0x7fff4b7f8710, type=2)
at /home/cristian/xcache-trunk/coverager.c:354
op_array = (zend_op_array *) 0x0
4 0x00000000005203bd in compile_filename ()
No symbol table info available.
#5 0x00000000005604ae in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER ()
No symbol table info available.
#6 0x0000000000558acc in execute ()
No symbol table info available.
#7 0x000000000056021a in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER ()
No symbol table info available.
#8 0x0000000000558acc in execute ()
No symbol table info available.
#9 0x000000000055e70a in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER ()
No symbol table info available.
#10 0x0000000000558acc in execute ()
No symbol table info available.
#11 0x000000000053a5de in zend_execute_scripts ()
No symbol table info available.
#12 0x00000000004fd31b in php_execute_script ()
No symbol table info available.
#13 0x00000000005bacc1 in main ()
No symbol table info available.
also there seems to be a minor logical "gotcha" in the code.(unrelated to this) --- coverager.c (revisión: 200)
+++ coverager.c (copia de trabajo)
@@ -55,7 +55,7 @@
#ifdef DEBUG
fprintf(stderr, "mkdir %s\n", fullpath);
#endif
-#if PHP_MAJOR_VERSION > 5
+#if PHP_MAJOR_VERSION >= 5
php_stream_mkdir(fullpath, 0700, REPORT_ERRORS, NULL);
#else
mkdir(fullpath, 0700);
|
|||

