Index: /trunk/ChangeLog
===================================================================
--- /trunk/ChangeLog	(revision 1195)
+++ /trunk/ChangeLog	(revision 1196)
@@ -2,6 +2,7 @@
 ChangeLog
 ========
- * fixs crash when cache is too small on start up
- * fixs #290: workaround phpize vs fbsd make bug again
+ * fixes crash when cache is too small on start up
+ * fixes #295: crash using traits with PHP 5.4.8+
+ * fixes #290: workaround phpize vs fbsd make bug again
  * improve compatibility with "the ionCube PHP Loader", Zend Optimizer
  * fix random crash when cache is reinitialized yet failed (Thanks to Brad Baker for generating crash dump)
Index: /trunk/processor/processor.m4
===================================================================
--- /trunk/processor/processor.m4	(revision 1195)
+++ /trunk/processor/processor.m4	(revision 1196)
@@ -720,4 +720,9 @@
 		memcpy(dst, src, sizeof(src[0]));
 		dst->refcount[0] = 1000;
+#ifdef ZEND_ACC_ALIAS
+		if ((processor->active_class_entry_src && (processor->active_class_entry_src->ce_flags & ZEND_ACC_TRAIT))) {
+			PROC_ZSTRING(, function_name)
+		}
+#endif
 		/* deep */
 		STRUCT_P(HashTable, static_variables, HashTable_zval_ptr)
Index: /trunk/xcache_globals.h
===================================================================
--- /trunk/xcache_globals.h	(revision 1195)
+++ /trunk/xcache_globals.h	(revision 1196)
@@ -29,4 +29,7 @@
 
 	zend_llist gc_op_arrays;
+#ifdef ZEND_ACC_ALIAS
+	zend_llist gc_class_entries;
+#endif
 
 #ifdef HAVE_XCACHE_CONSTANT
