From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chunyu Wang Newsgroups: gmane.emacs.bugs Subject: bug#6126: 24.0.50; Segmentation fault when w32-shell-execute try to open an unassociated file Date: Fri, 7 May 2010 20:17:18 +0800 Message-ID: References: <83hbmkjd85.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273238597 16078 80.91.229.12 (7 May 2010 13:23:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 13:23:17 +0000 (UTC) Cc: 6126@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 07 15:23:15 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OANWM-0000xw-M4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 May 2010 15:23:15 +0200 Original-Received: from localhost ([127.0.0.1]:33185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OANWL-0000HC-Kj for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 May 2010 09:23:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OANRc-0005Ga-24 for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 09:18:20 -0400 Original-Received: from [140.186.70.92] (port=58268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OANRY-0003qI-CE for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 09:18:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAMdB-00060G-69 for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 08:26:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54814) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAMdB-000604-0R for bug-gnu-emacs@gnu.org; Fri, 07 May 2010 08:26:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OAMVF-0006A9-Qm; Fri, 07 May 2010 08:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chunyu Wang Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2010 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6126 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6126-submit@debbugs.gnu.org id=B6126.127323466323682 (code B ref 6126); Fri, 07 May 2010 12:18:01 +0000 Original-Received: (at 6126) by debbugs.gnu.org; 7 May 2010 12:17:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAMUw-00069u-Rd for submit@debbugs.gnu.org; Fri, 07 May 2010 08:17:43 -0400 Original-Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAMUv-00069m-C1 for 6126@debbugs.gnu.org; Fri, 07 May 2010 08:17:42 -0400 Original-Received: by pwj2 with SMTP id 2so467454pwj.3 for <6126@debbugs.gnu.org>; Fri, 07 May 2010 05:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=+iy0ix2K6qlkhN6ACSRGT+aJ2X/tAlfEN2ZtN4yq300=; b=nu2ILT/zX1eBm8jLi6pWJ4s27xpMUpJFAqeW+19qmfkqgd3B2ZPXKle3Jc+FcGoiPK 6wGl3wyEQYn93cJiOHTAgBZBofFPRddCImsrgiaYcS5qvrfvSdU2xfGBIzS0a/FkXxmZ WvlQ3K/tiYVBJkBmmokbL8kZK9uPyu8Ri/GFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=dOi29zndq7IdTEI2Ja8/wRnUoTqosTPSOOawox6F02Q3R5HNIXGRTcF+gp70Yjv5xU p/yKGSTXvISkvsMKecqcDRGxdy04ToKLaJE4Y2q3my5d5KVYbUZkO0dnslDxPp6c1Eh4 RIVChArTsQJeRjqMVS1WR9RrImhRG1MAe9OeA= Original-Received: by 10.143.85.1 with SMTP id n1mr3219212wfl.201.1273234658160; Fri, 07 May 2010 05:17:38 -0700 (PDT) Original-Received: by 10.142.114.18 with HTTP; Fri, 7 May 2010 05:17:18 -0700 (PDT) In-Reply-To: <83hbmkjd85.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 07 May 2010 08:18:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36764 Archived-At: 2010/5/7 Eli Zaretskii : > So I think the problem is not related to the fact that the file's > extension was unassociated, but rather that the file name used some > non-ASCII characters that Emacs tried to display, and crashed because > some table was invalid, or something like that. =A0Observe: Indeed. After I change the system(win7-ultimate-64bit) language to English, the crash is gone. Emacs got the expected error and pop up a *backtrace* buffer with the follo= wing. Debugger entered--Lisp error: (void-function w32-shell-exec) (w32-shell-exec "open" "D:\\a.xyz") eval((w32-shell-exec "open" "D:\\a.xyz")) eval-expression((w32-shell-exec "open" "D:\\a.xyz") nil) call-interactively(eval-expression nil nil) And if w32-shell-execute called in an elisp function, *Message* buffer got the error: if: ShellExecute failed: No application is associated with the specified file for this operation. > Does this problem happen in an unoptimized build as well? =A0If so, > could you please find out what is the table it is using (the `tbl' > variable in frame #0), and also what is `val' (by using the xtype > command and a command to show the Lisp type printed by xtype, probably > xchartable)? I'll try to figure it out. --=20 Harbin Institute of Technology, China Chunyu Wang