emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs crashes when displaying the Euro character


From: Nick Roberts
Subject: Re: Emacs crashes when displaying the Euro character
Date: Sat, 2 Sep 2006 10:16:39 +1200

 >     #2  0x00000000004420d4 in redisplay_internal (preserve_echo_area=17910) 
 > at xdisp.c:10791
 > 

> Would you please show me the code on line 10791 in your version?


  struct frame *sf = SELECTED_FRAME ();

> I want to figure out why redisplay_internal called abort.  I can't see
> a call to abort.

I had figured out that much.  SELECTED_FRAME is defined in frame.h as:

#define SELECTED_FRAME()                                \
     ((FRAMEP (selected_frame)                          \
       && FRAME_LIVE_P (XFRAME (selected_frame)))       \
      ? XFRAME (selected_frame)                         \
      : (abort (), (struct frame *) 0))
         ^^^^^

In Milan's earlier trace, he had:

        w = (struct window *) 0xf68140

redisplay_internal has:

  struct window *w = XWINDOW (selected_window);
  struct frame *f = XFRAME (w->frame);

but Emacs annot access memory at address 0xf68140, of course (assuming
selected_frame is w->frame).

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]