From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.devel Subject: Re: wait_reading_process_ouput hangs in certain cases (w/ patches) Date: Sat, 14 Jul 2018 10:27:26 +0800 Message-ID: References: <87k1uy8x68.fsf@gmail.com> <6d1970af-8c5c-20ba-be09-0b9aa757d663@binary-island.eu> <13b3e003-d12b-33a7-3ebe-c07b017a7cc0@binary-island.eu> <833714rm3d.fsf@gnu.org> <7b64afc3-e9b0-536d-1e42-a5f5d74f1adf@binary-island.eu> <83y3iur4jo.fsf@gnu.org> <2e181861-cfb8-a461-dfb6-9fee2164a611@binary-island.eu> <03e60e83-c832-ed6b-38bc-c0a20d2a0eac@binary-island.eu> <86vaa5y6zx.fsf@gmail.com> <09d83ec3-6f24-4785-d727-bc460d321d5b@binary-island.eu> <834lhoqmv2.fsf@gnu.org> <8ca1168e-88f2-e6cc-9a81-0f8dff9f1de4@binary-island.eu> <83in63oydk.fsf@gnu.org> <63ee959a-0aa7-3fdb-035c-4b88fe87f3f5@binary-island.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531535158 10839 195.159.176.226 (14 Jul 2018 02:25:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2018 02:25:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (macOS 10.12.6) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 14 04:25:54 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feAFu-0002j0-A6 for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2018 04:25:54 +0200 Original-Received: from localhost ([::1]:39785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feAHy-0006GU-N0 for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 22:28:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feAHs-0006GO-Es for emacs-devel@gnu.org; Fri, 13 Jul 2018 22:27:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feAHp-0007al-8S for emacs-devel@gnu.org; Fri, 13 Jul 2018 22:27:56 -0400 Original-Received: from [195.159.176.226] (port=53343 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feAHp-0007aP-0Y for emacs-devel@gnu.org; Fri, 13 Jul 2018 22:27:53 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1feAFf-0002Qd-JI for emacs-devel@gnu.org; Sat, 14 Jul 2018 04:25:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@blaine.gmane.org Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= Cancel-Lock: sha1:NE3FvGBJd5JJf1vRP/Z1CGxcy2c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227382 Archived-At: On 2018-07-02 15:24 +0200, Matthias Dahl wrote: > Sorry to hear that. My tip (but you might already have heard that > countless times): Have emacs built with debugging info and attach gdb to > the process once it hangs. Produce a suitable backtrace (w/ the elisp > part) and post that to the list. Otherwise there is no way to know where > to look. 26.1 seems pretty stable or else I haven't used it long enough. No hang or anything fatal. It's becoming harder (if not impossible) to use gdb on macOS but I always build emacs with debug info just in case. My situation is a bit hard to get further because there is no known way to hang emacs except waiting for the hang to show itself. Thanks for the efforts in improving Emacs on this area. Leo