From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Crash in handling tar files (Was: GDB debugger mode for Emacs in ELPA) Date: Fri, 04 Jul 2008 13:08:45 +0300 Message-ID: References: <112524.27849.qm@web95002.mail.in2.yahoo.com> Reply-To: Eli Zaretskii 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: ger.gmane.org 1215166858 22976 80.91.229.12 (4 Jul 2008 10:20:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 10:20:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: filerz-emacs@yahoo.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 04 12:21:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEiQB-0003oK-Ev for ged-emacs-devel@m.gmane.org; Fri, 04 Jul 2008 12:21:43 +0200 Original-Received: from localhost ([127.0.0.1]:38318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEiPK-0000bM-IS for ged-emacs-devel@m.gmane.org; Fri, 04 Jul 2008 06:20:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEiDg-0003qS-92 for emacs-devel@gnu.org; Fri, 04 Jul 2008 06:08:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEiDc-0003om-SR for emacs-devel@gnu.org; Fri, 04 Jul 2008 06:08:46 -0400 Original-Received: from [199.232.76.173] (port=36512 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEiDc-0003oQ-J8 for emacs-devel@gnu.org; Fri, 04 Jul 2008 06:08:44 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:44427) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEiDc-0000H2-2V for emacs-devel@gnu.org; Fri, 04 Jul 2008 06:08:44 -0400 Original-Received: from HOME-C4E4A596F7 ([77.126.76.119]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K3H00D8E8W5X2O1@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Fri, 04 Jul 2008 13:24:06 +0300 (IDT) In-reply-to: <112524.27849.qm@web95002.mail.in2.yahoo.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100333 Archived-At: > Date: Tue, 1 Jul 2008 15:37:38 +0530 (IST) > From: filerz-emacs@yahoo.com > Cc: emacs-devel@gnu.org >=20 > > From: Eli Zaretskii > > > (gdb) bt > > > #0 0x0119eaf3 in re_search_2 (bufp=3D0x1376420, str1=3D0x388a1= 60 "ostfix=20 > > modifiers\"\n \"quail/latin-alt\")\n(register-input-method\n=20 > > \"latin-3-alt-postfix\" \"Latin-3\" 'quail-use-package\n \"3<\" \= "Latin-3 char > >=20 > > This is strange text! What is your value of auto-coding-regexp-a= list? >=20 > (("^BABYL OPTIONS:[ ]*-\\*-[ ]*rmail[ ]*-\\*-" . no-con= version) ("\\`=FE=FF" . utf-16be-with-signature) ("\\`=FF=FE" . utf-1= 6le-with-signature) ("\\`=EF=BB=BF" . utf-8) ("\\`;ELC >=20 > I am running 'emacs -q --no-site-file' on WXP built with MinGW and = see the above value >=20 > > Do you have any idea why auto-coding-regexp-alist-lookup ended up > > looking at the string pointed to by str1 above? >=20 > Not a clue! In that case, my guess is that this is the result of some memory mess-up, perhaps a GC with un-GCPRO'ed variables. That could explain the strange text we see in regex search initiated by auto-coding-regexp-alist-lookup, since GC could relocate strings. Unfortunately, I will be traveling for 3 weeks starting tomorrow, so = I probably won't have time to debug this. Maybe someone beats me to it= ; if not, I hope to look into this in 3 weeks time.