From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#8145: Crash in multibyte_chars_in_text Date: Wed, 2 Mar 2011 01:22:12 +0100 Message-ID: References: <09935B6163317341A2DD2CFF0BC3A99B41CE17A7CC@Fluor.smr.intern> <83y64yy90t.fsf@gnu.org> <09935B6163317341A2DD2CFF0BC3A99B41CE17A7D3@Fluor.smr.intern> <83oc5uxz6p.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299026226 32727 80.91.229.12 (2 Mar 2011 00:37:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 00:37:06 +0000 (UTC) Cc: michel@sentient.nl, 8145@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 02 01:37:01 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 1Pua3o-0002AQ-15 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 01:37:00 +0100 Original-Received: from localhost ([127.0.0.1]:39248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pua3n-0000kV-7M for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 19:36:59 -0500 Original-Received: from [140.186.70.92] (port=43004 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pua3d-0000gX-KP for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 19:36:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pua3c-0001s3-4W for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 19:36:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pua3c-0001rz-0c for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2011 19:36:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PuZqI-0007VR-Hq; Tue, 01 Mar 2011 19:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Mar 2011 00:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8145 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8145-submit@debbugs.gnu.org id=B8145.129902536228828 (code B ref 8145); Wed, 02 Mar 2011 00:23:02 +0000 Original-Received: (at 8145) by debbugs.gnu.org; 2 Mar 2011 00:22:42 +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 1PuZpx-0007Uu-Tv for submit@debbugs.gnu.org; Tue, 01 Mar 2011 19:22:42 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuZpv-0007Uh-15 for 8145@debbugs.gnu.org; Tue, 01 Mar 2011 19:22:39 -0500 Original-Received: by eye13 with SMTP id 13so1893637eye.3 for <8145@debbugs.gnu.org>; Tue, 01 Mar 2011 16:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=lHKpTbOQgaZDWuYG53MhDT8af8JBsYVk59DP1GqMKyk=; b=mtbds7wLnYB6quGjbdf1rJpdYw5+dujmcaFtSCDPN59i8Upn+5UYwDA08SNPik2wON nKGWq5vhxmCB++GlQBJQZPDrhBi3qtcmV5H6jyDqFUyU7epWsTgmMpKTu8UaOBTaiTUA dgY9oF6W4uCC1JPzI8JFcBN3tUbw/vbgDk3/k= 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=lAEQY0KOh/9asGTFmvd2wsRDNoDwWmRN5V+v1wkQqYGT+Hh22iZB8Ow7Fn20ltpz6y lwOQOOhDfWes0CQzXVbaEJkh+CGO1PKr21B//bWxtORSN1wkxSh3O3oZDxdLHXf2zV1y nsyJo9WxiyYaee6WAFcuraH7JHtGm049/PNQs= Original-Received: by 10.213.2.204 with SMTP id 12mr966033ebk.94.1299025353179; Tue, 01 Mar 2011 16:22:33 -0800 (PST) Original-Received: by 10.213.108.136 with HTTP; Tue, 1 Mar 2011 16:22:12 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Mar 2011 19:23:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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:44495 Archived-At: On Tue, Mar 1, 2011 at 11:20 PM, Lennart Borgman wrote: > On Tue, Mar 1, 2011 at 11:18 PM, Eli Zaretskii wrote: >>> From: Lennart Borgman >>> Date: Tue, 1 Mar 2011 23:02:29 +0100 >>> Cc: Eli Zaretskii , "8145@debbugs.gnu.org" <8145@debbugs.= gnu.org> >>> With your original reciepe (but using C:) I get this backtrace: >> >> This backtrace is unreliable, because: >> >>> Breakpoint 1, w32_abort () at w32fns.c:7175 >>> warning: Source file is more recent than executable. >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^ > > Ah shit. I always build my patched version last... - and when I do > that I also do a trunk checkout. Maybe I should change that... ;-) > > I will make a new build and test. Here is the backtrace: Breakpoint 1, w32_abort () at w32fns.c:7175 7175 button =3D MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7175 #1 0x011a41f0 in multibyte_chars_in_text (ptr=3D0x82e0d0 "\343\251/ab/cd", nbytes=3D8) at character.c:546 #2 0x01024bba in make_specified_string (contents=3D0x82e0d0 "\343\251/ab/cd", nchars=3D-1, nbytes=3D8, multibyte=3D1) at alloc.c:2352 #3 0x0106b28b in Fsubstitute_in_file_name (filename=3D52106113) at fileio.= c:1692 #4 0x01021d14 in Ffuncall (nargs=3D2, args=3D0x82e220) at eval.c:2842 #5 0x010c7d14 in Fbyte_code (bytestr=3D19539641, vector=3D19539669, maxdepth=3D16) at bytecode.c:689 #6 0x01020db8 in Feval (form=3D19539630) at eval.c:2257 #7 0x0101f5f3 in internal_lisp_condition_case (var=3D49260570, bodyform=3D19539630, handlers=3D18905790) at eval.c:1355 #8 0x010c8579 in Fbyte_code (bytestr=3D19539761, vector=3D19539789, maxdepth=3D20) at bytecode.c:879 #9 0x01020db8 in Feval (form=3D19539750) at eval.c:2257 #10 0x0101f5f3 in internal_lisp_condition_case (var=3D49260570, bodyform=3D19539750, handlers=3D18905790) at eval.c:1355 #11 0x010c8579 in Fbyte_code (bytestr=3D18920481, vector=3D19539725, maxdepth=3D12) at bytecode.c:879 #12 0x010224e9 in funcall_lambda (fun=3D19539693, nargs=3D0, arg_vector=3D0x82eb58) at eval.c:3028 #13 0x01021f31 in Ffuncall (nargs=3D1, args=3D0x82eb54) at eval.c:2891 #14 0x0102172c in run_hook_with_args (nargs=3D1, args=3D0x82eb54, cond=3Dto_completion) at eval.c:2580 #15 0x010214bf in Frun_hooks (nargs=3D1, args=3D0x82ec0c) at eval.c:2443 #16 0x01021c26 in Ffuncall (nargs=3D2, args=3D0x82ec08) at eval.c:2824 #17 0x0102182e in call1 (fn=3D49416842, arg1=3D49306154) at eval.c:2643 #18 0x01005c3a in safe_run_hooks_1 () at keyboard.c:1822 #19 0x0101f6fd in internal_condition_case (bfun=3D0x1005c07 , handlers=3D49260594, hfun=3D0x1005c42 ) at eval.c:1408 #20 0x01005cda in safe_run_hooks (hook=3D49306154) at keyboard.c:1848 #21 0x01004fb6 in command_loop_1 () at keyboard.c:1545 #22 0x0101f6fd in internal_condition_case (bfun=3D0x100489d , handlers=3D49314202, hfun=3D0x1004292 ) at eval.c:1408 #23 0x01004602 in command_loop_2 (ignore=3D49260570) at keyboard.c:1129 #24 0x0101f1ee in internal_catch (tag=3D49416482, func=3D0x10045df , arg=3D49260570) at eval.c:1152 #25 0x01004569 in command_loop () at keyboard.c:1094 #26 0x01003eae in recursive_edit_1 () at keyboard.c:731 #27 0x010b1de6 in read_minibuf (map=3D49249694, initial=3D52094721, prompt=3D18990361, backup_n=3D0, expflag=3D0, histvar=3D49322682, histpos=3D0, defalt=3D51275457, allow_props=3D0, inherit_input_method=3D0) at minibuf.c:652 #28 0x010b3b7c in Fcompleting_read (prompt=3D18990361, collection=3D49445962, predicate=3D49322202, require_match=3D49683298, initial_input=3D52094721, hist=3D49322682, def=3D51275457, inherit_input_method=3D49260570) at minibuf.c:1719 #29 0x01021ee9 in Ffuncall (nargs=3D8, args=3D0x82f220) at eval.c:2875 #30 0x010c7d14 in Fbyte_code (bytestr=3D19100593, vector=3D19100613, maxdepth=3D36) at bytecode.c:689 #31 0x010224e9 in funcall_lambda (fun=3D19100517, nargs=3D4, arg_vector=3D0x82f474) at eval.c:3028 #32 0x01021f31 in Ffuncall (nargs=3D5, args=3D0x82f470) at eval.c:2891 #33 0x010c7d14 in Fbyte_code (bytestr=3D19015369, vector=3D19015389, maxdepth=3D20) at bytecode.c:689 #34 0x010224e9 in funcall_lambda (fun=3D19015341, nargs=3D2, arg_vector=3D0x82f6b4) at eval.c:3028 #35 0x01021f31 in Ffuncall (nargs=3D3, args=3D0x82f6b0) at eval.c:2891 #36 0x010c7d14 in Fbyte_code (bytestr=3D19015577, vector=3D19015605, maxdepth=3D12) at bytecode.c:689 #37 0x01020db8 in Feval (form=3D19015566) at eval.c:2257 #38 0x010c5921 in Fcall_interactively (function=3D50296242, record_flag=3D49260570, keys=3D49281797) at callint.c:338 #39 0x01021d68 in Ffuncall (nargs=3D4, args=3D0x82fb70) at eval.c:2849 #40 0x010218a8 in call3 (fn=3D49429394, arg1=3D50296242, arg2=3D49260570, arg3=3D49260570) at eval.c:2674 #41 0x0101333b in Fcommand_execute (cmd=3D50296242, record_flag=3D49260570, keys=3D49260570, special=3D49260570) at keyboard.c:10180 #42 0x01004f5d in command_loop_1 () at keyboard.c:1528 #43 0x0101f6fd in internal_condition_case (bfun=3D0x100489d , handlers=3D49314202, hfun=3D0x1004292 ) at eval.c:1408 #44 0x01004602 in command_loop_2 (ignore=3D49260570) at keyboard.c:1129 #45 0x0101f1ee in internal_catch (tag=3D49312298, func=3D0x10045df , arg=3D49260570) at eval.c:1152 #46 0x010045ba in command_loop () at keyboard.c:1108 #47 0x01003eae in recursive_edit_1 () at keyboard.c:731 #48 0x01004012 in Frecursive_edit () at keyboard.c:793 #49 0x01002767 in main (argc=3D2, argv=3D0xb23d70) at emacs.c:1684 Lisp Backtrace: "substitute-in-file-name" (0x82e224) "byte-code" (0x82e3d0) "byte-code" (0x82e720) "rfn-eshadow-update-overlay" (0x82eb58) "run-hooks" (0x82ec0c) "completing-read" (0x82f224) "read-file-name" (0x82f474) "find-file-read-args" (0x82f6b4) "byte-code" (0x82f860) "call-interactively" (0x82fb74) (gdb)