emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#13262: closed (24.3.50; crash when multibyte direc


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13262: closed (24.3.50; crash when multibyte directory name completion.)
Date: Mon, 24 Dec 2012 16:23:02 +0000

Your message dated Mon, 24 Dec 2012 18:21:45 +0200
with message-id <address@hidden>
and subject line Re: bug#13262: 24.3.50; crash when multibyte directory name 
completion.
has caused the debbugs.gnu.org bug report #13262,
regarding 24.3.50; crash when multibyte directory name completion.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
13262: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13262
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; crash when multibyte directory name completion. Date: Mon, 24 Dec 2012 10:25:30 +0900 User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt)
I encounter Emacs crash when I try to complete directory with multibyte
name.  I attach `bt full` output.

This is my reproduce steps.
1. mkdir /tmp/aあb
2. In Emacs, M-x find-file, input '/tmp/a', then hit TAB.
   mini-buffer shows "Find file: ....//tmp/aあb/".
3. Hit return key.

GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601)
Bzr revision: 111247 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601

Important settings:
  value of $LANG: ja_JP.SJIS
  locale-coding-system: cp932
  default enable-multibyte-characters: t

Attachment: bt_full
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#13262: 24.3.50; crash when multibyte directory name completion. Date: Mon, 24 Dec 2012 18:21:45 +0200
> From: Stefan Monnier <address@hidden>
> Date: Mon, 24 Dec 2012 00:10:41 -0500
> Cc: address@hidden
> 
> > GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601)
> 
> Thanks.  Can you reproduce this in the current pretest (24.2.91)?

Yes, he could, until revision 111077 on the emacs-24 branch fixed that
(I think).

Sorry, the changes touch quite a few places, but they all had the same
problem: unwarranted assumptions that input Lisp strings passed to
primitives are multibyte.  The crash happened because file completion
calls directory-file-name with a unibyte string (an encoded file
name).  A similar mess was found and fixed in file-name-directory and
in expand-file-name.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]