On 05/18/2014 11:19 AM, Jan Djärv wrote: >> Could you please check whether set-face-font hits one of the following extra easserts? >> > > ../../current/src/font.c:3311: Emacs fatal error: assertion failed: NILP (entity) || FONT_ENTITY_P (entity) > > (gdb) pp entity > [#] Hm... so font_matching_entity sometimes returns [#] instead of #. Something may be wrong with font cache or with font driver-specific match routine. An output of (frame-font-cache) looks correct, so let's check both cases with the following patch. My output looks like: font_matching_entity: matched entity nil font_matching_entity: matched entity # font_matching_entity: matched entity nil font_matching_entity: matched entity # font_matching_entity: matched entity nil font_matching_entity: matched entity # font_matching_entity: matched entity nil font_matching_entity: matched entity # font_matching_entity: matched entity nil and I do not see 1-item vectors here. Dmitry