GNU bug report logs - #15572
24.3; Emacs crash when start from unicode path with right click on windows

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: linming <linming04@HIDDEN>; dated Wed, 9 Oct 2013 15:34:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 15572 <at> debbugs.gnu.org:


Received: (at 15572) by debbugs.gnu.org; 9 Oct 2013 17:11:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 13:11:32 2013
Received: from localhost ([127.0.0.1]:38154 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VTxIK-0000xT-HQ
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2013 13:11:32 -0400
Received: from mtaout23.012.net.il ([80.179.55.175]:39247)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1VTxIH-0000xJ-EV
 for 15572 <at> debbugs.gnu.org; Wed, 09 Oct 2013 13:11:30 -0400
Received: from conversion-daemon.a-mtaout23.012.net.il by
 a-mtaout23.012.net.il (HyperSendmail v2007.08) id
 <0MUE00900VPO1P00@HIDDEN> for 15572 <at> debbugs.gnu.org;
 Wed, 09 Oct 2013 20:11:28 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MUE0084SVR3VIB0@HIDDEN>;
 Wed, 09 Oct 2013 20:11:28 +0300 (IDT)
Date: Wed, 09 Oct 2013 20:11:27 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#15572: 24.3;
 Emacs crash when start from unicode path with right click on windows
In-reply-to: <5254ED94.9000201@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: linming <linming04@HIDDEN>
Message-id: <83eh7uqshs.fsf@HIDDEN>
References: <5254ED94.9000201@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 15572
Cc: 15572 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Wed, 09 Oct 2013 13:45:56 +0800
> From: linming <linming04@HIDDEN>
> 
> On Windows 7, adding emacs to the explorer right menu, i.e., adding the
> following .reg to the system register database:
> 
> [HKEY_CLASSES_ROOT\*\Shell\Edit with Emacs\command]
> @="d:\\MyProgramFiles\\emacs\\bin\\emacsclientw.exe
> -na=d:\\MyProgramFiles\\emacs\\bin\\runemacs.exe  \"%0\""
> 
> In the windows explorer, right click on a file to launch emacs from the
> menu item we added above. If the path contains unicode character, emacs
> will crash.  However, if only file name contains unicode character, it
> works fine. So the bug must be relevant to the unicode path name.

Unicode file names are not yet supported by Emacs on Windows.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15572; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Oct 2013 15:33:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 11:33:47 2013
Received: from localhost ([127.0.0.1]:37917 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VTvli-0005lY-9V
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2013 11:33:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58291)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <linming04@HIDDEN>) id 1VTmbG-0006za-KB
 for submit <at> debbugs.gnu.org; Wed, 09 Oct 2013 01:46:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <linming04@HIDDEN>) id 1VTmbA-0006F6-Qo
 for submit <at> debbugs.gnu.org; Wed, 09 Oct 2013 01:46:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56144)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <linming04@HIDDEN>) id 1VTmbA-0006Eh-Mw
 for submit <at> debbugs.gnu.org; Wed, 09 Oct 2013 01:46:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59986)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <linming04@HIDDEN>) id 1VTmb5-0007ik-7R
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2013 01:46:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <linming04@HIDDEN>) id 1VTmaz-000659-Px
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2013 01:46:11 -0400
Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:35567)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <linming04@HIDDEN>) id 1VTmaz-00061z-DM
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2013 01:46:05 -0400
Received: by mail-pb0-f49.google.com with SMTP id xb4so385886pbc.8
 for <bug-gnu-emacs@HIDDEN>; Tue, 08 Oct 2013 22:46:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:subject
 :content-type:content-transfer-encoding;
 bh=usPkpchojrHOELNhfYLOJF8ZxIurb2SJmU+sh4nK9Yg=;
 b=GItHx3qFyxflZ6t6cW9DgSpkikTD9dz1/OHPqoagNTjvpe5CO6g13+lB7Q/SKhQhsH
 OSlfQ3qJ0LI9IZ7ctA5F/OW3lPwzHuJE78Yn9z6ZX087LL7nRtJq+04sax5zDUviLXPS
 p20lCpDRyp8aso5JIMYN11T+WgnPYlnzVSDdW/sJjY0eMaAxMt4r5aMJdF1Bo1SOZmId
 Lik+x8qm7z/2m5f8pcC90T2PFEkfE7r+1sNQYclFt0+fPZBi1cfhPX+HF5OowFuUDckN
 vhU3bkn6il4JAqQJ498AF2gptlkHVCq8YnGP6rfedo4CX9IGCzBY9iRA9WleKzYZrj9H
 TIyg==
X-Received: by 10.67.2.4 with SMTP id bk4mr7600293pad.78.1381297563678;
 Tue, 08 Oct 2013 22:46:03 -0700 (PDT)
Received: from [166.111.131.145] ([166.111.131.145])
 by mx.google.com with ESMTPSA id vz4sm52069066pab.11.1969.12.31.16.00.00
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Tue, 08 Oct 2013 22:46:02 -0700 (PDT)
Message-ID: <5254ED94.9000201@HIDDEN>
Date: Wed, 09 Oct 2013 13:45:56 +0800
From: linming <linming04@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: 24.3; Emacs crash when start from unicode path with right click on
 windows
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 09 Oct 2013 11:33:44 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

