From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "B. Anyos" Newsgroups: gmane.emacs.devel Subject: Re: emacs crash Date: Thu, 04 Nov 2004 13:52:04 +0100 Message-ID: <418A25F4.3080807@freemail.hu> References: <4188AB08.2000206@freemail.hu> <4188B2DB.9050005@gnu.org> <68c73b1a04110303066eac8188@mail.gmail.com> <4188F2F8.3000105@freemail.hu> <418A0512.3000901@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099573279 8660 80.91.229.6 (4 Nov 2004 13:01:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 13:01:19 +0000 (UTC) Cc: chenggao@gmail.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 04 14:00:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPhEV-0002tm-00 for ; Thu, 04 Nov 2004 14:00:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPhMe-000620-92 for ged-emacs-devel@m.gmane.org; Thu, 04 Nov 2004 08:09:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPhMM-0005zc-4A for emacs-devel@gnu.org; Thu, 04 Nov 2004 08:09:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPhML-0005zC-5i for emacs-devel@gnu.org; Thu, 04 Nov 2004 08:09:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPhMK-0005yt-SD for emacs-devel@gnu.org; Thu, 04 Nov 2004 08:09:00 -0500 Original-Received: from [81.0.70.197] (helo=evo2.evosoft.hu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CPhDs-0000g4-0z; Thu, 04 Nov 2004 08:00:16 -0500 Original-Received: from evosoft.hu (griff.evosoft.hu [172.16.110.26]) by evo2.evosoft.hu (8.12.9p2/8.12.9) with ESMTP id iA4CrMKd000515; Thu, 4 Nov 2004 13:53:22 +0100 (CET) (envelope-from banyos@freemail.hu) Original-Received: from [172.16.111.121] (banyos2.evosoft.hu [172.16.111.121]) by evosoft.hu (8.12.3/8.12.3) with ESMTP id iA4Cq4LS083764; Thu, 4 Nov 2004 13:52:06 +0100 (CET) (envelope-from banyos@freemail.hu) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: Jason Rumney In-Reply-To: <418A0512.3000901@gnu.org> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-evosoft-evo2-MailScanner-Information: Please contact the ISP for more information X-evosoft-evo2-MailScanner: Found to be clean 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: main.gmane.org gmane.emacs.devel:29428 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29428 It is true, I'm running emacs on Windows. So stacktrace is stopped right in the middle of Fx_create_frame, though it seems it is over BLOCK_INPUT. (file w32fns.c) Anyway I tried to do what you asked for. Here's what I could figure out. debug_print(args[0]): face-set-after-frame-default (struct Lisp_String *)(0xfffffff & ((struct Lisp_Symbol *) (0xfffffff & args[0]))->xname): size 28 size_byte -1 intervals 0x00000000 data 0x01185dd0 "face-set-after-frame-default" I hope this helps. Unfortunately those nice commands listed in .gdbinit do not exist on MS Windows. Any alternatives to help debugging on Windows ? Jason Rumney said the following on 11/4/2004 11:31 AM: > Richard Stallman wrote: > >> For instance, there is something really strange here: >> >> funcall_lambda(int -2128849612, int 1, int * 0x0082f980) line 2946 >> + 17 bytes >> Ffuncall(int -2147483648, int * 0x0082f980) line 2814 + 12 bytes >> call1(int 556794192, int -2127346688) line 2547 + 11 bytes >> Fx_create_frame(int 0) line 4355 >> >> There is no call to Fx_create_frame in line 4355; in fact, line 4355 >> is far after the end of Fx_create_frame. What's going on? >> > I think the user is on Windows, so that would be line 4355 of w32fns.c, > which is in Fx_create_frame. > > My line numbers are slightly out, but I suspect this line (4350 in my > version): > > /* Set up faces after all frame parameters are known. This call > also merges in face attributes specified for new frames. If we > don't do this, the `menu' face for instance won't have the right > colors, and the menu bar won't appear in the specified colors for > new frames. */ > call1 (Qface_set_after_frame_default, frame); > > > It appears to be outside the BLOCK_INPUT blocks within x_create_frame. > > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel > >