From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Sun, 15 Mar 2020 20:49:54 +0100 Message-ID: References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <83d09lbgk5.fsf@gnu.org> <83y2s48yn7.fsf@gnu.org> <83zhck6obg.fsf@gnu.org> <83r1xv73ze.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="126570"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) Cc: 39962@debbugs.gnu.org, eggert@cs.ucla.edu, pipcet@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 15 20:51:40 2020 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 1jDZIR-000WoQ-98 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Mar 2020 20:51:39 +0100 Original-Received: from localhost ([::1]:57678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDZIP-0006tz-VS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Mar 2020 15:51:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57456) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDZHt-0006tN-1Z for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2020 15:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDZHr-00089J-HK for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2020 15:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDZHq-00087C-LC for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2020 15:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDZHq-0006WV-IG for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2020 15:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Mar 2020 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39962 X-GNU-PR-Package: emacs Original-Received: via spool by 39962-submit@debbugs.gnu.org id=B39962.158430180524989 (code B ref 39962); Sun, 15 Mar 2020 19:51:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 15 Mar 2020 19:50:05 +0000 Original-Received: from localhost ([127.0.0.1]:35634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDZGu-0006Uw-9T for submit@debbugs.gnu.org; Sun, 15 Mar 2020 15:50:04 -0400 Original-Received: from smarthost-b.hosting2go.nl ([83.137.198.202]:45918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDZGr-0006UO-Qu for 39962@debbugs.gnu.org; Sun, 15 Mar 2020 15:50:02 -0400 X-ASG-Debug-ID: 1584301795-0a9db43b8b35570c0001-PyL51Z Original-Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-b.hosting2go.nl with ESMTP id td5BvgT5zov5ceSa (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39962@debbugs.gnu.org>; Sun, 15 Mar 2020 20:49:55 +0100 (CET) X-Barracuda-Envelope-From: pieter-l@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Apparent-Source-IP: 185.135.241.24 Original-Received: (qmail 6771 invoked from network); 15 Mar 2020 19:49:55 -0000 Original-Received: from static-145.132.212.31.ip.telfort.nl (HELO cochabamba.vanoostrum.org) (145.132.212.31) by server24.hosting2go.nl with SMTP; 15 Mar 2020 19:49:55 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 00284AB661FF; Sun, 15 Mar 2020 20:49:54 +0100 (CET) X-ASG-Orig-Subj: Re: bug#39962: 27.0.90; Crash in Emacs 27.0.90 In-Reply-To: (Pieter van Oostrum's message of "Sat, 14 Mar 2020 22:32:12 +0100") X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1584301795 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.202:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 6154 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO B-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80624 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177387 Archived-At: Pieter van Oostrum writes: > line 1167: rlim_t lim = rlim.rlim_cur; > gives the new maximum that I specified with ulimit -s (67104768). So I > can redo the test with that limit. But first get some night rest. I have done the test with the large stack size. It took considerably longer to crash Emacs, but I still got the crash. I had the two breakpoints break marker.c:472 if charpos <= 0 break alloc.c:3518 if charpos <= 0 but these weren't triggered. The crash is in the GC, and it seems there is a corrupted overlay or some such. BTW, the warning: Source file is more recent than executable, is because I switched back and forth between different branches in my repository, but before running I switched back to the compiled Emacs 27 branch, commit c5f255d68156926923232b1edadf50faac527861. This means it didn't have the live_buffer_holding patch. ------------------------------------------------------------------------ ./lisp.h:2623: Emacs fatal error: assertion failed: MARKERP (a) --Type for more, q to quit, c to continue without paging-- Thread 3 hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:371 warning: Source file is more recent than executable. 371 signal (sig, SIG_DFL); (gdb) (gdb) bt #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:371 #1 0x00000001002a4b9b in die (msg=0x1004f65cc "MARKERP (a)", file=0x1004f0449 "./lisp.h", line=2623) at alloc.c:7245 #2 0x00000001002b98cf in XMARKER (a=XIL(0)) at ./lisp.h:2623 #3 0x00000001002b56e7 in mark_overlay (ptr=0x12c489030) at alloc.c:6213 #4 0x00000001002b3902 in mark_object (arg=XIL(0x12c489035)) at alloc.c:6554 #5 0x00000001002b5813 in mark_vectorlike (header=0x11e7da6b0) at alloc.c:6157 #6 0x00000001002b391a in mark_object (arg=XIL(0x11e7da6b5)) at alloc.c:6566 #7 0x00000001002b5813 in mark_vectorlike (header=0x11d98cc70) at alloc.c:6157 #8 0x00000001002b391a in mark_object (arg=XIL(0x11d98cc75)) at alloc.c:6566 #9 0x00000001002b3d33 in mark_object (arg=XIL(0x11dbdbd33)) at alloc.c:6628 #10 0x00000001002b5a17 in mark_localized_symbol (ptr=0x104a5a560) at alloc.c:6278 #11 0x00000001002b3b3d in mark_object (arg=XIL(0x4021850)) at alloc.c:6594 #12 0x00000001002b5813 in mark_vectorlike (header=0x106d63050) at alloc.c:6157 #13 0x00000001002b391a in mark_object (arg=XIL(0x106d63105)) at alloc.c:6566 #14 0x00000001002b3a5d in mark_object (arg=XIL(0x488fbb0)) at alloc.c:6581 #15 0x00000001002b5813 in mark_vectorlike (header=0x104d4abe0) at alloc.c:6157 #16 0x00000001002b391a in mark_object (arg=XIL(0x104d4ba35)) at alloc.c:6566 #17 0x00000001002b3a5d in mark_object (arg=XIL(0x6f1e7e0)) at alloc.c:6581 #18 0x00000001002b5813 in mark_vectorlike (header=0x106d32640) at alloc.c:6157 #19 0x00000001002b391a in mark_object (arg=XIL(0x106d326e5)) at alloc.c:6566 #20 0x00000001002b3a5d in mark_object (arg=XIL(0x62e4f90)) at alloc.c:6581 #21 0x00000001002b5813 in mark_vectorlike (header=0x106d43400) at alloc.c:6157 #22 0x00000001002b391a in mark_object (arg=XIL(0x106d327a5)) at alloc.c:6566 #23 0x00000001002b3a5d in mark_object (arg=XIL(0x105333cf3)) at alloc.c:6581 #24 0x00000001002b3a6a in mark_object (arg=XIL(0x4af0780)) at alloc.c:6582 #25 0x00000001002b5813 in mark_vectorlike (header=0x106f18620) at alloc.c:6157 #26 0x00000001002b391a in mark_object (arg=XIL(0x106f18685)) at alloc.c:6566 #27 0x00000001002b3a5d in mark_object (arg=XIL(0x4af0a20)) at alloc.c:6581 #28 0x00000001002b5813 in mark_vectorlike (header=0x106f186b0) at alloc.c:6157 #29 0x00000001002b391a in mark_object (arg=XIL(0x104c44eb3)) at alloc.c:6566 #30 0x00000001002b3a5d in mark_object (arg=XIL(0x125d29773)) at alloc.c:6581 #31 0x00000001002b5207 in mark_compiled (ptr=0x125c0ae90) at alloc.c:6199 #32 0x00000001002b3827 in mark_object (arg=XIL(0x125c0ae95)) at alloc.c:6521 #33 0x00000001002b3a5d in mark_object (arg=XIL(0x6343500)) at alloc.c:6581 #34 0x00000001002b5813 in mark_vectorlike (header=0x106d81d10) at alloc.c:6157 #35 0x00000001002b391a in mark_object (arg=XIL(0x106d81e05)) at alloc.c:6566 #36 0x00000001002b3a5d in mark_object (arg=XIL(0x6343440)) at alloc.c:6581 #37 0x00000001002b5813 in mark_vectorlike (header=0x106d81cd0) at alloc.c:6157 #38 0x00000001002b391a in mark_object (arg=XIL(0x106d813c5)) at alloc.c:6566 #39 0x00000001002b3a5d in mark_object (arg=XIL(0x6343410)) at alloc.c:6581 #40 0x00000001002b5813 in mark_vectorlike (header=0x106d81f70) at alloc.c:6157 #41 0x00000001002b391a in mark_object (arg=XIL(0x106d82115)) at alloc.c:6566 #42 0x00000001002b3a5d in mark_object (arg=XIL(0x632b2b0)) at alloc.c:6581 #43 0x00000001002b5813 in mark_vectorlike (header=0x106d77220) at alloc.c:6157 #44 0x00000001002b391a in mark_object (arg=XIL(0x106d77285)) at alloc.c:6566 #45 0x00000001002b3a5d in mark_object (arg=XIL(0x6333650)) at alloc.c:6581 --Type for more, q to quit, c to continue without paging--q Quit (gdb) p $rsp $1 = (void *) 0x7ffeef9c9270 (gdb) i thr Id Target Id Frame * 3 Thread 0x1d03 of process 9528 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:371 6 Thread 0x2a1b of process 9528 0x00007fff72c1fcf2 in ?? () from /usr/lib/system/libsystem_kernel.dylib 8 Thread 0x5203 of process 9528 0x00007fff72c1fcf2 in ?? () from /usr/lib/system/libsystem_kernel.dylib 11 Thread 0x5003 of process 9528 0x00007fff72c161fa in ?? () from /usr/lib/system/libsystem_kernel.dylib 411 Thread 0x4f23 of process 9528 0x00007fff72c2028a in ?? () from /usr/lib/system/libsystem_kernel.dylib 412 Thread 0x1b33 of process 9528 0x00007fff72de6bdc in start_wqthread () from /usr/lib/system/libsystem_pthread.dylib 413 Thread 0x1fab of process 9528 0x00007fff72c2028a in ?? () from /usr/lib/system/libsystem_kernel.dylib 414 Thread 0x2c27 of process 9528 0x00007fff72c2028a in ?? () from /usr/lib/system/libsystem_kernel.dylib (gdb) -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]