From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Bochannek Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs Cygwin crash and browse-url question. Date: Fri, 13 Apr 2007 16:27:32 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176549746 29537 80.91.229.12 (14 Apr 2007 11:22:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2007 11:22:26 +0000 (UTC) Cc: Eric Hanchrow , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 14 13:22:19 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HcgKf-0007wX-To for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2007 13:22:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcgP3-0008BR-2z for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2007 07:26:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HcVFQ-0007qG-Jg for emacs-devel@gnu.org; Fri, 13 Apr 2007 19:32:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HcVFP-0007oI-JS for emacs-devel@gnu.org; Fri, 13 Apr 2007 19:32:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcVFP-0007oC-2F for emacs-devel@gnu.org; Fri, 13 Apr 2007 19:32:07 -0400 Original-Received: from adsl-66-124-80-202.dsl.snfc21.pacbell.net ([66.124.80.202] helo=morpheus.lapseofthought.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HcVB3-0005iW-JG; Fri, 13 Apr 2007 19:27:38 -0400 Original-Received: from alexb-lt.jnpr.net (morpheus.lapseofthought.com [172.16.42.16]) by morpheus.lapseofthought.com (8.13.8/8.13.8) with ESMTP id l3DNRUIj015405; Fri, 13 Apr 2007 16:27:30 -0700 (PDT) (envelope-from alex@p9.com) In-Reply-To: (Eli Zaretskii's message of "Fri\, 13 Apr 2007 12\:27\:45 +0300") User-Agent: Gnus/5.1100000000000003 (No Gnus v0.6) Emacs/22.0.97 (cygwin) X-Virus-Scanned: by amavisd-new X-detected-kernel: FreeBSD 6.x (1) X-Mailman-Approved-At: Sat, 14 Apr 2007 07:25:43 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69429 Archived-At: Eli, Eli Zaretskii writes: > First, please tell us whether the SEGVs happen even if you build the > Cygwin Emacs with the versions of GCC that are considered ``safe'' (in > the sense that other versions are known to produce a binary the > crashes almost instantly). See the entry in PROBLEMS whose header is > "Building the Cygwin port for MS-Windows can fail with some GCC > version". Also, please make sure you don't build the Cygwin port with > GTK+, as this configuration is known to crash on Cygwin (again, see > PROBLEMS). I used gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) as provided by setup.exe. Eric's comment about what Setup provides is correct and GCC 3.4.4 was only promoted in Cygwin from experimental to current on 2006-09-25. I am in the process of building a GCC 4.1.2 for Cygwin right now. I was aware of the GTK+ and Cygwin issues and didn't even attempt to build that combination. Finally, I was looking into the browse-url issue a bit more. I found that using browse-url-firefox as the browse-url-browser function instead of browse-url-default-windows-browser will correctly open a URL in a Windows Firefox from a Cygwin Emacs when setting the browse-url-firefox-program to the Cygwin path of the Windows Firefox. However, the way process-exit-status works when launching a Windows program from Cygwin is different than expected and as a result the process-sentinel will launch a second (tab in the running) Firefox. It would be interesting to get the bottom of this. Alex.