From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#36447: 27.0.50; New "Unknown keyword" errors Date: Fri, 5 Jul 2019 06:35:03 +0000 Message-ID: References: <875zon7x0a.fsf@web.de> <8336jqgbhp.fsf@gnu.org> <87h886eoke.fsf@web.de> <87d0iu54d1.fsf@gmail.com> <87k1d14djr.fsf@web.de> <87h884fo0i.fsf@web.de> <85d0is5ry1.fsf@gmail.com> <87lfxdgs1k.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="215325"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Noam Postavsky , 36447@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 08:51:45 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hjI4O-000trm-Jw for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 08:51:44 +0200 Original-Received: from localhost ([::1]:49986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjHpI-0004MF-Ei for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 02:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36237) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjHpD-0004Lx-85 for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 02:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjHpC-0000Yf-91 for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 02:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjHpC-0000YY-3p for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 02:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjHpB-0001g2-VM for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 02:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jul 2019 06:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36447 X-GNU-PR-Package: emacs Original-Received: via spool by 36447-submit@debbugs.gnu.org id=B36447.15623085616439 (code B ref 36447); Fri, 05 Jul 2019 06:36:01 +0000 Original-Received: (at 36447) by debbugs.gnu.org; 5 Jul 2019 06:36:01 +0000 Original-Received: from localhost ([127.0.0.1]:52255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjHp8-0001fl-QV for submit@debbugs.gnu.org; Fri, 05 Jul 2019 02:36:00 -0400 Original-Received: from mail-ot1-f45.google.com ([209.85.210.45]:33252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjHp6-0001fX-9Z for 36447@debbugs.gnu.org; Fri, 05 Jul 2019 02:35:57 -0400 Original-Received: by mail-ot1-f45.google.com with SMTP id q20so8065618otl.0 for <36447@debbugs.gnu.org>; Thu, 04 Jul 2019 23:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WprKBNc0i70C6XIOHp1glJcnhXfRV8HwjEk4Hgpm7fc=; b=GXmX6rLZMxxQOlyUIYU6wOJyVkkfV6BpkioMCMAMmpKR1ofIv3us659/XA/OtBDf6/ ee3232efdyLBs1Pd9pmwmi1hNPUGapqcPgw0Ss1x7l8THERS0fTrik9W/BJEEYs0X4U5 KU4dEdulrANJkpKp6U4CnUj9EJCX11oM9A/UpNUCFT/jhTlF5uhNj2SgxUH0rjXeHbEF +aiGTXLRHvV6RV4kV+6bwT+oj1Z5kAXdMtO2GSwQFspOjlApHXA7wWcHRh3PGIHKVM43 uboiqAVSf4MDvBX0U7OhSb+8B6VYvjz+tGjDTrTfWA7vbCgk+ch5GyhBSNSFZO907AjF Gzhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WprKBNc0i70C6XIOHp1glJcnhXfRV8HwjEk4Hgpm7fc=; b=MFxGj+O+jL5gJoV+vXhOJ2sjy+Pww5Y40ySU0DYoU5EaTSHMiAPhO6MWMWT167L6Fl 4vSOMZIa4+LlX8hkPFPXtuFqN7+Or3KiuxxmVaZU4P/ECMcmAO9oJxCQ0k8h0CHZZWl3 +adPp5iMbFcPePkVu01cCe45QZLuOcW593mn0lfsHTjYZiV9WR/p9asuBWtZVOpQgKFV UHO8EPLXllgL5FL7YTx8mLlaED2Z2bU0FuXAEtQDzDQpOJLo4HwGE8FeB+H6R2L1brxu MMGpGazqPItGuIAoUQ6QoPluq7PrO8ZrnUJaXlvpHN1BvRhfaIWms4D6dWo+CUgqHonR +/rA== X-Gm-Message-State: APjAAAXzloW8PdZ6NRJfyXbws56pHBnBHfKt9fZ1UigHM+eKhSbidNnu RVCd0HydbMZ1f3jYs8b1Ar5NTBjA9JdFS5pNZdo= X-Google-Smtp-Source: APXvYqwuF/K+wtEfTO7tw4VUjGWFFInIncj/XKPhiM0Lifan8kgh/89IdyHpiDwOdBYQcPUI4Dl5vtk8xcw3gVRPxHU= X-Received: by 2002:a9d:2385:: with SMTP id t5mr757911otb.210.1562308550584; Thu, 04 Jul 2019 23:35:50 -0700 (PDT) In-Reply-To: <87lfxdgs1k.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162104 Archived-At: On Fri, Jul 5, 2019 at 1:59 AM Michael Heerdegen wrote: > > Pip Cet writes: > > > As far as I can tell, this is a serious issue that will pop up > > seemingly at random. We really should fix it. > > Yeah, it just happened again, when rebuilding a newer master version. > And this time, cleaning and make bootstrap didn't fix it. I still use > the broken build FWIW as it's not as broken as the last time. Is it still the same symptom, though? > Anything I should do or try with it? I'd like to verify it's indeed the bug I think it is. I think I could figure that out if I had access to your Emacs binaries (emacs and emacs.pdmp), but you can also debug things locally. Can you do the following? 1. Run in gdb, with ASLR disabled 2. Set a breakpoint in print_vectorlike ("b print_vectorlike") 3. evaluate, in Emacs, (aref (aref (symbol-function #'custom-handle-keyword) 2) 2) 4. wait for the breakpoint to be hit 5. in GDB, disable the breakpoint ("dis") 6. print and prettyprint the hash's next, hash, index, and key_and_value vectors by typing, in gdb p XHASH_TABLE(obj)->next pp XHASH_TABLE(obj)->next p XHASH_TABLE(obj)->hash pp XHASH_TABLE(obj)->hash p XHASH_TABLE(obj)->index pp XHASH_TABLE(obj)->index p XHASH_TABLE(obj)->key_and_value pp XHASH_TABLE(obj)->key_and_value (maybe you need to go up a stack frame or two so obj isn't optimized away). 7. Set a read/write breakpoint on the index table: rwatch -l *(long *)&XHASH_TABLE(obj)->index watch -l *(long *)XHASH_TABLE(obj)->index 8. Rerun emacs with gdb's "r" command, and find out where the watchpoint is hit. In particular, if I'm right, it's accessed from two different hash table objects.