From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Fix to long-standing crashes in GC Date: Thu, 13 May 2004 17:16:07 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405132216.i4DMG7G14599@raven.dms.auburn.edu> References: <40A3BC23.8060000@math.ku.dk> <87brks5e94.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084486815 12030 80.91.224.253 (13 May 2004 22:20:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 May 2004 22:20:15 +0000 (UTC) Cc: larsh@math.ku.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 14 00:20:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOOYe-0004d0-00 for ; Fri, 14 May 2004 00:20:04 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOOYe-0002UM-00 for ; Fri, 14 May 2004 00:20:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOOW6-0004uI-PG for emacs-devel@quimby.gnus.org; Thu, 13 May 2004 18:17:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOOVV-0004rh-38 for emacs-devel@gnu.org; Thu, 13 May 2004 18:16:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOOUy-0004Z4-JL for emacs-devel@gnu.org; Thu, 13 May 2004 18:16:47 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOOUy-0004Yy-AT for emacs-devel@gnu.org; Thu, 13 May 2004 18:16:16 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4DMGFTS000789; Thu, 13 May 2004 17:16:15 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4DMG7G14599; Thu, 13 May 2004 17:16:07 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier@iro.umontreal.ca In-reply-to: <87brks5e94.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on 13 May 2004 15:19:26 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:23358 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23358 Stefan Monnier wrote: When the GC seems to be involved what it typically means that there's a memory corruption somewhere. The only reason why the GC gets involved is because the GC traverses all your memory, so it basically does (as a side effect) some kind of sanity check, so memory corruption is usually detected during GC. I would guess that means that studying the backtrace would not be terribly useful in this case, since the corruption could have happened anywhere. I know how to use GDB, but I do not have that much experience debugging an aborting Emacs with GDB. I have a live process around. The bug is of course not necessarily in Tramp, but could be in any of the machinery used by Tramp. I get crashes using Tramp with ssh the entire time. I have never observed a crash using an external transfer method, like scp (although I tried), so en/decoding seems a likely culprit. I get strange error messages about invalid base64 data. Sincerely, Luc.