From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kirill Korinsky Newsgroups: gmane.emacs.bugs Subject: bug#51336: 29.0.50; Application not responding Date: Fri, 12 Jan 2024 17:31:49 +0100 Message-ID: References: <2F709323-6F6E-4442-9CB6-EE83F5F4029F@korins.ky> <87czbzz5z6.fsf@gnus.org> <67CF5E61-EE5A-4B24-9697-B61D75E67B4C@korins.ky> <87sfkvxqp4.fsf@gnus.org> <9F6E5B01-F80E-46AE-8A86-ED7080D09725@korins.ky> <1B89E5CF-789E-4DDE-8051-D7F22FA9D97B@korins.ky> <835y4r8w8a.fsf@gnu.org> <83cyuq6re1.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5858"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-apple-darwin21.6.0) MULE/6.0 (HANACHIRUSATO) Cc: 51336@debbugs.gnu.org, larsi@gnus.org, "Kirill A. Korinsky" , alan@idiocy.org, stefankangas@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 12 17:32:30 2024 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 1rOKSL-0001Jh-9V for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Jan 2024 17:32:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOKS5-0002Qi-9N; Fri, 12 Jan 2024 11:32:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOKRw-0002QB-Sr for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 11:32:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOKRw-0002Mn-H9 for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 11:32:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOKRu-0000e7-Hb for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 11:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kirill Korinsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jan 2024 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51336 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51336-submit@debbugs.gnu.org id=B51336.17050771122450 (code B ref 51336); Fri, 12 Jan 2024 16:32:02 +0000 Original-Received: (at 51336) by debbugs.gnu.org; 12 Jan 2024 16:31:52 +0000 Original-Received: from localhost ([127.0.0.1]:37458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOKRj-0000dO-UV for submit@debbugs.gnu.org; Fri, 12 Jan 2024 11:31:52 -0500 Original-Received: from mx1.catap.net ([162.55.82.72]:2392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOKRh-0000bG-Ka for 51336@debbugs.gnu.org; Fri, 12 Jan 2024 11:31:51 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; s=20231225_mx1_rsa; bh=Cvh/9 DM9Zlb+8yAD2Egxpw+dPEA=; h=references:in-reply-to:subject:cc:to:from: date; d=korins.ky; b=LZAJo9CDpFYeDuSsFmdqNnTKXTNyzoLNeF2BIxD8zDFJbyTgM YtOwqLPtaFVRhaEILjLvkMsC4firNfNFQYLV5hBrO1c6bpMrlJSovNsL70qcF6AlPBggnk FFafgGi3jez9jKFhhew3bbsYYUn9pG5dJoxzAlRcaBIeFmVm2ye/GOXX5Wpiz/JRBl8lhY 7AM0zvvd7IeIfSCCO+nqjWBvc+X5pBWTlUqkZvjypwjA8MNOB4KJHvixviwPssEQ9iXCrO R2MJC61z0RgXlic/DQSPd3LMa7lh7/Nx5Mv5X/kI9aiCAPgwxATrWK/qnx6iJfkQSs4q8p Sw5ocm/aOiMjQ== Original-Received: by mx1.catap.net (OpenSMTPD) with ESMTPSA id 9bbc2ba0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 12 Jan 2024 17:31:50 +0100 (CET) In-Reply-To: <83cyuq6re1.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278051 Archived-At: Greetings, On Thu, 28 Dec 2023 20:47:34 +0100, Eli Zaretskii wrote: > > Thanks, but I have no idea what this could mean. What is the source > of the SIGSTOP signal? It was wrong lead. My magit uses emacsql with extreamly large DB (>140Mb) and that freez was related to that DB. After clean things up, that freez dissapears, but it allows to move forward and find that seems a root cause. Emacs was frozen (UI) and hasn't response to any command. Before that it had happened I'd resized a window. I attach and de-attach external screen quite often and it triggers the resize. So, when it was frozen I've attached via lldb and get stack traces bellow. It is reproducable, not each resize but often enough. When it frozen, I need to kill it, otherwise it absolutle useless. And this stack trace was obtained from local root d9462e24a967e32d550ee886b5150f0cc78358f6 (lldb) bt all * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007ff80d07596a libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007ff80d075cd8 libsystem_kernel.dylib`mach_msg + 56 frame #2: 0x00007ff80d17929d CoreFoundation`__CFRunLoopServiceMachPort + 319 frame #3: 0x00007ff80d177928 CoreFoundation`__CFRunLoopRun + 1276 frame #4: 0x00007ff80d176d6c CoreFoundation`CFRunLoopRunSpecific + 562 frame #5: 0x00007ff815e245e6 HIToolbox`RunCurrentEventLoopInMode + 292 frame #6: 0x00007ff815e2434a HIToolbox`ReceiveNextEventCommon + 594 frame #7: 0x00007ff815e240e5 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 70 frame #8: 0x00007ff80fbb1f6d AppKit`_DPSNextEvent + 927 frame #9: 0x00007ff80fbb062a AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 frame #10: 0x00007ff80fba2cd9 AppKit`-[NSApplication run] + 586 frame #11: 0x0000000104b2449c Emacs`-[EmacsApp run] + 317 frame #12: 0x0000000104b361ca Emacs`ns_read_socket_1 + 553 frame #13: 0x0000000104a152bd Emacs`gobble_input + 243 frame #14: 0x0000000104a13b7a Emacs`get_input_pending + 97 frame #15: 0x0000000104a11eba Emacs`detect_input_pending_run_timers + 46 frame #16: 0x0000000104ade227 Emacs`wait_reading_process_output + 4372 frame #17: 0x0000000104944328 Emacs`sit_for + 436 frame #18: 0x0000000104a0f21f Emacs`read_char + 7016 frame #19: 0x0000000104a0b901 Emacs`read_key_sequence + 1247 frame #20: 0x0000000104a09ec0 Emacs`command_loop_1 + 754 frame #21: 0x0000000104a8932e Emacs`internal_condition_case + 87 frame #22: 0x0000000104a09bbc Emacs`command_loop_2 + 41 frame #23: 0x0000000104a88c5a Emacs`internal_catch + 81 frame #24: 0x0000000104b5ee5f Emacs`command_loop.cold.1 + 72 frame #25: 0x0000000104a09613 Emacs`command_loop + 132 frame #26: 0x0000000104a09500 Emacs`recursive_edit_1 + 142 frame #27: 0x0000000104a096fe Emacs`Frecursive_edit + 208 frame #28: 0x0000000104a08a90 Emacs`main + 8278 frame #29: 0x000000010546c52e dyld`start + 462 thread #2, name = 'gmain' frame #0: 0x00007ff80d07dd4a libsystem_kernel.dylib`__select + 10 frame #1: 0x00000001061209f0 libglib-2.0.0.dylib`g_poll + 505 frame #2: 0x0000000106112049 libglib-2.0.0.dylib`g_main_context_iterate_unlocked + 297 frame #3: 0x00000001061120fc libglib-2.0.0.dylib`g_main_context_iteration + 55 frame #4: 0x00000001061130e7 libglib-2.0.0.dylib`glib_worker_main + 30 frame #5: 0x0000000106137ce7 libglib-2.0.0.dylib`g_thread_proxy + 66 frame #6: 0x00007ff80d0b24e1 libsystem_pthread.dylib`_pthread_start + 125 frame #7: 0x00007ff80d0adf6b libsystem_pthread.dylib`thread_start + 15 thread #3 frame #0: 0x00007ff80d07a456 libsystem_kernel.dylib`__pselect + 10 frame #1: 0x00007ff80d07a373 libsystem_kernel.dylib`pselect$DARWIN_EXTSN + 42 frame #2: 0x0000000104b2534d Emacs`-[EmacsApp fd_handler:] + 201 frame #3: 0x00007ff80dfce964 Foundation`__NSThread__start__ + 1009 frame #4: 0x00007ff80d0b24e1 libsystem_pthread.dylib`_pthread_start + 125 frame #5: 0x00007ff80d0adf6b libsystem_pthread.dylib`thread_start + 15 thread #4, name = 'com.apple.NSEventThread' frame #0: 0x00007ff80d07596a libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007ff80d075cd8 libsystem_kernel.dylib`mach_msg + 56 frame #2: 0x00007ff80d17929d CoreFoundation`__CFRunLoopServiceMachPort + 319 frame #3: 0x00007ff80d177928 CoreFoundation`__CFRunLoopRun + 1276 frame #4: 0x00007ff80d176d6c CoreFoundation`CFRunLoopRunSpecific + 562 frame #5: 0x00007ff80fd1f98e AppKit`_NSEventThread + 132 frame #6: 0x00007ff80d0b24e1 libsystem_pthread.dylib`_pthread_start + 125 frame #7: 0x00007ff80d0adf6b libsystem_pthread.dylib`thread_start + 15 thread #5 frame #0: 0x00007ff80d07704a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007ff80d0af034 libsystem_pthread.dylib`_pthread_wqthread + 426 frame #2: 0x00007ff80d0adf57 libsystem_pthread.dylib`start_wqthread + 15 (lldb) ^D -- wbr, Kirill