all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: 32258@debbugs.gnu.org
Subject: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2]
Date: Tue, 24 Jul 2018 17:39:41 +0300	[thread overview]
Message-ID: <83va94vgsy.fsf@gnu.org> (raw)
In-Reply-To: <CAFyQvY2Mv0csf8T1bbCTcoRF09JBR5MAECs-FL9fM-MAJYCKPA@mail.gmail.com> (message from Kaushal Modi on Tue, 24 Jul 2018 09:36:10 -0400)

> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Tue, 24 Jul 2018 09:36:10 -0400
> 
> I need some help getting started with ignoring initial errors in gdb. Things seem to have changed from what I
> have in my notes.
> 
> From my notes, after:
> 
>     break Fsignal
>     r -Q
> 
> Below worked:
> 
> Breakpoint 3, Fsignal (error_symbol=41328, data=16185859) at eval.c:1471
> 1471        = (NILP (error_symbol) ? Fcar (data) : error_symbol);
> (gdb) p error_symbol
> $1 = 41328
> (gdb) xsymbol
> $2 = (struct Lisp_Symbol *) 0xc85aa0 <lispsym+41328>
> "scan-error"
> (gdb) condition 3 error_symbol!=41328
> (gdb) c
> 
> But now, I am getting this breakpoint:

You don't need to set breakpoints when you know Emacs will crash (or
abort due to an assertion violation, which has the same effect).  Just
run Emacs, and when the assertion violation happens, GDB will kick in
automatically, and you will be able to display the C backtrace, look
at related variables, etc.





  parent reply	other threads:[~2018-07-24 14:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-24 12:06 bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] Kaushal Modi
2018-07-24 13:36 ` Kaushal Modi
2018-07-24 13:52   ` Noam Postavsky
2018-07-24 13:59     ` Kaushal Modi
2018-07-24 14:39   ` Eli Zaretskii [this message]
2018-07-24 15:55     ` Kaushal Modi
2018-07-24 18:17       ` Eli Zaretskii
2018-07-24 18:26         ` Kaushal Modi
2018-07-24 18:55           ` Eli Zaretskii
2018-07-24 19:04             ` Kaushal Modi
2018-07-24 19:13               ` Eli Zaretskii
2018-07-24 19:35                 ` Kaushal Modi
2018-07-26 13:42                   ` Kaushal Modi
2018-07-26 17:59                     ` Eli Zaretskii
2018-07-26 18:07                       ` Kaushal Modi
2018-07-26 19:20                         ` Eli Zaretskii
2018-07-26 20:13                           ` Eli Zaretskii
2018-07-26 20:46                             ` Kaushal Modi
2018-08-01 19:21                               ` Kaushal Modi
2018-08-02 14:00                                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83va94vgsy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32258@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.