Ticket #178 (new defect)

Opened 5 months ago

Last modified 5 months ago

mmap crashing php

Reported by: xsawyerx@… Owned by: moo
Priority: major Milestone: 1.3.0
Component: cacher Version: 1.2.1
Keywords: segfault Cc:
Blocked By: PHP Version: 5.2.6
Application: Need User Feedback: no
Other Exts: SAPI: Irrelevant
Probability: Sometimes 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

Changed 5 months 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"?

Note: See TracTickets for help on using tickets.