Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2]

From: Eli Zaretskii <[email-masked]>
Date: Tue, 24 Jul 2018 21:55:07 +0300

> From: Kaushal Modi <[email-masked]>
> Date: Tue, 24 Jul 2018 14:26:18 -0400
> Cc: [email-masked]
> 
>  What exactly do you mean by "use emacsclient by default"?  Does
>  emacsclient start Emacs, or do you start Emacs as a daemon (or maybe
>  normally)?
> 
> I start Emacs using "emacsclient -a '' -n -c" when launching the first time, and then onwards using
> "emacsclient -a '' -n". I do this via a wrapper script[1].

Then start Emacs via emacsclient as you usually do, and then
immediately attach GDB to it with "gdb -p PID" where PID is the
process ID of the Emacs process (NOT the emacsclient process!).  When
GDB shows its prompt "(gdb)", type "continue RET" to let Emacs
continue to run.  Then do whatever you did before to cause the abort,
and GDB should kick in when you succeed.