I had emacs running under gdb in order to catch reoccurrences of debbugs.gnu.org/cgi/bugreport.cgi?bug=22120, when I got this segfault; it doesn't seem (to me) related to #22120.

I think I had just done M-x dired.