From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: [BUG] coding.c/decode_coding_iso2022 Date: Thu, 14 Aug 2003 13:31:59 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060882435 5352 80.91.224.253 (14 Aug 2003 17:33:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2003 17:33:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Aug 14 19:33:53 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nLyz-0002b5-00 for ; Thu, 14 Aug 2003 19:33:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19nLzd-0008Pt-00 for ; Thu, 14 Aug 2003 19:34:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nLyp-0005Yc-2I for emacs-devel@quimby.gnus.org; Thu, 14 Aug 2003 13:33:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19nLyM-0005Fn-UV for emacs-devel@gnu.org; Thu, 14 Aug 2003 13:33:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19nLxU-0003OB-ED for emacs-devel@gnu.org; Thu, 14 Aug 2003 13:32:52 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nLxQ-0003BY-4K for emacs-devel@gnu.org; Thu, 14 Aug 2003 13:32:16 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nLyZ-00028K-00 for ; Thu, 14 Aug 2003 19:33:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nLyY-00028C-00 for ; Thu, 14 Aug 2003 19:33:26 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nLxO-0001LT-00 for ; Thu, 14 Aug 2003 19:32:14 +0200 Original-Lines: 132 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:NFj6qq810HaB5Y3jsblG7XYNStE= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15951 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15951 Tired of the numerous crashes I've been getting under NT, I recompiled emacs with all the runtime checks enabled. I think I'll be posting lots of reports. The title function uses variable c2 uninitialized during this phase of the make process: Loading language/devanagari (source)... The stack trace is: ntdll.dll!77f75a58() temacs.exe!failwithmessage(void * retaddr=0x011b5c7f, int crttype=0x00000001, int errnum=0x00000003, const char * msg=0x0111431e) + 0x106 C++ temacs.exe!_RTC_UninitUse(const char * varname=0x01114900) + 0x9c C++ > temacs.exe!decode_coding_iso2022() Line 2169 + 0x33c C temacs.exe!decode_coding(coding_system * coding=0x0081f1e4, const unsigned char * source=0x0158da80, unsigned char * destination=0x0158d2b0, int src_bytes=0x000006b7, int dst_bytes=0x00000000) Line 4873 + 0x19 C temacs.exe!code_convert_region(int from=0x00000001, int from_byte=0x00000001, int to=0x000006b8, int to_byte=0x000006b8, coding_system * coding=0x0081f1e4, int encodep=0x00000000, int replace=0x00000000) Line 5705 + 0x17 C temacs.exe!Finsert_file_contents(int filename=0x31448eb4, int visit=0x1137e804, int beg=0x00000000, int end=0x000006b7, int replace=0x1137e804) Line 4518 + 0x3d C temacs.exe!Ffuncall(int nargs=0x00000002, int * args=0x0082f5bc) Line 2742 + 0x30 C temacs.exe!Fbyte_code(int bytestr=0x3125d190, int vector=0x4125d25c, int maxdepth=0x00000007) Line 710 + 0x10 C temacs.exe!funcall_lambda(int fun=0x4125d14c, int nargs=0x00000004, int * arg_vector=0x0082f83c) Line 2913 + 0x2b C temacs.exe!Ffuncall(int nargs=0x00000005, int * args=0x0082f838) Line 2772 + 0x14 C temacs.exe!call4(int fn=0x113f547c, int arg1=0x31448f44, int arg2=0x31448fc4, int arg3=0x1137e804, int arg4=0x1137e804) Line 2585 + 0xb C temacs.exe!Fload(int file=0x31448fc4, int noerror=0x1137e804, int nomessage=0x1137e804, int nosuffix=0x1137e804, int must_suffix=0x1137e804) Line 866 + 0x7f C temacs.exe!Feval(int form=0x5144453c) Line 2093 + 0x31 C temacs.exe!readevalloop(int readcharfun=0x113a1f7c, _iobuf * stream=0x0122c240, int sourcename=0x313c3374, int (void)* evalfun=0x0114ee90, int printflag=0x00000000, int unibyte=0x1137e804, int readfun=0x1137e804) Line 1376 + 0x9 C temacs.exe!Fload(int file=0x313c3374, int noerror=0x1137e804, int nomessage=0x1137e804, int nosuffix=0x1137e804, int must_suffix=0x1137e804) Line 914 + 0x29 C temacs.exe!Feval(int form=0x513c39d4) Line 2093 + 0x31 C temacs.exe!top_level_2() Line 1301 + 0xb C temacs.exe!internal_condition_case(int (void)* bfun=0x01017530, int handlers=0x1139ba44, int (void)* hfun=0x01017160) Line 1333 + 0x5 C temacs.exe!top_level_1() Line 1309 + 0x16 C temacs.exe!internal_catch(int tag=0x1139b004, int (void)* func=0x01017550, int arg=0x1137e804) Line 1094 + 0x9 C temacs.exe!command_loop() Line 1270 + 0x18 C temacs.exe!recursive_edit_1() Line 987 + 0x5 C temacs.exe!Frecursive_edit() Line 1044 C temacs.exe!main() Line 1668 C temacs.exe!mainCRTStartup() Line 259 + 0x12 C temacs.exe!_start() Line 131 C kernel32.dll!77e814c7() Locals at the point of the error: c2 0xcccccccc int c1 0x0000003b int + coding 0x0081f1e4 {type=coding_type_iso2022 eol_type=0x00000001 common_flags=0x00000007 ...} coding_system * + source 0x0158da80 ";;; devanagari.el --- Support for Devanagari -*- coding: iso-2022-7bit; no-byte-compile: t -*- ;; Copyright (C) 1996, 2001 Free Software Foundation, Inc. ;; Maintainer: KAWABATA, Taichi ;; Keywords: multilingual, Indian, Devanagari ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 0" unsigned char * + destination 0x0158d2b0 "" unsigned char * src_bytes 0x000006b7 int dst_bytes 0x00000000 int charset1 0xffffffff int charset 0x00000000 int + src 0x0158da81 ";; devanagari.el --- Support for Devanagari -*- coding: iso-2022-7bit; no-byte-compile: t -*- ;; Copyright (C) 1996, 2001 Free Software Foundation, Inc. ;; Maintainer: KAWABATA, Taichi ;; Keywords: multilingual, Indian, Devanagari ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02" unsigned char * translation_table 0x41398000 int c 0xcccccccc int charset0 0x00000000 int + src_end 0x0158e137 "" unsigned char * + dst_end 0x0158d2b0 "" unsigned char * + dst 0x0158d2b0 "" unsigned char * + src_base 0x0158da80 ";;; devanagari.el --- Support for Devanagari -*- coding: iso-2022-7bit; no-byte-compile: t -*- ;; Copyright (C) 1996, 2001 Free Software Foundation, Inc. ;; Maintainer: KAWABATA, Taichi ;; Keywords: multilingual, Indian, Devanagari ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 0" unsigned char * safe_chars 0x1137e834 int -- Dave Abrahams Boost Consulting www.boost-consulting.com