From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" Date: Tue, 09 Feb 2021 20:43:43 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10708"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45701@debbugs.gnu.org, contact@jimeh.me To: Justin Schell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 21:48:15 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 1l9Zvj-0002f9-GI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 21:48:15 +0100 Original-Received: from localhost ([::1]:56468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9Zvi-00078u-CY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 15:48:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9Zre-0004em-P4 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9Zre-0007Mr-Gm for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9Zre-0000aH-Ej for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45701 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg Original-Received: via spool by submit@debbugs.gnu.org id=B.16129034412227 (code B ref -1); Tue, 09 Feb 2021 20:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 20:44:01 +0000 Original-Received: from localhost ([127.0.0.1]:54789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9Zrc-0000Zr-Rc for submit@debbugs.gnu.org; Tue, 09 Feb 2021 15:44:01 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9ZrZ-0000ZV-5D for submit@debbugs.gnu.org; Tue, 09 Feb 2021 15:43:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9ZrY-0004UI-SF for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:43:56 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:63128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9ZrW-0007HZ-Th for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:43:56 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 119KhhuG012244 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 9 Feb 2021 20:43:44 GMT In-Reply-To: (Justin Schell's message of "Mon, 8 Feb 2021 12:49:01 -0800") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:199731 Archived-At: Justin Schell writes: >> I think the idea would be ~ to: >> >> - compile with debug symbols >> >> - start gdb loading emacs >> >> - source .gdbinit >> >> - add a breakpoint in 'wrong_type_argument' >> >> - run Emacs and let the error happen >> >> - At this point gdb should take control and you should be able to type >> 'bt' to obtain and report the backtrace > > Hi Andrea, > > So, I was able to build emacs with debug symbols and run via gdb as > directed above, but unfortunately, gdb doesn't hit the breakpoint when > I run `M-x report-emacs-bug`. gdb does break quite a few times (770 > times, to be exact) on `wrong_type_argument` during startup, though. I > looked at the emacs source a bit to try to put a breakpoint somewhere > that would be more fruitful, but I didn't really see where I would do > so. I think we are likely to be interested only in the last occurence. You can ignore the breakpoint 769 times to see what's going on: (gdb) b wrong_type_argument Breakpoint 5 at 0x58a0a2: file data.c, line 143. (gdb) ignore 5 769 Will ignore next 769 crossings of breakpoint 5. (gdb) run Thanks Andrea