Opened 5 years ago
Closed 4 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: | |
| 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 (2)
comment:1 Changed 5 years ago by moo
comment:2 Changed 4 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.


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"?