Opened 7 years ago

Closed 5 years ago

#178 closed defect (fixed)

mmap crashing php

Reported by: xsawyerx@… Owned by: moo
Priority: major Milestone: 1.3.0
Component: cacher Version: 1.2.1
Keywords: segfault Cc:
Application: PHP Version: 5.2.6
Other Exts: SAPI: Irrelevant
Probability: Sometimes Blocked By:
Blocking:

Description

When using xcache, if the kernel does not support enough size for xcache to use (mmap) and php defines it should indeed use that certain amount of size which is insufficient, it will cause a segmentation fault when PHP binary starts.

Also, there's a spelling error on mmap.c (line 209) in which it says "mappping" instead of "mapping" :)

Change History (2)

comment:1 Changed 7 years ago by moo

sorry for my bad English, but what did u mean by "php defines it should indeed use that certain amount of size which is insufficient"?

comment:2 Changed 5 years ago by moo

  • Milestone changed from 1.3.1 to 1.3.0
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.