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

From: Daniel Colascione <[email-masked]>
Date: Wed, 02 Apr 2014 13:40:06 -0700

On 04/02/2014 01:37 PM, Eli Zaretskii wrote:
>> 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.

I was afraid of that. Would you object to declaring
emacs-repository-version in C so that we can find it more easily in core
dumps?