From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: cvs head crash in GC Date: Sun, 13 Apr 2003 07:24:03 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1050233242 13346 80.91.224.249 (13 Apr 2003 11:27:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2003 11:27:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Apr 13 13:27:19 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194fdn-0003T6-00 for ; Sun, 13 Apr 2003 13:27:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 194fee-0006Qz-00 for ; Sun, 13 Apr 2003 13:28:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194fe2-00070j-03 for emacs-devel@quimby.gnus.org; Sun, 13 Apr 2003 07:27:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 194fdl-00070Y-00 for emacs-devel@gnu.org; Sun, 13 Apr 2003 07:27:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 194fdk-00070D-00 for emacs-devel@gnu.org; Sun, 13 Apr 2003 07:27:16 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194fad-0006Ls-00 for emacs-devel@gnu.org; Sun, 13 Apr 2003 07:24:03 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 194fad-0006PR-00; Sun, 13 Apr 2003 07:24:03 -0400 Original-To: sds@gnu.org In-reply-to: (message from Sam Steingold on 31 Mar 2003 19:24:56 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13197 Program received signal SIGSEGV, Segmentation fault. 0x4207a8d5 in bcopy () from /lib/tls/libc.so.6 (gdb) where #0 0x4207a8d5 in bcopy () from /lib/tls/libc.so.6 #1 0x0804feee in safe_bcopy (from=0x99390cc "\2649o\b", to=0x99b4458 "\324y\316\bnnimap+mail.podval.org:.imap/lisp/misc", size=504716) at dispnew.c:484 #2 0x0811c7e1 in compact_small_strings () at alloc.c:1641 It is clear that the size argument to safe_bcopy is nonsense. A string 504716 bytes long would not be stored in "small string" fashion. The next step is to figure out the chain of events that occurred in compact_small_strings. The value that you got for FROM seems impossible--it does not match the FROM arg in safe_bcopy. I think that the variable FROM is not live at that point, and its register is in use for something else or was not saved. You can assume FROM was actually 0x99390cc. It would be interesting to cross-check that against the value of FROM_END. Please look at FROM->string; that is the Lisp_String structure. What is in that?