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

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

Re: Segmentation violation in display_string


From: Kim F. Storm
Subject: Re: Segmentation violation in display_string
Date: Mon, 23 May 2005 23:55:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Milan Zamazal <address@hidden> writes:

> CVS Emacs dated 2005-05-23 often crashes with segmentation violation.

Can you provide some additional info:

p frame_title_ptr
p frame_title_buf
p frame_title_buf_end
pp mode_line_string_list


I suspect that frame_title_ptr somehow got cleared, but I don't see how
it happened.

Can you rerun emacs with the following patch installed, to see if it catches
the error earlier.

Thanks.

*** xdisp.c     23 May 2005 13:55:29 +0200      1.1011
--- xdisp.c     23 May 2005 23:46:14 +0200      
***************
*** 8278,8283 ****
--- 8278,8286 ----
        /* Switch to the buffer of selected window of the frame.  Set up
         frame_title_ptr so that display_mode_element will output into it;
         then display the title.  */
+       if (frame_title_ptr != NULL)
+       abort();
+ 
        obuf = current_buffer;
        set_buffer_internal_1 (XBUFFER (XWINDOW (f->selected_window)->buffer));
        fmt = FRAME_ICONIFIED_P (f) ? Vicon_title_format : Vframe_title_format;
***************
*** 16228,16233 ****
--- 16231,16239 ----
  
    init_iterator (&it, w, -1, -1, NULL, face_id);
  
+   if (frame_title_ptr != NULL)
+     abort();
+ 
    if (!no_props)
      {
        mode_line_string_face = face;


-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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