Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mu4e mark delete action freezes emacs #1028

Closed
amosbird opened this issue Feb 12, 2017 · 1 comment
Closed

mu4e mark delete action freezes emacs #1028

amosbird opened this issue Feb 12, 2017 · 1 comment

Comments

@amosbird
Copy link

Expected or desired behavior

no freezing

Actual behavior

emacs freezes for about 20 seconds. Here is the full stack trace of emacs when it's freezing,

#0  0x00007fb5617a27bf in __strchr_sse2 () at /usr/lib/libc.so.6
#1  0x00007fb5631a317e in  () at /usr/lib/libfontconfig.so.1
#2  0x00007fb5631a34df in  () at /usr/lib/libfontconfig.so.1
#3  0x00007fb56318d4b5 in  () at /usr/lib/libfontconfig.so.1
#4  0x00007fb56319b3c5 in  () at /usr/lib/libfontconfig.so.1
#5  0x00007fb56319b559 in FcFontSetList () at /usr/lib/libfontconfig.so.1
#6  0x00007fb56319be0d in FcFontList () at /usr/lib/libfontconfig.so.1
#7  0x00000000005bc45c in ftfont_lookup_cache (key=<optimized out>, cache_for=cache_for@entry=
    FTFONT_CACHE_FOR_CHARSET) at ftfont.c:419
#8  0x00000000005be70d in ftfont_get_fc_charset (entity=<optimized out>) at ftfont.c:448
#9  0x00000000005be70d in ftfont_has_char (font=<optimized out>, c=10060) at ftfont.c:1281
#10 0x00000000005747c2 in font_sort_entities (list=<optimized out>, prefer=13213549, f=f@entry=0x548c960, best_only=best_only@entry=10060) at font.c:2290
#11 0x0000000000574d5a in font_select_entity (c=10060, pixel_size=<optimized out>, attrs=0x4e43ff0, entities=<optimized out>, f=0x548c960) at font.c:3127
#12 0x0000000000574d5a in font_find_for_lface (f=f@entry=0x548c960, attrs=attrs@entry=0x4e43ff0, spec=<optimized out>, c=c@entry=10060) at font.c:3267
#13 0x00000000005c426d in fontset_find_font (fontset=<optimized out>, c=c@entry=10060, face=face@entry=0x4e43ff0, charset_id=charset_id@entry=-1, fallback=fallback@entry=false) at fontset.c:698
#14 0x00000000005c4582 in fontset_font (fontset=fontset@entry=197445637, c=c@entry=10060, face=face@entry=0x4e43ff0, id=-1) at fontset.c:776
#15 0x00000000005c5052 in face_for_char (f=0x548c960, face=face@entry=0x4e43ff0, c=10060, pos=<optimized out>, object=<optimized out>) at fontset.c:990
#16 0x0000000000442860 in FACE_FOR_CHAR (object=<optimized out>, pos=<optimized out>, character=<optimized out>, face=0x4e43ff0, f=<optimized out>) at dispextern.h:1850
#17 0x0000000000442860 in get_next_display_element (it=it@entry=0x7ffd33639f90) at xdisp.c:7196
#18 0x000000000044d928 in display_line (it=it@entry=0x7ffd33639f90) at xdisp.c:20704
#19 0x00000000004505c0 in try_window (window=window@entry=114521925, pos=..., flags=flags@entry=1) at xdisp.c:17373
#20 0x0000000000463fef in redisplay_window (window=114521925, just_this_one_p=just_this_one_p@entry=true)
    at xdisp.c:16821
#21 0x000000000046728e in redisplay_window_1 (window=window@entry=114521925) at xdisp.c:14590
#22 0x000000000055d4d6 in internal_condition_case_1 (bfun=bfun@entry=0x467260 <redisplay_window_1>, arg=114521925, handlers=<optimized out>, hfun=hfun@entry=0x42cb80 <redisplay_window_error>) at eval.c:1348
#23 0x0000000000454adf in redisplay_internal () at xdisp.c:14162
#24 0x0000000000456025 in redisplay () at xdisp.c:13296
#25 0x00000000004f6c5b in read_char (commandflag=commandflag@entry=1, map=map@entry=197471971, prev_event=0, used_mouse_menu=used_mouse_menu@entry=0x7ffd3363f31b, end_time=end_time@entry=0x0) at keyboard.c:2482
#26 0x00000000004f96df in read_key_sequence (keybuf=keybuf@entry=0x7ffd3363f3f0, prompt=prompt@entry=0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9109
#27 0x00000000004fb266 in command_loop_1 () at keyboard.c:1370
#28 0x000000000055d43e in internal_condition_case (bfun=bfun@entry=0x4fb060 <command_loop_1>, handlers=handlers@entry=19728, hfun=hfun@entry=0x4f22b0 <cmd_error>) at eval.c:1324
#29 0x00000000004ecf7c in command_loop_2 (ignore=ignore@entry=0) at keyboard.c:1112
#30 0x000000000055d3dc in internal_catch (tag=tag@entry=47184, func=func@entry=0x4ecf60 <command_loop_2>, arg=arg@entry=0) at eval.c:1091
#31 0x00000000004ecf39 in command_loop () at keyboard.c:1091
#32 0x00000000004f1eb3 in recursive_edit_1 () at keyboard.c:697
#33 0x00000000004f21eb in Frecursive_edit () at keyboard.c:768
#34 0x000000000041902c in main (argc=<optimized out>, argv=0x7ffd3363f768) at emacs.c:1688

This happens only at the first time calling mu4e-headers-mark-for-delete. Other mark actions don't have this problem. I feel it may be related to the mark symbol. Emacs also freezes when the first time I open mu4e-mark.el and see this unicode mark . So this may not technically be mu4e's problem. But anyway, I only encountered this issue using this package 😃

Steps to reproduce

Open emacs, call mu4e, call mu4e-headers-mark-for-delete .

Versions of mu, mu4e/emacs, operating system etc.

mu, 0.9.19
emacs, 26.0.50.6
archlinux

@djcb
Copy link
Owner

djcb commented Feb 12, 2017

Yeah, this seems like an emacs issue, please try M-x report-emacs-bug, thanks!

@djcb djcb closed this as completed Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants