From unknown Mon Aug 18 04:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13701: 24.2.93; Segmentation fault Resent-From: "Sebastien Vauban" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Feb 2013 21:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13701@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136070505730625 (code B ref -1); Tue, 12 Feb 2013 21:38:03 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2013 21:37:37 +0000 Received: from localhost ([127.0.0.1]:52666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5NXk-0007xt-EX for submit@debbugs.gnu.org; Tue, 12 Feb 2013 16:37:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46857) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5NXi-0007xi-Dw for submit@debbugs.gnu.org; Tue, 12 Feb 2013 16:37:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5NXD-0003Hl-QU for submit@debbugs.gnu.org; Tue, 12 Feb 2013 16:37:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM,RDNS_DYNAMIC autolearn=no version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5NXD-0003HZ-NX for submit@debbugs.gnu.org; Tue, 12 Feb 2013 16:37:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5NX9-0001cD-CD for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 16:37:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5NX6-0003Fe-2p for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 16:36:59 -0500 Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:47765 helo=mail.missioncriticalit.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5NX5-0003Fa-SU for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 16:36:56 -0500 Received: from MUNDANEUM. (ip-83-101-44-240.customer.schedom-europe.net [83.101.44.240]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 0995A500515 for ; Tue, 12 Feb 2013 22:36:54 +0100 (CET) From: "Sebastien Vauban" Organization: Sebastien Vauban X-Url: Under construction... X-Archive: encrypt Date: Tue, 12 Feb 2013 22:36:18 +0100 Message-ID: <86vc9x6wq5.fsf@somewhere.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.7 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Eli, When answering your latest post, I got a segfault, and Emacs completely crashed: --8<---------------cut here---------------start------------->8--- warning: sys_read called when read is in progress [New Thread 15276.0x17cc] Program received signal SIGSEGV, Segmentation fault. 0x00000213 in ?? () (gdb) Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00000213 in ?? () (gdb) continue Continuing. [New Thread 15276.0x6638] [Inferior 1 (process 15276) exited with code 0377] (gdb) --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban From unknown Mon Aug 18 04:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13701: 24.2.93; Segmentation fault Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 02:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Sebastien Vauban" Cc: 13701@debbugs.gnu.org Received: via spool by 13701-submit@debbugs.gnu.org id=B13701.136072405212888 (code B ref 13701); Wed, 13 Feb 2013 02:55:01 +0000 Received: (at 13701) by debbugs.gnu.org; 13 Feb 2013 02:54:12 +0000 Received: from localhost ([127.0.0.1]:53003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5SU5-0003Lk-BQ for submit@debbugs.gnu.org; Tue, 12 Feb 2013 21:54:12 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:56275) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5SU2-0003La-NZ for 13701@debbugs.gnu.org; Tue, 12 Feb 2013 21:54:07 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U5STY-0008Di-EP; Tue, 12 Feb 2013 21:53:36 -0500 From: Glenn Morris References: <86vc9x6wq5.fsf@somewhere.org> X-Spook: e-cash Mena Ft. Knox ammunition NWO Yukon benelux Iran X-Ran: {\nsvQQwOaB,~* (Sebastien Vauban's message of "Tue, 12 Feb 2013 22:36:18 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) "Sebastien Vauban" wrote: > warning: sys_read called when read is in progress Searching for this message, I found that the only hit is crashes previously reported by you in Emacs 24.1 and 24.2: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00021.html So maybe the issue(s) is not new and is caused by some unusual circumstance on your machine. > Program received signal SIGSEGV, Segmentation fault. > 0x00000213 in ?? () I'm going to go out on a limb and say that more information will be needed to solve this... From unknown Mon Aug 18 04:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13701: 24.2.93; Segmentation fault In-Reply-To: <86vc9x6wq5.fsf@somewhere.org> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13701@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136073959217178 (code B ref -1); Wed, 13 Feb 2013 07:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2013 07:13:12 +0000 Received: from localhost ([127.0.0.1]:53143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5WWl-0004T0-M7 for submit@debbugs.gnu.org; Wed, 13 Feb 2013 02:13:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38133) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5WWi-0004Sq-8b for submit@debbugs.gnu.org; Wed, 13 Feb 2013 02:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5WWC-00051X-Bi for submit@debbugs.gnu.org; Wed, 13 Feb 2013 02:12:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5WWC-00051T-9M for submit@debbugs.gnu.org; Wed, 13 Feb 2013 02:12:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5WWA-0000P0-Qb for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 02:12:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5WW8-00050q-Jq for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 02:12:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:60789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5WW8-00050Z-Cs for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 02:12:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U5WWJ-0001tq-0o for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 08:12:43 +0100 Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2013 08:12:43 +0100 Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2013 08:12:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Thierry Volpiatto Date: Wed, 13 Feb 2013 08:12:13 +0100 Organization: Emacs Helm Lines: 41 Message-ID: <878v6spu0i.fsf@gmail.com> References: <86vc9x6wq5.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:c/C3b0LTqS130kB2gPfJtIt0BTM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Glenn Morris writes: > "Sebastien Vauban" wrote: > >> warning: sys_read called when read is in progress > > Searching for this message, I found that the only hit is crashes > previously reported by you in Emacs 24.1 and 24.2: > > http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00021.html > > So maybe the issue(s) is not new and is caused by some unusual > circumstance on your machine. The initial problem was the user is setting `shell-file-name' to "/path/to/bash" on a windows machine where the value is normally "/path/to/cmdproxy.exe". The result is that all externals programs made to be used with "cmdproxy.exe" are crashing Emacs. In the case of `helm', the user is crashing Emacs with the helm-locate command which use the executable "es.exe" which is part of "everything" program. So I think these crash are not the fault of Emacs nor helm, but a bad setting of user. So the question is: Sebastien, are you still using shell-file-name==bash in your config ? >> Program received signal SIGSEGV, Segmentation fault. >> 0x00000213 in ?? () > > I'm going to go out on a limb and say that more information will be > needed to solve this... > > > > -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Mon Aug 18 04:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13701: 24.2.93; Segmentation fault Resent-From: "Sebastien Vauban" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 08:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thierry Volpiatto Cc: 13701@debbugs.gnu.org Received: via spool by 13701-submit@debbugs.gnu.org id=B13701.136074318224641 (code B ref 13701); Wed, 13 Feb 2013 08:13:03 +0000 Received: (at 13701) by debbugs.gnu.org; 13 Feb 2013 08:13:02 +0000 Received: from localhost ([127.0.0.1]:53165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5XSf-0006PL-GV for submit@debbugs.gnu.org; Wed, 13 Feb 2013 03:13:01 -0500 Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:36867 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5XSc-0006P7-Tg for 13701@debbugs.gnu.org; Wed, 13 Feb 2013 03:13:00 -0500 Received: from MUNDANEUM. (ip-83-101-44-240.customer.schedom-europe.net [83.101.44.240]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 153DB5009DC; Wed, 13 Feb 2013 09:12:27 +0100 (CET) From: "Sebastien Vauban" Organization: Sebastien Vauban References: <86vc9x6wq5.fsf@somewhere.org> X-Url: Under construction... X-Archive: encrypt Date: Wed, 13 Feb 2013 09:11:49 +0100 In-Reply-To: (Thierry Volpiatto's message of "Wed, 13 Feb 2013 08:12:13 +0100") Message-ID: <86vc9wfxa2.fsf@somewhere.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Thierry, Glenn and all, Thierry Volpiatto wrote: > Glenn Morris writes: >> "Sebastien Vauban" wrote: >> >>> warning: sys_read called when read is in progress >> >> Searching for this message, I found that the only hit is crashes >> previously reported by you in Emacs 24.1 and 24.2: >> >> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00021.html >> >> So maybe the issue(s) is not new and is caused by some unusual >> circumstance on your machine. > > The initial problem was the user is setting `shell-file-name' to > "/path/to/bash" on a windows machine where the value is normally > "/path/to/cmdproxy.exe". > The result is that all externals programs made to be used with > "cmdproxy.exe" are crashing Emacs. > In the case of `helm', the user is crashing Emacs with the helm-locate > command which use the executable "es.exe" which is part of "everything" > program. > So I think these crash are not the fault of Emacs nor helm, but a bad > setting of user. > > So the question is: > Sebastien, are you still using shell-file-name==bash in your config ? [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 TVD_RCVD_IP TVD_RCVD_IP 0.0 HK_RANDOM_ENVFROM Envelope sender username looks random 0.5 FROM_LOCAL_NOVOWEL From: localpart has series of non-vowel letters 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4999] 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Thierry, Glenn and all, Thierry Volpiatto wrote: > Glenn Morris writes: >> "Sebastien Vauban" wrote: >> >>> warning: sys_read called when read is in progress >> >> Searching for this message, I found that the only hit is crashes >> previously reported by you in Emacs 24.1 and 24.2: >> >> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00021.html >> >> So maybe the issue(s) is not new and is caused by some unusual >> circumstance on your machine. > > The initial problem was the user is setting `shell-file-name' to > "/path/to/bash" on a windows machine where the value is normally > "/path/to/cmdproxy.exe". > The result is that all externals programs made to be used with > "cmdproxy.exe" are crashing Emacs. > In the case of `helm', the user is crashing Emacs with the helm-locate > command which use the executable "es.exe" which is part of "everything" > program. > So I think these crash are not the fault of Emacs nor helm, but a bad > setting of user. > > So the question is: > Sebastien, are you still using shell-file-name==bash in your config ? [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HK_RANDOM_ENVFROM Envelope sender username looks random 0.5 FROM_LOCAL_NOVOWEL From: localpart has series of non-vowel letters 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4872] 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS Hi Thierry, Glenn and all, Thierry Volpiatto wrote: > Glenn Morris writes: >> "Sebastien Vauban" wrote: >> >>> warning: sys_read called when read is in progress >> >> Searching for this message, I found that the only hit is crashes >> previously reported by you in Emacs 24.1 and 24.2: >> >> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00021.html >> >> So maybe the issue(s) is not new and is caused by some unusual >> circumstance on your machine. > > The initial problem was the user is setting `shell-file-name' to > "/path/to/bash" on a windows machine where the value is normally > "/path/to/cmdproxy.exe". > The result is that all externals programs made to be used with > "cmdproxy.exe" are crashing Emacs. > In the case of `helm', the user is crashing Emacs with the helm-locate > command which use the executable "es.exe" which is part of "everything" > program. > So I think these crash are not the fault of Emacs nor helm, but a bad > setting of user. > > So the question is: > Sebastien, are you still using shell-file-name=3D=3Dbash in your config ? The answer is yes: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 shell-file-name is a variable defined in `C source code'. =E2=94=82 Its value is "c:/cygwin/bin/bash.exe" =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 IIRC, I was asked by Eli (or, at the very least, allowed) to set back Bash = as my inferior shell. FYI, I'm using that setting since 1999, when I began really working with Emacs, and it did not cause any problems either with Helm (in that time, Anything) for the last years in which I used it (at least, from 2010). Problems began appearing with Emacs 24, IIRC. That does not mean I absolutely have to keep that setting, but this is _by = far_ my preferred one, as I'm using Cygwin Bash (or Zsh) all around the place, a= nd I want to be able to do the exact same thing from withing Emacs: for exampl= e, calling one of my script on a selected region, or things like that. Best regards, Seb --=20 Sebastien Vauban From unknown Mon Aug 18 04:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13701: 24.2.93; Segmentation fault Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 09:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Sebastien Vauban" Cc: 13701@debbugs.gnu.org Received: via spool by 13701-submit@debbugs.gnu.org id=B13701.1360746300867 (code B ref 13701); Wed, 13 Feb 2013 09:05:02 +0000 Received: (at 13701) by debbugs.gnu.org; 13 Feb 2013 09:05:00 +0000 Received: from localhost ([127.0.0.1]:53265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5YGy-0000Dw-2X for submit@debbugs.gnu.org; Wed, 13 Feb 2013 04:05:00 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:50022) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5YGv-0000Do-7Q for 13701@debbugs.gnu.org; Wed, 13 Feb 2013 04:04:58 -0500 Received: by mail-wi0-f176.google.com with SMTP id hm14so5396880wib.9 for <13701@debbugs.gnu.org>; Wed, 13 Feb 2013 01:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=LGFrIFL3m51Ih8CMRzJ9iRlPgqVeuI0X6Xjj06A14lo=; b=MksVcLZ/4dT7Dx4+eniswF9Oe+5fDknX5jjfowDtgUSOY7MBtjRtvYkKEKO7eOBoO4 /FWGJZVtWGL8uXED7OoCx69+IRGFkZe4v3C2YNGC5dIOo5Lcy+RFNOSgFtcTXUVjB/Zl +moVhLKARIYLuOnkQhqmZ82fIMW1IXCak4RtX6L6YiP231Q95jYQc5YSubT2ZdUwyL1g F7iQVvVKoHKQVXKv8Usa8LRWgvVkZer/H1il+uy8ouWgYf9jBOS4neTPIb+80aA/QXnS IpnpfYYCyVACpCUlCYpi1+YV+ZO/xM0oTjbmpaU/SnXBopfpk3NcuKswhWmIwxAfvLBX rMTw== X-Received: by 10.180.88.40 with SMTP id bd8mr8360673wib.17.1360746265941; Wed, 13 Feb 2013 01:04:25 -0800 (PST) Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id ex15sm29131636wid.5.2013.02.13.01.04.22 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 13 Feb 2013 01:04:23 -0800 (PST) From: Thierry Volpiatto Organization: Emacs Helm References: <86vc9x6wq5.fsf@somewhere.org> <86vc9wfxa2.fsf@somewhere.org> Date: Wed, 13 Feb 2013 10:04:15 +0100 In-Reply-To: <86vc9wfxa2.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 13 Feb 2013 09:11:49 +0100") Message-ID: <87621wy48g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Hi S=C3=A9bastien, "Sebastien Vauban" writes: > Hi Thierry, Glenn and all, > > Thierry Volpiatto wrote: >> Glenn Morris writes: >>> "Sebastien Vauban" wrote: >>> >>>> warning: sys_read called when read is in progress >>> >>> Searching for this message, I found that the only hit is crashes >>> previously reported by you in Emacs 24.1 and 24.2: >>> >>> http://lists.gnu.org/archive/html/help-gnu-emacs/2012-10/msg00021.html >>> >>> So maybe the issue(s) is not new and is caused by some unusual >>> circumstance on your machine. >> >> The initial problem was the user is setting `shell-file-name' to >> "/path/to/bash" on a windows machine where the value is normally >> "/path/to/cmdproxy.exe". >> The result is that all externals programs made to be used with >> "cmdproxy.exe" are crashing Emacs. >> In the case of `helm', the user is crashing Emacs with the helm-locate >> command which use the executable "es.exe" which is part of "everything" >> program. >> So I think these crash are not the fault of Emacs nor helm, but a bad >> setting of user. >> >> So the question is: >> Sebastien, are you still using shell-file-name=3D=3Dbash in your config ? > > The answer is yes: > > =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 shell-file-name is a variable defined in `C source code'. > =E2=94=82 Its value is "c:/cygwin/bin/bash.exe" > =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > IIRC, I was asked by Eli (or, at the very least, allowed) to set back Bas= h as > my inferior shell. > > FYI, I'm using that setting since 1999, when I began really working with > Emacs, and it did not cause any problems either with Helm (in that time, > Anything) for the last years in which I used it (at least, from 2010). At the beginning of anything, locate was not implemented for windows with "everything", probably helm is working without crash if you use the locate executable of your cygwin stuff instead of "everything". So I repeat that helm itself is NOT crashing Emacs, but the backend used by helm in an unsupported shell IS crashing Emacs. > Problems began appearing with Emacs 24, IIRC. This is not related to Emacs-24 IMO, same problem would happen in Emacs-23 in same context. > That does not mean I absolutely have to keep that setting, but this is _b= y far_ > my preferred one, as I'm using Cygwin Bash (or Zsh) all around the place,= and > I want to be able to do the exact same thing from withing Emacs: for exam= ple, > calling one of my script on a selected region, or things like that. Probably you should let-bind `shell-file-name' to "bash" or whatever when calling your scripts from Emacs and leave the global value to its default setting. That say, probably Emacs should detect when calling a process if the executable is compatible with value of `shell-file-name' and throw a big old error if so before crashing Emacs, don't know if that is possible though. (probably it is what Eli want to fix) --=20 Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997=20 From unknown Mon Aug 18 04:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13701: 24.2.93; Segmentation fault Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13701 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thierry Volpiatto Cc: wxhgmqzgwmuf@spammotel.com, 13701@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 13701-submit@debbugs.gnu.org id=B13701.136077765121857 (code B ref 13701); Wed, 13 Feb 2013 17:48:02 +0000 Received: (at 13701) by debbugs.gnu.org; 13 Feb 2013 17:47:31 +0000 Received: from localhost ([127.0.0.1]:54489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5gQc-0005gU-N5 for submit@debbugs.gnu.org; Wed, 13 Feb 2013 12:47:30 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:36287) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5gQZ-0005gM-NG for 13701@debbugs.gnu.org; Wed, 13 Feb 2013 12:47:29 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MI60030061HG000@a-mtaout23.012.net.il> for 13701@debbugs.gnu.org; Wed, 13 Feb 2013 19:46:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MI6003IJ6Q4GP10@a-mtaout23.012.net.il>; Wed, 13 Feb 2013 19:46:52 +0200 (IST) Date: Wed, 13 Feb 2013 19:47:07 +0200 From: Eli Zaretskii In-reply-to: <87621wy48g.fsf@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <83k3qc3y3o.fsf@gnu.org> References: <86vc9x6wq5.fsf@somewhere.org> <86vc9wfxa2.fsf@somewhere.org> <87621wy48g.fsf@gmail.com> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Thierry Volpiatto > Date: Wed, 13 Feb 2013 10:04:15 +0100 > Cc: 13701@debbugs.gnu.org > > That say, probably Emacs should detect when calling a process if the > executable is compatible with value of `shell-file-name' and throw a big > old error if so before crashing Emacs, don't know if that is possible > though. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.175 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4953] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Thierry Volpiatto > Date: Wed, 13 Feb 2013 10:04:15 +0100 > Cc: 13701@debbugs.gnu.org > > That say, probably Emacs should detect when calling a process if the > executable is compatible with value of `shell-file-name' and throw a big > old error if so before crashing Emacs, don't know if that is possible > though. It's not easy, at least. > (probably it is what Eli want to fix) Actually, I'm still trying to figure out what the heck happens on Sebastien's machine ;-) One problem with running programs via Bash or zsh is that these shells catch and ignore signals, and who knows what they do with Windows termination messages (which Emacs uses to kill subprocesses). One other problem, which is specific to Windows, is that the TerminateProcess API does not kill child processes of the process we kill, so that killing a shell might leave the programs it runs in the system. I see in Sebastien's reports that TerminateProcess is sometimes called, which might be a symptom of the problem (Emacs generally tries to avoid calling TerminateProcess, if it possibly can). From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 12:10:15 2013 Received: (at control) by debbugs.gnu.org; 4 Mar 2013 17:10:15 +0000 Received: from localhost ([127.0.0.1]:58973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCYty-0001pl-DF for submit@debbugs.gnu.org; Mon, 04 Mar 2013 12:10:15 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:35195 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCYtx-0001pf-2m for control@debbugs.gnu.org; Mon, 04 Mar 2013 12:10:13 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UCYth-0006j5-8y for control@debbugs.gnu.org; Mon, 04 Mar 2013 12:09:57 -0500 Date: Mon, 04 Mar 2013 12:09:57 -0500 Message-Id: Subject: control message for bug 13701 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) forcemerge 13546 13701