From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51689: emacs Date: Thu, 18 Nov 2021 09:13:04 +0200 Message-ID: <83v90qx7gf.fsf@gnu.org> References: <83czn2tu7i.fsf@gnu.org> <838rxptx7m.fsf@gnu.org> <83sfvw1bf0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51689@debbugs.gnu.org To: Han Boetes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 18 08:14:26 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnbcn-0002Uu-8P for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 08:14:25 +0100 Original-Received: from localhost ([::1]:40574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnbcm-00040i-6x for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 02:14:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnbcR-00040S-9A for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 02:14:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnbcQ-0000ye-7w for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 02:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnbcP-000346-UH for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 02:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Nov 2021 07:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51689 X-GNU-PR-Package: emacs Original-Received: via spool by 51689-submit@debbugs.gnu.org id=B51689.163721960011712 (code B ref 51689); Thu, 18 Nov 2021 07:14:01 +0000 Original-Received: (at 51689) by debbugs.gnu.org; 18 Nov 2021 07:13:20 +0000 Original-Received: from localhost ([127.0.0.1]:34517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnbbj-00032q-TH for submit@debbugs.gnu.org; Thu, 18 Nov 2021 02:13:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnbbe-00032Y-Oq for 51689@debbugs.gnu.org; Thu, 18 Nov 2021 02:13:18 -0500 Original-Received: from [2001:470:142:3::e] (port=37688 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnbbY-0000rJ-Bc; Thu, 18 Nov 2021 02:13:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XDSmCE9s1OF1fRpoMZJxygLJLur98DcMuAUzLNsoKrw=; b=piHKzncB2KOs kou73TkuM6/KsofNkKVZ4hgJNiA+j627GX9ySXwav3DmypXNWtIIfB4P5AYKUmt3YD3/SvapgsGSi p1wa9/1QS7T1t4mXrJpzg2zcfYbpaNbXMFf/lgyOqDSU9Y7hrcq7TwyYIuSy4m/OOD2BW1sjW78qD DF7Y8p1uYKmwJ7VLhlryw/RlvW17nTcRY3jceRo56Wr4wSlDRWf0H9sIC4qUSV3tfMdajFgWQlCl5 VkchQvDHVjcmuEnlfeA4eT42nNeaB6zNwccrLVd8dJGFhfOi6NLYv9z7UScNk7LNkMKkjU3VXKAkQ jnVbvf9AIHVJfAELrp4ZXA==; Original-Received: from [87.69.77.57] (port=4072 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnbbY-0007LK-0t; Thu, 18 Nov 2021 02:13:08 -0500 In-Reply-To: (message from Han Boetes on Wed, 17 Nov 2021 22:41:11 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220266 Archived-At: > Date: Wed, 17 Nov 2021 22:41:11 +0100 > From: Han Boetes > Cc: 51689@debbugs.gnu.org > > > > > features > > > > > > I used c-h v features to get this output, is that what you meant? If not, please help me getting the requested information. > > > > Is this in "emacs -Q -nw"? There should be a feature defined by some > > file from lisp/term/ loaded for the terminal support, but I see no > > such feature. > > I still don't understand how I should provide the requested features. > Could you elaborate on that? . emacs -Q -nw . in *scratch* type "features" (without the quotes) . go to the end of "features", after the final 's', and type C-j . if the list Emacs inserts into the buffer has ellipsis in it, go to that ellipsis and type RET . post the resulting list here > I just searched a bit further, it also happens with "emacs -nw > some-file" when there is no .emacs file present, or if it contains only: > > (custom-set-variables) > > But if that .emacs contains just one setting like this: > > (custom-set-variables '(auto-insert-mode t)) > > The problem is gone. Fascinating! I think at this point only running under a debugger will help us efficiently. So please act according to the instructions below, and show the backtrace it produces: $ cd /path/to/emacs/src/ $ gdb ./emacs GNU gdb (GDB) 11.1 Copyright (C) 2021 Free Software Foundation, Inc. ... (gdb) source ./.gdbinit (gdb) break Fsignal (gdb) commands Type commands for breakpoint(s) 2, one per line. End with a line saying just "end". > pp error_symbol > pp data > end (gdb) run -Q -nw When the breakpoint breaks, look at the error_symbol and data printed by GDB; if the symbol are not "void-function", type "continue" at GDB's prompt to run Emacs further. When you eventually get symbol as "void-function" and data that mentions regexp-opt-group, type: (gdb) thread apply all bt This should produce both C-level backtrace and Lisp-level backtrace of all the threads in Emacs. Please post that here in its entirety. (I hope you have GDB installed; if not, please install it.) Thanks.