Subject: Re: bug#17168: 24.3.50; Segfault at mark_object

From: Eli Zaretskii <[email-masked]>
Date: Wed, 02 Apr 2014 23:37:04 +0300

> Date: Wed, 02 Apr 2014 12:46:13 -0700
> From: Daniel Colascione <[email-masked]>
> Cc: [email-masked]
> 
> Nicolas, what is the bzr revision from which this Emacs was compiled?
> (Is there a way to get this information from a core other than just
> walking the symbol obarray?)

Like this:

  (gdb) p Fsymbol_value(intern("emacs-bzr-version"))
  $5 = 57020481
  (gdb) xtype
  Lisp_String
  (gdb) xstring
  $6 = (struct Lisp_String *) 0x3661040
  "116894 [email-masked]"

Alas, you cannot do this when debugging a core file, you need a
running program.