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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrledvgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpehnohhoshhp hhgvrhgvsehmrghilhgtrdhnvghtnecuggftrfgrthhtvghrnhepfeduhefhieeugfekue dtgfduudejgeefffejgefgudelgeduveejiefgkeevvdeinecuffhomhgrihhnpehgnhhu rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epnhhoohhsphhhvghrvgesmhgrihhltgdrnhgvth X-ME-Proxy: 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: In-Reply-To: References: Date: Wed, 28 Oct 2020 18:44:54 -0700 To: "Ken Brown" , 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: noosphere--- via Cygwin Reply-To: noosphere AT mailc DOT net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 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: . Find the GDB manual and other documentation resources online at: . 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