GNU bug report logs - #22301
25.1.50; Emacs crashes while lisp debugging

Previous Next

Package: emacs;

Reported by: Vincent Belaïche <vincentb1 <at> users.sourceforge.net>

Date: Sun, 3 Jan 2016 22:44:02 UTC

Severity: normal

Tags: moreinfo, wontfix

Found in version 25.1.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 22301 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincent Belaïche <vincentb1 <at> users.sourceforge.net>
Cc: 22301 <at> debbugs.gnu.org
Subject: Re: bug#22301: 25.1.50; Emacs crashes while lisp debugging
Date: Fri, 15 Jan 2016 10:12:50 +0200
> From: Vincent Belaïche <vincentb1 <at> users.sourceforge.net> 
> Cc: Vincent Belaïche <vincentb1 <at> users.sourceforge.net>  ,
>  22301 <at> debbugs.gnu.org
> Date: Fri, 15 Jan 2016 08:56:44 +0100
> 
> I had compiled with this line in the script launching it all:
> 
>   export CPPFLAGS="$CPPFLAGS -DFOR_MSW=1 -I ${HERE_DIR}/libXpm-3.5.8/include -I ${HERE_DIR}/libXpm-3.5.8/src -L ${HERE_DIR}/libXpm-3.5.8/src"
> 
> I will recompile with it modified as follows (-Og added):
> 
>   export CPPFLAGS="$CPPFLAGS -Og -DFOR_MSW=1 -I ${HERE_DIR}/libXpm-3.5.8/include -I ${HERE_DIR}/libXpm-3.5.8/src -L ${HERE_DIR}/libXpm-3.5.8/src"
> 
> Could you please confirm it is what you want before I go there.

Not -Og, -O0.  Also, it's wrong to put all these into CPPFLAGS, so I
suggest this instead (2 commands instead of one):

  export CPPFLAGS="$CPPFLAGS -DFOR_MSW=1 -I ${HERE_DIR}/libXpm-3.5.8/include -I ${HERE_DIR}/libXpm-3.5.8/src"
  export CFLAGS="$CFLAGS -O0 -g3 -L ${HERE_DIR}/libXpm-3.5.8/src"

> PS: BTW, it won't be the same Emacs source code as the one crashing
> anyway, because I did some git pull meanwhile. what shall I do with
> that, shouldn't I try another git pull to work on the latest src
> version, or should I try to get the same src as the one crashing by
> getting a work area revision bashed on crashing Eamcs version
> compilation date.

Using the latest sources is always TRT.  Thanks.




This bug report was last modified 8 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.