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 21:23:55 +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="14893"; 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 22:24:25 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 1l9aUj-0003nW-FH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 22:24:25 +0100 Original-Received: from localhost ([::1]:48024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9aUi-0005Dg-Ea for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 16:24:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9aUM-0005D6-4i for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:24:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9aUL-0007jK-TM for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:24:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9aUL-0001ab-LC for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:24:01 -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 21:24:01 +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 45701-submit@debbugs.gnu.org id=B45701.16129058406101 (code B ref 45701); Tue, 09 Feb 2021 21:24:01 +0000 Original-Received: (at 45701) by debbugs.gnu.org; 9 Feb 2021 21:24:00 +0000 Original-Received: from localhost ([127.0.0.1]:54876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aUJ-0001aL-Q7 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:24:00 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:56375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aUG-0001aB-Uh for 45701@debbugs.gnu.org; Tue, 09 Feb 2021 16:23:58 -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 119LNtrx019725 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 9 Feb 2021 21:23:56 GMT In-Reply-To: (Justin Schell's message of "Tue, 9 Feb 2021 13:10:13 -0800") 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:199738 Archived-At: Justin Schell writes: >> 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 > > I apparently double-counted before; it was actually only 385 > occurrences, but I was able to actually get it to break after > executing `M-x report-emacs-bug` this time. I can try to debug this > later, but I imagine you'll have an idea of what's going on this time. [...] > Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0x9), > value=XIL(0x145813f50)) at data.c:143 > 143 xsignal2 (Qwrong_type_argument, predicate, value); > (gdb) bt > #0 wrong_type_argument (predicate=XIL(0x9), value=XIL(0x145813f50)) > at data.c:143 > #1 0x0000000100222b2e in dump_discard_mem (mem=0x14581345d, > size=5461062744) at pdumper.c:4650 > #2 0xfffffffffffffffe in ?? () > #3 0x00000001463fd225 in ?? () > #4 0x00007ffeefbfed10 in ?? () > #5 0x000000010021f5a9 in HASH_VALUE (h=0x14581345d, idx=5461062744) > at ./lisp.h:2380 > #6 0x0000000145813458 in ?? () > #7 0x000000014581345d in ?? () > #8 0x00007ffeefbfed40 in ?? () > #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 > Backtrace stopped: frame did not save the PC > (gdb) c > Continuing. > [New Thread 0x1c03 of process 49252] > [New Thread 0x1d03 of process 49252] > [New Thread 0x1e03 of process 49252] > [New Thread 0x1f03 of process 49252] > [New Thread 0x2003 of process 49252] > [New Thread 0x252b of process 49252] > > Thread 2 hit Breakpoint 2, 0x00000001003cb6a0 in ?? () > (gdb) bt > #0 0x00000001003cb6a0 in ?? () > #1 0x00000001001ba3cd in Ffind_file_name_handler (filename=XIL(0), > operation=make_fixnum(18049580734087168)) > at fileio.c:304 > #2 0x01007ffe00000002 in ?? () > #3 0x0000000000000000 in ?? () > [New Thread 0x2657 of process 49252] > > Lisp Backtrace: > "native-compile-setup-environment-variables" (0xefbfa558) Okay this is odd, in feature/native-comp we don't have a function called `native-compile-setup-environment-variables' so I guess this is coming from somewhere else, look like the problem is there. Do you know where this function is coming from? Andrea > "apply" (0xefbfa808) > "native--compile-async" (0xefbfaf50) > "defalias" (0xefbfb150) > "require" (0xefbfbb60) > "byte-code" (0xefbfc340) > "require" (0xefbfcd50) > "byte-code" (0xefbfd470) > "command-execute" (0xefbfdf20) > "execute-extended-command" (0xefbfe2a0) > "funcall-interactively" (0xefbfe298) > "command-execute" (0xefbfecd0) > (gdb) c > Continuing. > [New Thread 0x210f of process 49252] > ``` > -- akrl@sdf.org