On Windows 7, adding emacs to the explorer right menu, i.e., adding the
following .reg to the system register database:

[HKEY_CLASSES_ROOT\*\Shell\Edit with Emacs\command]
@="d:\\MyProgramFiles\\emacs\\bin\\emacsclientw.exe
-na=d:\\MyProgramFiles\\emacs\\bin\\runemacs.exe  \"%0\""

In the windows explorer, right click on a file to launch emacs from the
menu item we added above. If the path contains unicode character, emacs
will crash.  However, if only file name contains unicode character, it
works fine. So the bug must be relevant to the unicode path name.

I'm using Emacs 24.3, download from GNU.org.


In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
 of 2013-03-18 on MARVIN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (4.7) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'

Important settings:
  value of $LC_ALL: UTF-8
  value of $LANG: CHS
  locale-coding-system: cp936
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tabbar-mwheel-mode: t
  tabbar-mode: t
  cua-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  helm-occur-match-plugin-mode: t
  global-anzu-mode: t
  anzu-mode: t
  projectile-global-mode: t
  projectile-mode: t
  flx-ido-mode: t
  ido-ubiquitous-mode: t
  shell-dirtrack-mode: t
  volatile-highlights-mode: t
  global-hl-line-mode: t
  show-paren-mode: t
  recentf-mode: t
  savehist-mode: t
  global-auto-revert-mode: t
  prelude-global-mode: t
  prelude-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> M-x r e p b u g <return>

Recent messages:
Loading d:/Document/HOME_DIR/.emacs.d/prelude-modules.el (source)...done
Loading personal configuration files in
d:/Document/HOME_DIR/.emacs.d/personal...
Loading d:/Document/HOME_DIR/.emacs.d/personal/custom.el (source)...done
Loading d:/Document/HOME_DIR/.emacs.d/personal/personal.el (source)...
Key Chord mode off
Loading tabbar-setup...done
Loading d:/Document/HOME_DIR/.emacs.d/personal/personal.el (source)...done
Prelude is ready to do thy bidding, Master lming!
For information about GNU Emacs and the GNU system, type C-h C-a.
ad-Orig-delete-backward-char: Text is read-only [4 times]

Load-path shadows:
d:/Document/HOME_DIR/.emacs.d/elpa/flycheck-20131004.1534/.dir-locals
hides d:/MyProgramFiles/emacs/lisp/gnus/.dir-locals

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils tabbar easy-mmode avoid
cua-base server prelude-global-keybindings key-chord prelude-editor
winner undo-tree diff esh-var esh-io esh-cmd esh-opt esh-ext esh-proc
esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util re-builder
whitespace midnight ediff-merg ediff-diff ediff-wind ediff-help
ediff-util ediff-mult ediff-init ediff dired-x helm-projectile
helm-buffers helm-grep helm-regexp helm-elscreen helm-utils dired
helm-locate helm-config helm-aliases helm-misc helm anzu projectile grep
compile s bookmark pp expand-region text-mode-expansions
er-basic-expansions expand-region-custom expand-region-core flyspell
ispell smex flx-ido flx ido-ubiquitous ido tramp tramp-compat
auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs
shell pcomplete comint ansi-color format-spec etags ring
volatile-highlights hl-line paren windmove recentf tree-widget wid-edit
savehist saveplace uniquify diminish edmacro kmacro smartparens-config
smartparens warnings autorevert delsel prelude-mode prelude-core advice
help-fns advice-preload dash thingatpt prelude-ui zenburn-theme
prelude-packages ace-jump-mode-autoloads ack-and-a-half-autoloads
anzu-autoloads auctex-autoloads tex-site diminish-autoloads
elisp-slime-nav-autoloads expand-region-autoloads flx-ido-autoloads
flx-autoloads flycheck-autoloads f-autoloads gist-autoloads gh-autoloads
eieio byte-opt bytecomp byte-compile cconv gitconfig-mode-autoloads
gitignore-mode-autoloads rx goto-last-change-autoloads grizzl-autoloads
guru-mode-autoloads helm-projectile-autoloads helm-autoloads
ido-ubiquitous-autoloads key-chord-autoloads logito-autoloads
magit-autoloads git-rebase-mode-autoloads git-commit-mode-autoloads
markdown-mode-autoloads move-text-autoloads pcache-autoloads
projectile-autoloads pkg-info-autoloads rainbow-delimiters-autoloads
rainbow-mode-autoloads s-autoloads smart-tab-autoloads
smartparens-autoloads dash-autoloads finder-inf smex-autoloads
tabbar-ruler-autoloads info easymenu tabbar-autoloads
tree-mode-autoloads undo-tree-autoloads volatile-highlights-autoloads
yasnippet-autoloads zenburn-theme-autoloads package cl-macs gv cl cl-lib
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32
ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process w32 multi-tty emacs)




Acknowledgement sent to linming <linming04@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15572; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.