From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: cvs head crash in GC Date: 31 Mar 2003 19:24:56 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049156735 26285 80.91.224.249 (1 Apr 2003 00:25:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2003 00:25:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 01 02:25:34 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 1909ao-0006pp-00 for ; Tue, 01 Apr 2003 02:25:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1909b9-0002la-00 for ; Tue, 01 Apr 2003 02:25:55 +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 1909ap-0001DO-00 for emacs-devel@quimby.gnus.org; Mon, 31 Mar 2003 19:25:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 1909Za-0008V3-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 19:24:18 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 1909ZT-0008D4-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 19:24:14 -0500 Original-Received: from out006pub.verizon.net ([206.46.170.106] helo=out006.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 1909Yl-0006oC-00; Mon, 31 Mar 2003 19:23:27 -0500 Original-Received: from loiso.podval.org ([151.203.42.128]) by out006.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030401002325.CVPR20945.out006.verizon.net@loiso.podval.org>; Mon, 31 Mar 2003 18:23:25 -0600 Original-Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.7/8.12.6) with ESMTP id h310OuTx010256; Mon, 31 Mar 2003 19:24:56 -0500 Original-Received: (from sds@localhost) by loiso.podval.org (8.12.7/8.12.7/Submit) id h310Ou0G010252; Mon, 31 Mar 2003 19:24:56 -0500 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f Original-To: emacs-devel@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never Original-Lines: 226 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [151.203.42.128] at Mon, 31 Mar 2003 18:23:25 -0600 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:12785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12785 GNU Emacs 21.3.50.30 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-03-31 on loiso.podval.org 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 #3 0x0811f4b3 in gc_sweep () at alloc.c:5069 #4 0x0811e4e4 in Fgarbage_collect () at alloc.c:4302 #5 0x08132254 in Ffuncall (nargs=1, args=0xbfffcbec) at eval.c:2680 #6 0x08131c92 in run_hook_with_args (nargs=1, args=0xbfffcbec, cond=until_failure) at eval.c:2410 #7 0x08131baf in Frun_hook_with_args_until_failure (nargs=1, args=0xbfffcbec) at eval.c:2341 #8 0x080eea2e in Fkill_buffer (buffer=880) at buffer.c:1316 #9 0x0813216e in Ffuncall (nargs=2, args=0xbfffcc94) at eval.c:2740 #10 0x0815a144 in Fbyte_code (bytestr=412605412, vector=1, maxdepth=-1073754992) at bytecode.c:709 #11 0x081317ba in Feval (form=136789944) at eval.c:2095 #12 0x0812f2f9 in Fprogn (args=504716) at eval.c:425 #13 0x08132bf7 in unbind_to (count=53, value=405486764) at eval.c:3096 #14 0x0815a196 in Fbyte_code (bytestr=412390308, vector=4, maxdepth=-1073754560) at bytecode.c:730 #15 0x0813245f in funcall_lambda (fun=1217542192, nargs=2, arg_vector=0xbfffcef0) at eval.c:2927 #16 0x0813232e in apply_lambda (fun=1217542192, args=405486812, eval_flag=1) at eval.c:2849 #17 0x0813161c in Feval (form=1217542192) at eval.c:2153 #18 0x08130554 in Fcondition_case (args=405486764) at eval.c:1298 #19 0x0815ad51 in Fbyte_code (bytestr=405596684, vector=143, maxdepth=-1073753760) at bytecode.c:891 #20 0x0813245f in funcall_lambda (fun=1217442368, nargs=3, arg_vector=0xbfffd278) at eval.c:2927 #21 0x08132047 in Ffuncall (nargs=4, args=0xbfffd274) at eval.c:2797 #22 0x0815a144 in Fbyte_code (bytestr=412423796, vector=3, maxdepth=-1073753484) at bytecode.c:709 #23 0x0813245f in funcall_lambda (fun=1217763352, nargs=2, arg_vector=0xbfffd394) at eval.c:2927 #24 0x08132047 in Ffuncall (nargs=3, args=0xbfffd390) at eval.c:2797 #25 0x0815a144 in Fbyte_code (bytestr=410861564, vector=2, maxdepth=-1073753200) at bytecode.c:709 #26 0x0813245f in funcall_lambda (fun=1216086920, nargs=2, arg_vector=0xbfffd4a4) at eval.c:2927 #27 0x08132047 in Ffuncall (nargs=3, args=0xbfffd4a0) at eval.c:2797 #28 0x0815a144 in Fbyte_code (bytestr=405804660, vector=2, maxdepth=-1073752928) at bytecode.c:709 #29 0x0813245f in funcall_lambda (fun=1216464320, nargs=2, arg_vector=0xbfffd5c4) at eval.c:2927 #30 0x08132047 in Ffuncall (nargs=3, args=0xbfffd5c0) at eval.c:2797 #31 0x0815a144 in Fbyte_code (bytestr=405804660, vector=2, maxdepth=-1073752640) at bytecode.c:709 #32 0x0813245f in funcall_lambda (fun=1216573016, nargs=1, arg_vector=0xbfffd6e4) at eval.c:2927 #33 0x08132047 in Ffuncall (nargs=2, args=0xbfffd6e0) at eval.c:2797 #34 0x0815a144 in Fbyte_code (bytestr=408556700, vector=1, maxdepth=-1073752352) at bytecode.c:709 #35 0x0813245f in funcall_lambda (fun=1216589568, nargs=3, arg_vector=0xbfffd804) at eval.c:2927 #36 0x08132047 in Ffuncall (nargs=4, args=0xbfffd800) at eval.c:2797 #37 0x0815a144 in Fbyte_code (bytestr=411146028, vector=3, maxdepth=-1073752064) at bytecode.c:709 ---Type to continue, or q to quit--- #38 0x081317ba in Feval (form=136789944) at eval.c:2095 #39 0x0812f2f9 in Fprogn (args=504716) at eval.c:425 #40 0x08132bf7 in unbind_to (count=16, value=405486764) at eval.c:3096 #41 0x0815a196 in Fbyte_code (bytestr=411146028, vector=3, maxdepth=-1073751632) at bytecode.c:730 #42 0x0813245f in funcall_lambda (fun=1216594992, nargs=3, arg_vector=0xbfffdac4) at eval.c:2927 #43 0x08132047 in Ffuncall (nargs=4, args=0xbfffdac0) at eval.c:2797 #44 0x0815a144 in Fbyte_code (bytestr=411146004, vector=3, maxdepth=-1073751360) at bytecode.c:709 #45 0x0813245f in funcall_lambda (fun=1215157968, nargs=3, arg_vector=0xbfffdbd4) at eval.c:2927 #46 0x08132047 in Ffuncall (nargs=4, args=0xbfffdbd0) at eval.c:2797 #47 0x0815a144 in Fbyte_code (bytestr=411146004, vector=3, maxdepth=-1073751088) at bytecode.c:709 #48 0x0813245f in funcall_lambda (fun=1216590816, nargs=2, arg_vector=0xbfffdce4) at eval.c:2927 #49 0x08132047 in Ffuncall (nargs=3, args=0xbfffdce0) at eval.c:2797 #50 0x0815a144 in Fbyte_code (bytestr=411146004, vector=2, maxdepth=-1073750816) at bytecode.c:709 #51 0x0813245f in funcall_lambda (fun=1213424928, nargs=0, arg_vector=0xbfffddf4) at eval.c:2927 #52 0x08132047 in Ffuncall (nargs=1, args=0xbfffddf0) at eval.c:2797 #53 0x0815a144 in Fbyte_code (bytestr=408598156, vector=0, maxdepth=-1073750544) at bytecode.c:709 #54 0x0813245f in funcall_lambda (fun=1213508128, nargs=1, arg_vector=0xbfffdf34) at eval.c:2927 #55 0x08132047 in Ffuncall (nargs=2, args=0xbfffdf30) at eval.c:2797 #56 0x0812e0d0 in Fcall_interactively (function=408773500, record_flag=405486764, keys=1230728024) at callint.c:846 #57 0x080e3e06 in Fcommand_execute (cmd=-1738710148, record_flag=405486764, keys=405486764, special=405486764) at keyboard.c:9618 #58 0x080d958f in command_loop_1 () at keyboard.c:1753 #59 0x08130656 in internal_condition_case (bfun=0x80d9240 , handlers=405583372, hfun=0x80d8e30 ) at eval.c:1351 #60 0x080d911a in command_loop_2 () at keyboard.c:1290 #61 0x081301f9 in internal_catch (tag=504716, func=0x80d90fc , arg=405486764) at eval.c:1112 #62 0x080d90d0 in command_loop () at keyboard.c:1269 #63 0x080d8c0c in recursive_edit_1 () at keyboard.c:985 #64 0x080d8d1c in Frecursive_edit () at keyboard.c:1041 #65 0x080d7677 in main (argc=2, argv=0xbfffe6d4) at emacs.c:1659 #66 0x420154a0 in __libc_start_main () from /lib/tls/libc.so.6 (gdb) up #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 484 bcopy (endf, endt, to - from); (gdb) list 479 endf -= (to - from); 480 481 if (endt < to) 482 break; 483 484 bcopy (endf, endt, to - from); 485 } 486 487 /* If SIZE wasn't a multiple of TO - FROM, there will be a 488 little left over. The amount left over is (endt + (to - (gdb) p endf No symbol "endf" in current context. (gdb) p endt No symbol "endt" in current context. (gdb) p to $1 = 0x99b4458 "\324y\316\bnnimap+mail.podval.org:.imap/lisp/misc" (gdb) p from $2 = 0x99390cc "\2649o\b" (gdb) up #2 0x0811c7e1 in compact_small_strings () at alloc.c:1641 1641 safe_bcopy ((char *) from, (char *) to, nbytes); (gdb) p from $3 = (struct sdata *) 0x1ece3 (gdb) p *from Cannot access memory at address 0x1ece3 (gdb) p to $4 = (struct sdata *) 0x99b4458 (gdb) p *to $5 = { string = 0x8ce79d4, u = { data = "n", nbytes = 1835626094 } } (gdb) p nbytes No symbol "nbytes" in current context. (gdb) p nbytes No symbol "nbytes" in current context. (gdb) up #3 0x0811f4b3 in gc_sweep () at alloc.c:5069 5069 sweep_strings (); (gdb) list 5064 { 5065 /* Remove or mark entries in weak hash tables. 5066 This must be done before any object is unmarked. */ 5067 sweep_weak_hash_tables (); 5068 5069 sweep_strings (); 5070 #ifdef GC_CHECK_STRING_BYTES 5071 if (!noninteractive) 5072 check_string_bytes (1); 5073 #endif (gdb) down #2 0x0811c7e1 in compact_small_strings () at alloc.c:1641 1641 safe_bcopy ((char *) from, (char *) to, nbytes); (gdb) list 1636 1637 /* Copy, and update the string's `data' pointer. */ 1638 if (from != to) 1639 { 1640 xassert (tb != b || to <= from); 1641 safe_bcopy ((char *) from, (char *) to, nbytes); 1642 to->string->data = SDATA_DATA (to); 1643 } 1644 1645 /* Advance past the sdata we copied to. */ (gdb) p tb $6 = (struct sblock *) 0x99b4450 (gdb) p *tb $7 = { next = 0x9961548, next_free = 0x99b644c, first_data = { string = 0x8ce79d4, u = { data = "n", nbytes = 1835626094 } } } (gdb) p b $8 = (struct sblock *) 0x9937698 (gdb) p *b $9 = { next = 0x9939698, next_free = 0x9939684, first_data = { string = 0x8d68af4, u = { data = "s", nbytes = 778268531 } } } (gdb) p to $10 = (struct sdata *) 0x99b4458 (gdb) p *to $11 = { string = 0x8ce79d4, u = { data = "n", nbytes = 1835626094 } -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux The only time you have too much fuel is when you're on fire.