Ashish SHUKLA wrote: > So, looks like you're right it only happens with X11 (Gtk3) build Please try the attached patch, which I've installed in the Emacs master. It should work around the bug in FreeBSD 10.1 getenv that was identified in .