From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Devon Sean McCullough Newsgroups: gmane.emacs.bugs Subject: bug#50319: 27.2; crash Date: Wed, 1 Sep 2021 09:30:57 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23640"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: 50319@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 01 15:32:22 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 1mLQLl-0005xA-VM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Sep 2021 15:32:22 +0200 Original-Received: from localhost ([::1]:50212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQLk-0005Bf-R4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Sep 2021 09:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQLT-0005AO-EA for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 09:32:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLQLS-0002En-6k for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 09:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLQLS-0006mi-29 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 09:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Devon Sean McCullough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2021 13:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50319 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163050309326026 (code B ref -1); Wed, 01 Sep 2021 13:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2021 13:31:33 +0000 Original-Received: from localhost ([127.0.0.1]:36681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQKy-0006li-NG for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:31:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQKx-0006la-Jg for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:31:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQKx-0004h4-C8 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 09:31:31 -0400 Original-Received: from gateway32.websitewelcome.com ([192.185.144.98]:20227) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQKs-0001n4-J9 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 09:31:30 -0400 Original-Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 2BFA543301 for ; Wed, 1 Sep 2021 08:30:58 -0500 (CDT) Original-Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with SMTP id LQKQmJn0zMGeELQKQmMm7v; Wed, 01 Sep 2021 08:30:58 -0500 X-Authority-Reason: nr=8 Original-Received: from c-66-31-30-147.hsd1.ma.comcast.net ([66.31.30.147]:63853 helo=Apples-MacBook-Air.local) by leaf.websitewelcome.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mLQKQ-001cHA-DR for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 08:30:58 -0500 Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jovi.net X-BWhitelist: no X-Source-IP: 66.31.30.147 X-Source-L: No X-Exim-ID: 1mLQKQ-001cHA-DR X-Source-Sender: c-66-31-30-147.hsd1.ma.comcast.net (Apples-MacBook-Air.local) [66.31.30.147]:63853 X-Source-Auth: devon2011@jovi.net X-Email-Count: 1 X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ== X-Local-Domain: yes Received-SPF: pass client-ip=192.185.144.98; envelope-from=emacs-hacker2020@jovi.net; helo=gateway32.websitewelcome.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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:213184 Archived-At: Launch Emacs, attach a debugger, use it routinely for many weeks, switching between various apps, until it dereferences a bad pointer upon switching from some other app: (lldb) process attach --pid 24105 ⋮ Executable module set to "/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_14". Architecture set to: x86_64h-apple-macosx-. ⋮ (lldb) Process 24105 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x172505fec) frame #0: 0x000000010cdcb104 Emacs-x86_64-10_14`redisplay_window + 4244 Emacs-x86_64-10_14`redisplay_window: -> 0x10cdcb104 <+4244>: movq -0x14(%rbx), %rcx 0x10cdcb108 <+4248>: addq $-0x100, %rbx 0x10cdcb10f <+4255>: testl $0x100000, %ecx ; imm = 0x100000 0x10cdcb115 <+4261>: je 0x10cdcb0a0 ; <+4144> Target 0: (Emacs-x86_64-10_14) stopped. (lldb) bt all * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x172505fec) * frame #0: 0x000000010cdcb104 Emacs-x86_64-10_14`redisplay_window + 4244 frame #1: 0x000000010cdc9799 Emacs-x86_64-10_14`redisplay_window_1 + 41 frame #2: 0x000000010cec00af Emacs-x86_64-10_14`internal_condition_case_1 + 271 frame #3: 0x000000010cd9f669 Emacs-x86_64-10_14`redisplay_internal + 4073 frame #4: 0x000000010ce3d1a5 Emacs-x86_64-10_14`read_char + 2213 frame #5: 0x000000010ce3ad6a Emacs-x86_64-10_14`read_key_sequence + 1722 frame #6: 0x000000010ce3956c Emacs-x86_64-10_14`command_loop_1 + 1340 frame #7: 0x000000010cebff77 Emacs-x86_64-10_14`internal_condition_case + 263 frame #8: 0x000000010ce496f0 Emacs-x86_64-10_14`command_loop_2 + 48 frame #9: 0x000000010cebf79b Emacs-x86_64-10_14`internal_catch + 267 frame #10: 0x000000010cf7daa5 Emacs-x86_64-10_14`command_loop.cold.1 + 69 frame #11: 0x000000010ce38633 Emacs-x86_64-10_14`command_loop + 131 frame #12: 0x000000010ce38563 Emacs-x86_64-10_14`recursive_edit_1 + 115 frame #13: 0x000000010ce387bb Emacs-x86_64-10_14`Frecursive_edit + 347 frame #14: 0x000000010ce3734c Emacs-x86_64-10_14`main + 7436 frame #15: 0x00007fff727ad3d5 libdyld.dylib`start + 1 frame #16: 0x00007fff727ad3d5 libdyld.dylib`start + 1 thread #2 frame #0: 0x00007fff728e9616 libsystem_kernel.dylib`__select + 10 frame #1: 0x000000010cf46e6c Emacs-x86_64-10_14`-[EmacsApp fd_handler:] + 236 frame #2: 0x00007fff48a789a2 Foundation`__NSThread__start__ + 1194 frame #3: 0x00007fff729a12eb libsystem_pthread.dylib`_pthread_body + 126 frame #4: 0x00007fff729a4249 libsystem_pthread.dylib`_pthread_start + 66 frame #5: 0x00007fff729a040d libsystem_pthread.dylib`thread_start + 13 thread #3, name = 'com.apple.NSEventThread' frame #0: 0x00007fff728e221a libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff728e2768 libsystem_kernel.dylib`mach_msg + 60 frame #2: 0x00007fff46819e0e CoreFoundation`__CFRunLoopServiceMachPort + 328 frame #3: 0x00007fff4681937c CoreFoundation`__CFRunLoopRun + 1612 frame #4: 0x00007fff46818ade CoreFoundation`CFRunLoopRunSpecific + 455 frame #5: 0x00007fff43e16bae AppKit`_NSEventThread + 175 frame #6: 0x00007fff729a12eb libsystem_pthread.dylib`_pthread_body + 126 frame #7: 0x00007fff729a4249 libsystem_pthread.dylib`_pthread_start + 66 frame #8: 0x00007fff729a040d libsystem_pthread.dylib`thread_start + 13 thread #23550 frame #0: 0x00007fff728e3bfa libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff729a06e6 libsystem_pthread.dylib`_pthread_wqthread + 634 frame #2: 0x00007fff729a03fd libsystem_pthread.dylib`start_wqthread + 13 thread #23551 frame #0: 0x00007fff728e3bfa libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff729a06e6 libsystem_pthread.dylib`_pthread_wqthread + 634 frame #2: 0x00007fff729a03fd libsystem_pthread.dylib`start_wqthread + 13 thread #23552 frame #0: 0x00007fff728e3bfa libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x654d43505853536b frame #2: 0x00007fff729a03fd libsystem_pthread.dylib`start_wqthread + 13 thread #23553 frame #0: 0x0000000000000000 (lldb) In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.6 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules'