XCache opcode cacher doesn't support storing values of object and resource types in the cache. But Doctrine passes object data to the cache backend (for example, Class Metadata), which cause Apache to SEGFAULT on value retrieving attempt. Data should be serialized via serialize() function prior to storing, and deserialized via unserialize() after retrieving from cache.
Please find small patch with minor modifications to doFetch() and doSave() methods of XcacheCache class attached.
Jira issue originally created by user antenna:
XCache opcode cacher doesn't support storing values of object and resource types in the cache. But Doctrine passes object data to the cache backend (for example, Class Metadata), which cause Apache to SEGFAULT on value retrieving attempt. Data should be serialized via serialize() function prior to storing, and deserialized via unserialize() after retrieving from cache.
Please find small patch with minor modifications to doFetch() and doSave() methods of XcacheCache class attached.