From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michel de Ruiter Newsgroups: gmane.emacs.bugs Subject: bug#8145: Crash in multibyte_chars_in_text Date: Tue, 1 Mar 2011 12:47:30 +0100 Message-ID: <09935B6163317341A2DD2CFF0BC3A99B41CE17A7CC@Fluor.smr.intern> 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 1299001112 25208 80.91.229.12 (1 Mar 2011 17:38:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 17:38:32 +0000 (UTC) To: 8145@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 01 18:38:27 2011 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 1PuTWl-0001bz-Bv for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 18:38:27 +0100 Original-Received: from localhost ([127.0.0.1]:47286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuTWk-00023T-U3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 12:38:26 -0500 Original-Received: from [140.186.70.92] (port=37255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuOLp-00040j-74 for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 07:06:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuOLn-000863-G6 for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 07:06:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuOLn-00085y-Bp for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 07:06:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PuOJ8-0006Bx-6S; Tue, 01 Mar 2011 07:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michel de Ruiter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Mar 2011 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8145 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "emacs-pretest-bug@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.129898100223739 (code B ref -1); Tue, 01 Mar 2011 12:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Mar 2011 12:03:22 +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 1PuOIQ-0006An-5c for submit@debbugs.gnu.org; Tue, 01 Mar 2011 07:03:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuO3I-0005nS-DH for submit@debbugs.gnu.org; Tue, 01 Mar 2011 06:47:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37887) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PuO3D-0000UZ-3s for emacs-pretest-bug@gnu.org; Tue, 01 Mar 2011 06:47:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuO3B-0002Bn-Qc for emacs-pretest-bug@gnu.org; Tue, 01 Mar 2011 06:47:34 -0500 Original-Received: from sentient1.xs4all.nl ([83.161.137.183]:34347 helo=Fluor.smr.intern) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuO3B-0002Ao-Fo for emacs-pretest-bug@gnu.org; Tue, 01 Mar 2011 06:47:33 -0500 Original-Received: from Fluor.smr.intern ([fe80::fc5c:e86b:2bd1:4b93]) by Fluor.smr.intern ([fe80::fc5c:e86b:2bd1:4b93%11]) with mapi; Tue, 1 Mar 2011 12:47:30 +0100 Thread-Topic: Crash in multibyte_chars_in_text Thread-Index: AcvYBnH/JJJKWb8qQPeG1i/eCKws5A== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Mailman-Approved-At: Tue, 01 Mar 2011 07:03:17 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Mar 2011 07:04:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Tue, 01 Mar 2011 12:38:19 -0500 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:44477 Archived-At: Hi all, I just experienced an Emacs crash, and I can reproduce it consistently with= the latest pretest. Steps: - make sure the directory "U:\Priv=E9\ab" exists (mind the accent!) - set find-file-existing-other-name to t - set w32-downcase-file-names to t as well - have "U:\Priv=E9\ab" as the current working directory - press Ctrl-x Ctrl-f c d On typing the 'd' (or whatever key you type there) Emacs crashes. I have tested the unpatched version 24.0.50 of Emacs+EmacsW32, and it has t= he same bug. I tried (Cygwin) gdb (on a previous, patched, version) as suggested by the = Emacs crash handler and created the stack trace below. For completeness, for the first two steps you can eval this: (setq find-file-existing-other-name t w32-downcase-file-names t ) Hope this helps. Groente, Michel. (gdb) bt #0 0x77980005 in ntdll!RtlDosPathNameToRelativeNtPathName_U_WithStatus () from /cygdrive/c/Windows/SysWOW64/ntdll.dll #1 0x0115cabe in w32_abort () #2 0x0111380a in multibyte_chars_in_text () #3 0x010647c3 in make_specified_string () #4 0x0104b6ac in Fsubstitute_in_file_name () #5 0x0100c686 in Ffuncall () #6 0x0111c227 in Fbyte_code () #7 0x0100bc50 in Feval () #8 0x0100d69e in internal_lisp_condition_case () #9 0x0111ca3c in Fbyte_code () #10 0x0100bc50 in Feval () #11 0x0100d69e in internal_lisp_condition_case () #12 0x0111ca3c in Fbyte_code () #13 0x0100c081 in funcall_lambda () #14 0x0100c465 in Ffuncall () #15 0x0100cc01 in run_hook_with_args () #16 0x0100cd53 in Frun_hooks () #17 0x0100c723 in Ffuncall () #18 0x0100ca88 in call1 () #19 0x0105365b in safe_run_hooks_1 () #20 0x0100a1b0 in internal_condition_case () #21 0x01052eee in safe_run_hooks () #22 0x0105f7ae in command_loop_1 () #23 0x0100a1b0 in internal_condition_case () #24 0x01052c9a in command_loop_2 () #25 0x0100a0e5 in internal_catch () #26 0x01052a53 in command_loop () #27 0x01052b40 in recursive_edit_1 () #28 0x01104146 in read_minibuf () #29 0x01104dd6 in Fcompleting_read () #30 0x0100c583 in Ffuncall () #31 0x0111c227 in Fbyte_code () #32 0x0100c081 in funcall_lambda () #33 0x0100c465 in Ffuncall () #34 0x0111c227 in Fbyte_code () #35 0x0100c081 in funcall_lambda () #36 0x0100c465 in Ffuncall () #37 0x0111c227 in Fbyte_code () #38 0x0100bc50 in Feval () #39 0x0111a024 in Fcall_interactively () #40 0x0100c65f in Ffuncall () #41 0x0100c837 in call3 () #42 0x01057b90 in Fcommand_execute () #43 0x0105f76c in command_loop_1 () #44 0x0100a1b0 in internal_condition_case () #45 0x01052c9a in command_loop_2 () #46 0x0100a0e5 in internal_catch () #47 0x01052aa7 in command_loop () #48 0x01052b40 in recursive_edit_1 () #49 0x01052c61 in Frecursive_edit () #50 0x01002e70 in main ()