From: Chunyu Wang <cymacs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 6126@debbugs.gnu.org
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 [thread overview]
Message-ID: <h2wd4d843eb1005070517ybb4a4947g8cd70c5519ad0319@mail.gmail.com> (raw)
In-Reply-To: <83hbmkjd85.fsf@gnu.org>
2010/5/7 Eli Zaretskii <eliz@gnu.org>:
> 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. Observe:
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 following.
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? If 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.
--
Harbin Institute of Technology, China
Chunyu Wang
next prev parent reply other threads:[~2010-05-07 12:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 16:08 bug#6126: 24.0.50; Segmentation fault when w32-shell-execute try to open an unassociated file Chunyu Wang
2010-05-07 0:00 ` Lennart Borgman
2010-05-07 1:52 ` Chunyu Wang
2010-05-07 9:27 ` Eli Zaretskii
2010-05-07 10:52 ` Lennart Borgman
2010-05-07 9:03 ` Eli Zaretskii
2010-05-07 12:17 ` Chunyu Wang [this message]
2010-05-07 14:21 ` Chunyu Wang
2010-05-07 15:12 ` Eli Zaretskii
2010-05-07 16:29 ` Chunyu Wang
2010-05-07 17:16 ` Eli Zaretskii
2010-05-07 20:52 ` Lennart Borgman
2010-05-08 7:15 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=h2wd4d843eb1005070517ybb4a4947g8cd70c5519ad0319@mail.gmail.com \
--to=cymacs@gmail.com \
--cc=6126@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).