From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49261: Segfault during loadup Date: Thu, 08 Jul 2021 02:09:45 +0200 Message-ID: <87h7h51x9y.fsf_-_@gnus.org> References: <87o8bn7bie.fsf@gnus.org> <87zgv6vuon.fsf@gmx.de> <837di9lwbm.fsf@gnu.org> <87a6n5vuu4.fsf@gnus.org> <8735sqnmei.fsf@gnus.org> <87zguyf4ht.fsf@gmx.de> <87pmvum54p.fsf@gnus.org> <87v95mf2lj.fsf@gmx.de> <87pmvt3ob1.fsf@gnus.org> <83r1g9evoy.fsf@gnu.org> <83pmvtevgg.fsf@gnu.org> <87czrt3mj4.fsf@gnus.org> <878s2h3m1d.fsf@gnus.org> <874kd53lnl.fsf@gnus.org> <87zgux26ab.fsf@gnus.org> <87pmvt25uq.fsf@gnus.org> <87lf6h2294.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36534"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49261@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 02:11:09 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 1m1HdF-0009Ky-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 02:11:09 +0200 Original-Received: from localhost ([::1]:37158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1HdE-0004Xq-2k for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 20:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1Hd9-0004Xi-7X for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 20:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1Hd9-0001oL-0V for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 20:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1Hd8-0000kY-FK for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 20:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 00:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49261 X-GNU-PR-Package: emacs Original-Received: via spool by 49261-submit@debbugs.gnu.org id=B49261.16257030062797 (code B ref 49261); Thu, 08 Jul 2021 00:11:02 +0000 Original-Received: (at 49261) by debbugs.gnu.org; 8 Jul 2021 00:10:06 +0000 Original-Received: from localhost ([127.0.0.1]:53758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1HcE-0000j1-I9 for submit@debbugs.gnu.org; Wed, 07 Jul 2021 20:10:06 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:56646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1Hc9-0000iL-Nc for 49261@debbugs.gnu.org; Wed, 07 Jul 2021 20:10:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lqdDELCYdBPPt9TSCL7/7v0utS+39T1Rklc3piZgTok=; b=LTKKURD81ZP/nlLZfDL+5iN3g9 TGC2azTFhSJKGw89Qpd4t0CMdibEZBftvW0p/knvc8Rsfswqz8Etov229EKPVyc50AI8rkrvSvZZI pC3UZJGTL0o9epyJYotnhQxGK6XhMb9EZsia5W8voeeTdjGjKtmDIRvXJLwTIr5HJug0=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1Hbz-0003Xu-Lp; Thu, 08 Jul 2021 02:09:54 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXw7+1oZGNBKEZ1 Y6C+s6tEm+XLNj/k0zH////9N41TAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHBxc7BmkSO8AAAAGn SURBVDjLdZRBc4IwEIVhzIznEEavzYJ4NWDtFa3Vc6v2rIxDr2qd8veb7AbCiLwLzH7sbrJ5wfN6 FQBKKq4VyEDiM/Y8TiD6wkcA9KEBEmol2fQeD+MCFALhwHF7WQ/vPnADxFuFuhkwvHjDy4BKCYpX q0fAp7S6tANCjDPogKqnB+/v0ZcxI9DpETKMX7vA56iiUwrHyUcGnLf3nHkDRQAow5Qq5E36uR8F lLFG6XEnJ6HEezgQNN2ZG0n5cSClBswxYQMtsMMTjEoUQFkWNmGHpfYYPyGIMpIpJeqyGtjkslQO 7FIY/fwuLChMqRdrIz3MW52BPSjugwbXkQUpzoosEkTOhGB6hOQwmcKsAUvlhihAlk4IrGCyeQBj OsFCfjdxqVpmKGDUgBOC2E43OjR6PxiQW8Mlrw34nOyNGewUktaqSrMPu5gC2uDcHG2+kpXTnwHj ukcLVAZUHI9Gm4flHmOYz3SP8c0OEY6tuzx39llBlJEvUG6DeDvrwZnbxDP8Yong1AJC0asypLVB xrPaMhoI+744e0xODk+kAchnYN/7U/oHxUjmLTsE9/cAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEt MDctMDdUMjM6NTk6MDUrMDA6MDAvrXFAAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA3LTA3VDIz OjU5OjA1KzAwOjAwXvDJ/AAAAABJRU5ErkJggg== X-Now-Playing: Battles's _Juice B Crypts_: "The Last Supper On Shasta" In-Reply-To: <87lf6h2294.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 08 Jul 2021 00:22:15 +0200") 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:209641 Archived-At: To reproduce: make bootstrap; touch lisp/*.el; make ... make[2]: *** [Makefile:279: ../lisp/cus-start.elc] Error 139 make[1]: *** [Makefile:765: ../lisp/cus-start.elc] Error 2 /bin/sh: line 2: 113032 Segmentation fault (core dumped) I bisected this, and git bisect pointed me to: commit 6cf62141c4467314f67c2ef75a4bf94d41ff050f Author: Paul Eggert AuthorDate: Sat Sep 5 12:13:32 2020 -0700 Reinstall recent GC-related changes The report that they broke macOS was a false alarm, as the previous commit was also broken (Bug#43152#62). Running under gdb after the "make" fails: gdb ./bootstrap-emacs run -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l bytecomp -f byte-compile-refresh-preloaded -f batch-byte-compile ../lisp/abbrev.elb #0 0x00005555557103a7 in AREF (idx=23456123314108, array=0x7ffff1a398cd) at lisp.h:731 #1 HASH_KEY (idx=11728061657054, h=0x7ffff1a39848) at lisp.h:2374 #2 hash_lookup (h=0x7ffff1a39848, key=0x555555cae444, hash=hash@entry=0x0) at fns.c:4479 ... There seems to be a corruption in the hash tables somewhere. It's totally reproducible with the recipe, but I haven't found more self-contained example to reproduce it. This does not show up with -O0, but does show up with -O1 and -O2. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no