From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Adolf Newsgroups: gmane.emacs.devel Subject: 29.0.50 master freeze on macOS Date: Thu, 14 Jul 2022 16:05:37 +0200 Message-ID: <8c1839f7ace24a57dbce351ef546c437@condition-alpha.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2088"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 14 16:11:27 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oBzYs-0000Je-GT for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jul 2022 16:11:26 +0200 Original-Received: from localhost ([::1]:50210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBzYr-00042B-IH for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jul 2022 10:11:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBzTN-0004gf-Dn for emacs-devel@gnu.org; Thu, 14 Jul 2022 10:05:45 -0400 Original-Received: from smtprelay06.ispgateway.de ([80.67.18.29]:42940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBzTL-00025a-Gn for emacs-devel@gnu.org; Thu, 14 Jul 2022 10:05:44 -0400 Original-Received: from [46.244.216.112] (helo=condition-alpha.com) by smtprelay06.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oBzTJ-0007Us-Gp for emacs-devel@gnu.org; Thu, 14 Jul 2022 16:05:41 +0200 X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= Received-SPF: pass client-ip=80.67.18.29; envelope-from=alexander.adolf@condition-alpha.com; helo=smtprelay06.ispgateway.de 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292150 Archived-At: Hello, I get a complete lockup of Emacs a couple of times a day on macOS. I built Emacs from commit e4030f25f98d2ac9c638e573b0ab6e6b0a35f38b yesterday, but the freeze started occurring a while back with one of the 28 versions. I don't recall exactly when. When the freeze happens, Emacs is completely frozen, that is, emacsclients are locked up too, and neither SIGUSR1 nor SIGUSR2 change anything. The only way forward is killing the process, an restarting it. I'm running the nextstep build (i.e. Emacs.app), and macOS generates a crash report when a GUI app hangs. In that report, four threads are shown: - com.apple.main-thread: the trace doesn't reveal much as the call trace leads into the OS kernel, where symbol names are rare. It seems there is some sort of interrupt going on, followed by a memmove(). - gmain: the trace for this thread goes from a thread_start relatively straight to end in a select(). - an unnamed thread: the trace for this thread goes from a thread_start relatively straight to end in a pselect(). - com.apple.NSEventThread: the trace for this thread goes from a thread_start relatively straight into a CFRunLoopServiceMachPort(), and ends a ipc_mqueue_receive_continue(). Any hints how I could go about further narrowing in on the problem, i.e. building with debug symbols, etc.? Any hints appreciated. --alexander