From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: latest-from-bzr segfaults easily Date: Wed, 25 May 2011 13:41:18 +0200 Message-ID: <87mxibc8ip.fsf@rho.meyering.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306336663 12999 80.91.229.12 (25 May 2011 15:17:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 May 2011 15:17:43 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 25 17:17:40 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QPFq7-0000jt-Vh for ged-emacs-devel@m.gmane.org; Wed, 25 May 2011 17:17:40 +0200 Original-Received: from localhost ([::1]:34526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPFq7-0008TF-GU for ged-emacs-devel@m.gmane.org; Wed, 25 May 2011 11:17:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPFq5-0008T2-4x for emacs-devel@gnu.org; Wed, 25 May 2011 11:17:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPFq3-0003TH-TJ for emacs-devel@gnu.org; Wed, 25 May 2011 11:17:37 -0400 Original-Received: from mx.meyering.net ([82.230.74.64]:57473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPFq3-0003Su-N3 for emacs-devel@gnu.org; Wed, 25 May 2011 11:17:35 -0400 Original-Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 180FC614D4; Wed, 25 May 2011 13:41:19 +0200 (CEST) Original-Lines: 66 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.230.74.64 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139698 Archived-At: The latest is not usable for me on Fedora 15, x86_64. How to reproduce using emacs built from the latest bzr sources of about 5 hours ago: First, get a cloned copy of the dash sources: (you can probably use C source file, but this is particularly reliable) git clone git://git.kernel.org/pub/scm/utils/dash/dash.git && cd dash Then, run this and type `C-s sh_': $ /p/p/emacs-2011-05-25.08h03/bin/emacs -q src/error.c Fatal error (11)zsh: abort (core dumped) Here's a partial stack trace: #0 0x00000000005591b6 in mark_object (arg=3D) at /h/j/w/co/emacs/trunk/src/alloc.c:5344 #1 0x000000000055b6c1 in mark_maybe_pointer (p=3D) at /h/j/w/co/emacs/trunk/src/alloc.c:4097 #2 mark_memory (offset=3D0, end=3D0x7fffffff1d10, start=3D) at /h/j/w/co/emacs/trunk/src/alloc.c:4147 #3 mark_stack () at /h/j/w/co/emacs/trunk/src/alloc.c:4395 #4 Fgarbage_collect () at /h/j/w/co/emacs/trunk/src/alloc.c:4982 #5 0x0000000000570f85 in Ffuncall (nargs=3D4, args=3D0x7fffffff1de0) at /h/j/w/co/emacs/trunk/src/eval.c:2975 #6 0x00000000005a947e in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3D, args=3D) at /h/j/w/co/emacs/trunk/src/bytecode.c:783 #7 0x0000000000570b99 in funcall_lambda (fun=3D16680341, nargs=3D0, arg_ve= ctor=3D 0x7fffffff1fa8) at /h/j/w/co/emacs/trunk/src/eval.c:3272 #8 0x0000000000570f2b in Ffuncall (nargs=3D1, args=3D0x7fffffff1fa0) at /h/j/w/co/emacs/trunk/src/eval.c:3100 #9 0x00000000005a947e in exec_byte_code (bytestr=3D, vector=3D, maxdepth=3D, args_template=3D, nargs=3D, args=3D) at /h/j/w/co/emacs/trunk/src/bytecode.c:783 #10 0x0000000000570b99 in funcall_lambda (fun=3D23897685, nargs=3D2, arg_ve= ctor=3D 0x7fffffff2168) at /h/j/w/co/emacs/trunk/src/eval.c:3272 #11 0x0000000000570f2b in Ffuncall (nargs=3D3, args=3D0x7fffffff2160) at /h/j/w/co/emacs/trunk/src/eval.c:3100 #12 0x00000000005a947e in exec_byte_code (bytestr=3D, in src/alloc.c, =E2=94=825336 switch (SWITCH_ENUM_CAST (XTYPE (obj))) = =E2=94=82 =E2=94=825337 { = =E2=94=82 =E2=94=825338 case Lisp_String: = =E2=94=82 =E2=94=825339 { = =E2=94=82 =E2=94=825340 register struct Lisp_String *ptr =3D XSTRING (o= bj); =E2=94=82 =E2=94=825341 if (STRING_MARKED_P (ptr)) = =E2=94=82 =E2=94=825342 break; = =E2=94=82 =E2=94=825343 CHECK_ALLOCATED_AND_LIVE (live_string_p); = =E2=94=82 >=E2=94=825344 MARK_INTERVAL_TREE (ptr->intervals); = =E2=94=82 =E2=94=825345 MARK_STRING (ptr); = =E2=94=82 (gdb) p *ptr $2 =3D { size =3D 6221254864074593878, size_byte =3D 6221254864074593878, intervals =3D 0x5656565656565656, data =3D 0x5656565656565656
}