delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/28/21:46:53

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC4C6384B061
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1603935963;
bh=pc4h7fq1VwXsXpMisgFlQ+KdTLAdgcqnWB37s77PWgA=;
h=In-Reply-To:References:Date:To:Subject:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=xjJvLCg72OIGSKec8s1VPfAtXW4VddU7+JdgPi3TKkrz3NNhvYAkv1RxVAf9XFpTH
mUI+jIpJZQp/zyAggCxUnEx/p/CpygdUvmOaPIw5o8kcsisIvSDyPgexwGw90CSTyE
VFHpqoewfbRjDat9jp//T4ixkZ6lGoChWFH+PWs0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7C9423858012
X-ME-Sender: <xms:1B6aX1BZFiXVGEu8yGY4-JyQsWHILaGe2uecNmEGy-JS8oGurAdRUg>
<xme:1B6aXzgDeNwH2noA77XLxeJLdIU7BHr1BQ2Yfkc4PPJf6MumOT_fv9OAo5srr6GNT
pOR0rXYXKGzVA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrledvgdeihecutefuodetggdotefrodftvf
curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpehnohhoshhp
hhgvrhgvsehmrghilhgtrdhnvghtnecuggftrfgrthhtvghrnhepfeduhefhieeugfekue
dtgfduudejgeefffejgefgudelgeduveejiefgkeevvdeinecuffhomhgrihhnpehgnhhu
rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh
epnhhoohhsphhhvghrvgesmhgrihhltgdrnhgvth
X-ME-Proxy: <xmx:1B6aXwkH_jB-Fa-hQ1KFVMvPVPLSfKsk1mnr065Iw20sVeKTyra0PA>
<xmx:1B6aX_yAqqWMNkvvKV6oEIIXILEXOILKTBnN1EAgBFW8UjW9NWRp7w>
<xmx:1B6aX6QXD2ZlGzmZ09Dr5-xhCXO0SoNcwhsjaOBQ1IVcreDA4HU07A>
<xmx:1R6aXxNlVKSwvQU-4x5inaEu3DSk2zPRhmHDbZObmh6zbHEPg77sew>
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-529-g69105b1-fm-20201021.003-g69105b13
Mime-Version: 1.0
Message-Id: <c5a358d9-2331-476e-9b04-899eb35ebe02@www.fastmail.com>
In-Reply-To: <ff8f0d03-3714-1779-9e70-fa20638893db@cornell.edu>
References: <e73c6dfe-7c69-44c1-a669-e8fc99704117 AT www DOT fastmail DOT com>
<ff8f0d03-3714-1779-9e70-fa20638893db AT cornell DOT edu>
Date: Wed, 28 Oct 2020 18:44:54 -0700
To: "Ken Brown" <kbrown AT cornell DOT edu>, cygwin AT cygwin DOT com
Subject: Re: Emacs 27.1 - Invalid function: make-local-variable
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, JMQ_SPF_NEUTRAL,
KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: noosphere--- via Cygwin <cygwin AT cygwin DOT com>
Reply-To: noosphere AT mailc DOT net
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

I've managed to get a backtrace by breaking on "exit".  I also had to recompile Emacs with debugging symbols in order to get full debugging information (installing emacs-debuginfo was not enough).

Here's how I configured Emacs:  ./configure CFLAGS='-O0 -ggdb3 -rdynamic' --prefix=/usr/local/apps/emacs --with-x-toolkit=no --with-xpm=ifavailable --with-jpeg=ifavailable --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable

Here is the backtrace:

%  gdb /usr/local/apps/emacs-27.1/bin/emacs-27.1.exe
GNU gdb (GDB) (Cygwin 10.1-1) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/apps/emacs-27.1/bin/emacs-27.1.exe...
(gdb) b exit
Breakpoint 1 at 0x10081c950
(gdb) run -Q --daemon
Starting program: /usr/local/apps/emacs-27.1/bin/emacs-27.1.exe -Q --daemon
[New Thread 3220.0x16ec]
warning: Application "\??\C:\cygwin64\usr\local\apps\emacs-27.1\bin\emacs-27.1.exe" found in cache
[New Thread 3220.0x16b0]
emacs: Invalid function: make-local-variable
Error: server did not start correctly

Thread 1 "emacs-27.1" hit Breakpoint 1, exit (code=1) at /usr/src/debug/cygwin-3.1.7-1/newlib/libc/stdlib/exit.c:54
54      {
(gdb) set print pretty
(gdb) bt full
#0  exit (code=1) at /usr/src/debug/cygwin-3.1.7-1/newlib/libc/stdlib/exit.c:54
No locals.
#1  0x00000001800496e3 in cygwin_exit (n=1) at /usr/src/debug/cygwin-3.1.7-1/winsup/cygwin/dcrt0.cc:1282
No locals.
#2  0x000000018013e96b in _sigfe () at sigfe.s:35
No locals.
#3  0x00000001005a8090 in main (argc=3, argv=0xffffcc30) at emacs.c:1444
        retval = 0
        buf = ""
        f = 50925
        stack_bottom_variable = 0x0
        do_initial_setlocale = true
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        sockfd = -1
        module_assertions = false


On Wed, Oct 28, 2020, at 5:39 PM, Ken Brown wrote:
> On 10/28/2020 5:09 PM, noosphere--- via Cygwin wrote:
> > When trying to start emacs with "emacs --daemon" (with or without the
> >   -Q option, I immediately get an error:
> > 
> >    emacs: Invalid function: make-local-variable
> >    Error: server did not start correctly
> 
> Thanks for the report.  I can reproduce the problem with emacs-nox and emacs 
> -X11 (but not with emacs-w32).  I'll look into it.
> 
> [...]
> 
> > %  gdb /usr/bin/emacs-nox.exe
> > GNU gdb (GDB) (Cygwin 8.3.1-1) 8.3.1
> 
> [...]
> 
> > Reading symbols from /usr/bin/emacs-nox.exe...
> > (No debugging symbols found in /usr/bin/emacs-nox.exe)
> 
> This probably means that you didn't install emacs-debuginfo.
> 
> Ken
>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019