Subject: bug#16069: Sigsegv, libxft, emacs --daemon, emacsclient

From: Dmitry Antipov <[email-masked]>
Date: Mon, 16 Dec 2013 11:56:14 +0400

On 12/06/2013 12:50 PM, Constantin Kulikov wrote:

> In the first terminal(emacs):
>
> # emacs -Q --daemon=exp
> ("emacs")
> Starting Emacs daemon.
>
> # ps -A | grep emacs
> 21880 ?        00:00:00 emacs
>
>
> In the second terminal(gdb):
>
> # sudo gdb
> (gdb) attach 21880
> (gdb) continue
> Continuing.
>
>
> In the first terminal(emacs):
>
> # emacsclient -s exp -c
>
> In the emacsclient's frame:
> C-x C-c
>
>
> In the first terminal(emacs):
> # emacsclient -s exp -c
>
> In the emacsclient's frame:
> C-x C-c
>
>
> In the second terminal(gdb):
>
> [New Thread 0x7f6eee24d700 (LWP 22531)]
> [New Thread 0x7f6eeda4c700 (LWP 22532)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007f6efa29cd15 in ?? () from /usr/lib/libXft.so.2

I've tried this recipe a few times, but unsuccessfully.

Anyway, please try to upgrade to trunk >= r115541 (now there is
a check whether 'Display *' pointer in font objects is still in use).

Dmitry