Custom Query (311 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 311)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#15 fixed pcode cache does not work moo soff@…
Description

xcache.size = 64M xcache.count = 4 xcache.slots = 8K xcache.var_size = 0 xcache.var_count = 1 xcache.var_slots = 8K xcache.test = Off xcache.readonly_protection = Off xcache.mmap_path = "/tmp/xcache"

[12-Jun-2006 23:03:54] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0 [12-Jun-2006 23:03:54] PHP Fatal error: XCache: Cannot init in Unknown on line 0 [12-Jun-2006 23:03:54] PHP Fatal error: Unable to start XCache module in Unknown on line 0

#16 fixed segfault on startup if readonly protections is disabled moo jan
Description

If readonly protection is disabled a munmap(shm->ptr_ro, ...) is executed with ptr_ro = NULL.

Initializing shm->ptr_ro with XCACHE_MAP_FAILED is skipping the munmap().

--- mmap.c      2006-06-13 21:24:12.000000000 +0200
+++ mmap.c~     2006-06-05 08:43:25.000000000 +0200
@@ -153,7 +153,6 @@

        CHECK(shm = calloc(1, sizeof(xc_shm_t)), "shm OOM");
        shm->size = size;
-       shm->ptr_ro = XCACHE_MAP_FAILED;

        if (path == NULL || !path[0]) {
                static int inc = 0;
#19 fixed inheritance problem moo judas_iscariote
Description

Hi the following code produces wrong results and segfaults.

<?php

abstract class Foo {

protected function & a (){}

abstract function & b ();

}

class Bar extends Foo {

 protected function &a(){}

 public function &b()
 {
     $retval =& $this->a();
 }

}

$bar = new Bar();
$bar->b();
?>
  • Expected result :

Notice: Only variable references should be returned by reference in /srv/www/htdocs/bug2.php on line 13 Notice: Only variable references should be returned by reference in /srv/www/htdocs/bug2.php on line 18

  • Actual result :

at the first call : see expected result.

at the second call : Fatal error: Call to protected method Bar::a() from context 'Bar' in bug.php on line 17 and the apache child segfaults :(

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