From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: emacs from head segfaults when run with -nw Date: Fri, 16 Apr 2010 16:18:50 +0200 Message-ID: References: <83bpdyz2vz.fsf@gnu.org> 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 1271427571 1787 80.91.229.12 (16 Apr 2010 14:19:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2010 14:19:31 +0000 (UTC) Cc: ams@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 16 16:19:29 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O2mOF-0000k2-PU for ged-emacs-devel@m.gmane.org; Fri, 16 Apr 2010 16:19:28 +0200 Original-Received: from localhost ([127.0.0.1]:59491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2mOE-0000my-Lp for ged-emacs-devel@m.gmane.org; Fri, 16 Apr 2010 10:19:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2mOA-0000mj-6W for emacs-devel@gnu.org; Fri, 16 Apr 2010 10:19:22 -0400 Original-Received: from [140.186.70.92] (port=42394 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2mO4-0000mY-MV for emacs-devel@gnu.org; Fri, 16 Apr 2010 10:19:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2mO2-0007dg-Tg for emacs-devel@gnu.org; Fri, 16 Apr 2010 10:19:16 -0400 Original-Received: from mail-bw0-f225.google.com ([209.85.218.225]:59587) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2mO2-0007dV-Mx; Fri, 16 Apr 2010 10:19:14 -0400 Original-Received: by bwz25 with SMTP id 25so2735564bwz.8 for ; Fri, 16 Apr 2010 07:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=i36/0ug2ex+3K2aaZ4qnyvf6XwvmNPNpLmORQcxrMaE=; b=F/nEJ4w2Lw9BIqSuwbUw15VCxiNrdjg6Z3gnfoau9NfoSr29VMgqpHdAQk8x8dj7/f 38dhgNN53FJiVIcV5E8QgfTTjea/9GwVQGPRgja9VWhaZ9PpvVvm/7gVL6/0lRo0o08E H0wutiv4dMobMJl/dSrC57WjrSx8Ri/qQu/vw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=a3LmBZTdpfqHuM3+nm/dHZwCmXbnY/NlFzolWl4lAoG+k92as7J/X3PgOXZndBX35W vfe+BSWJXhXA9aiZyRwk5MZgzoF2lUhp6fCn9PWFmaqVdpTNgjTvBGXGcBA2xuqjKXXd DDjOweOUd8jFo1Jr16vErBKATthK84o8g/DmM= Original-Received: by 10.204.81.29 with HTTP; Fri, 16 Apr 2010 07:18:50 -0700 (PDT) In-Reply-To: <83bpdyz2vz.fsf@gnu.org> Original-Received: by 10.204.16.73 with SMTP id n9mr1879832bka.21.1271427551162; Fri, 16 Apr 2010 07:19:11 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:123759 Archived-At: On Mon, Apr 5, 2010 at 11:04, Eli Zaretskii wrote: > I think I see a similar problem on MS-Windows, and I'd like to compare > the backtraces we see. =C2=A0The segfault only happens for me in an > optimized build, btw. =C2=A0It seems to happen when GC tries to mark the > value of Buffer-menu-mode-map. I get this with -Q -nw even on non-optimized builds. Juanma alloc.c:5576: Emacs fatal error: assertion failed: STRINGP(ptr->xname) Breakpoint 1, w32_abort () at w32fns.c:7349 7349 button =3D MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7349 #1 0x0104b85c in die (msg=3D0x15489a0 "assertion failed: STRINGP(ptr->xname)", file=3D0x1546d38 "alloc.c", line=3D5576) at alloc.c:6250 #2 0x01049fed in mark_object (arg=3D49829890) at alloc.c:5576 #3 0x0104988d in mark_char_table (ptr=3D0x3394e00) at alloc.c:5396 #4 0x01049880 in mark_char_table (ptr=3D0x3382f00) at alloc.c:5393 #5 0x01049880 in mark_char_table (ptr=3D0x3391e00) at alloc.c:5393 #6 0x01049f0a in mark_object (arg=3D54074885) at alloc.c:5558 #7 0x01049fa7 in mark_object (arg=3D54030674) at alloc.c:5572 #8 0x010496e0 in mark_vectorlike (ptr=3D0x2f88000) at alloc.c:5368 #9 0x01049f48 in mark_object (arg=3D49840133) at alloc.c:5560 #10 0x0104892f in Fgarbage_collect () at alloc.c:5083 #11 0x0103c0cd in Ffuncall (nargs=3D2, args=3D0x88f640) at eval.c:2958 #12 0x011ef458 in Fbyte_code (bytestr=3D20502681, vector=3D20503613, maxdepth=3D28) at bytecode.c:680 #13 0x0103d67c in funcall_lambda (fun=3D20502661, nargs=3D0, arg_vector=3D0x88f904) at eval.c:3211 #14 0x0103ce9c in Ffuncall (nargs=3D1, args=3D0x88f900) at eval.c:3070 #15 0x011ef458 in Fbyte_code (bytestr=3D20498769, vector=3D20498989, maxdepth=3D24) at bytecode.c:680 #16 0x0103d67c in funcall_lambda (fun=3D20498749, nargs=3D0, arg_vector=3D0x88fb20) at eval.c:3211 #17 0x0103d0c3 in apply_lambda (fun=3D20498749, args=3D49838082, eval_flag=3D1) at eval.c:3135 #18 0x0103aff0 in Feval (form=3D50108990) at eval.c:2388 #19 0x01006ee8 in top_level_2 () at keyboard.c:1365 #20 0x010389aa in internal_condition_case (bfun=3D0x1006ed5 , handlers=3D49894618, hfun=3D0x10069e5 ) at eval.c:1490 #21 0x01006f1f in top_level_1 () at keyboard.c:1373 #22 0x0103842c in internal_catch (tag=3D49893810, func=3D0x1006eea , arg=3D49838082) at eval.c:1226 #23 0x01006e58 in command_loop () at keyboard.c:1328 #24 0x010060f0 in recursive_edit_1 () at keyboard.c:950 #25 0x0100660b in Frecursive_edit () at keyboard.c:1012 #26 0x01002a95 in main (argc=3D3, argv=3D0xcb2bd0) at emacs.c:1784 (gdb) Lisp Backtrace: "command-line" (0x88f904) "normal-top-level" (0x88fb20)