emacs-devel
[Top][All Lists]
Advanced

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

Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?)


From: Dan Nicolaescu
Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?)
Date: Wed, 29 Aug 2007 10:49:10 -0700

chad brown <address@hidden> writes:

  > Preliminary gdb info on macosx carbon crash:
  > 
  > > Program received signal EXC_BAD_ACCESS, Could not access memory.
  > > Reason: KERN_PROTECTION_FAILURE at address: 0x00000048
  > > 0x0016887c in Fx_create_frame (parameters=8306509) at macfns.c:2830
  > > 2830      if (FRAME_HAS_MINIBUF_P (f)
  > 
  > > (gdb) xbacktrace
  > > "x-create-frame" (0x7ebf4d)
  > > "x-create-frame-with-faces" (0x7ebf8d)
  > > "make-frame" (0x7ebfe5)
  > > "frame-initialize" (0x3861151)
  > > "command-line" (0x395f35b)
  > > "normal-top-level" (0x0)
  > 
  > > (gdb) list
  > > 2825            ;
  > > 2826        }
  > > 2827
  > > 2828      /* Initialize `default-minibuffer-frame' in case this is
  > > the first
  > > 2829         frame on this display device.  */
  > > 2830      if (FRAME_HAS_MINIBUF_P (f)

The crash is not here, f seems to be OK

  > > 2831          && (!FRAMEP (kb->Vdefault_minibuffer_frame)

Can you plese check kb and if the crash is here or ...  

  > > 2832              || !FRAME_LIVE_P (XFRAME (kb- 
  > > >Vdefault_minibuffer_frame))))

 ... here


  > > 2833        kb->Vdefault_minibuffer_frame = frame;
  > > 2834
  > > (gdb) p f
  > > $1 = (struct frame *) 0xa1cd40
  > > (gdb) p* f
  > > $2 = {
  > >   size = 1073742938,
  > >   next = 0xa16310,
  > >   name = 42142243,
  > >   icon_name = 58721289,
  > >   title = 58721289,
  > >   focus_frame = 58721289,
  > >   root_window = 10577012,
  > >   selected_window = 10577012,
  > >   minibuffer_window = 10604212,
  > >   param_alist = 16854077,
  > >   scroll_bars = 58721289,
  > >   condemned_scroll_bars = 58721289,
  > >   menu_bar_items = 58721289,
  > >   face_alist = 58721289,
  > >   menu_bar_vector = 58721289,
  > >   menu_bar_items_used = 0,
  > >   buffer_predicate = 58721289,
  > >   buffer_list = 8353285,
  > >   buried_buffer_list = 58721289,
  > >   menu_bar_window = 58721289,
  > >   tool_bar_window = 10763908,
  > >   tool_bar_items = 58721289,
  > >   desired_tool_bar_string = 58721289,
  > >   current_tool_bar_string = 58721289,
  > >   face_cache = 0xa3fec0,
  > >   namebuf = 0x0,
  > >   current_pool = 0x0,
  > >   desired_pool = 0x0,
  > >   desired_matrix = 0x0,
  > >   current_matrix = 0x0,
  > >   glyphs_initialized_p = 1,
  > >   external_tool_bar = 1,
  > >   tool_bar_lines = 0,
  > >   n_tool_bar_rows = 0,
  > >   n_tool_bar_items = 0,
  > >   decode_mode_spec_buffer = 0xa43fb0 "",
  > >   insert_line_cost = 0x0,
  > >   delete_line_cost = 0x0,
  > >   insert_n_lines_cost = 0x0,
  > >   delete_n_lines_cost = 0x0,
  > >   text_lines = 40,
  > >   text_cols = 80,
  > >   total_lines = 0,
  > >   total_cols = 86,
  > >   new_text_lines = 0,
  > >   new_text_cols = 0,
  > >   left_pos = 0,
  > >   top_pos = 0,
  > >   pixel_height = 640,
  > >   pixel_width = 602,
  > >   x_pixels_diff = 0,
  > >   y_pixels_diff = 0,
  > >   win_gravity = 1,
  > >   size_hint_flags = 3,
  > >   border_width = 0,
  > >   internal_border_width = 0,
  > >   column_width = 7,
  > >   space_width = 7,
  > >   line_height = 16,
  > >   output_method = output_mac,
  > >   terminal = 0xa19ca0,
  > >   output_data = {
  > >     tty = 0xa1cfe0,
  > >     x = 0xa1cfe0,
  > >     w32 = 0xa1cfe0,
  > >     mac = 0xa1cfe0,
  > >     nothing = 10604512
  > >   },
  > >   fringe_cols = 3,
  > >   left_fringe_width = 10,
  > >   right_fringe_width = 11,
  > >   want_fullscreen = 0,
  > >   menu_bar_lines = 0,
  > >   external_menu_bar = 1,
  > >   display_preempted = 0 '\0',
  > >   visible = 0 '\0',
  > >   iconified = 0 '\0',
  > >   async_visible = 0 '\0',
  > >   async_iconified = 0 '\0',
  > >   garbaged = 1 '\001',
  > >   has_minibuffer = 1 '\001',
  > >   wants_modeline = 1 '\001',
  > >   can_have_scroll_bars = 1 '\001',
  > >   vertical_scroll_bar_type = vertical_scroll_bar_right,
  > >   desired_cursor = FILLED_BOX_CURSOR,
  > >   cursor_width = 88484,
  > >   blink_off_cursor = DEFAULT_CURSOR,
  > >   blink_off_cursor_width = 0,
  > >   auto_raise = 0 '\0',
  > >   auto_lower = 0 '\0',
  > >   no_split = 0 '\0',
  > >   explicit_name = 0 '\0',
  > >   window_sizes_changed = 1 '\001',
  > >   message_buf = 0xa402b0 "",
  > >   scroll_bottom_vpos = 0,
  > >   config_scroll_bar_width = 15,
  > >   config_scroll_bar_cols = 3,
  > >   scroll_bar_actual_width = 21,
  > >   cost_calculation_baud_rate = 19200,
  > >   mouse_moved = 0 '\0',
  > >   gamma = 0,
  > >   extra_line_spacing = 0,
  > >   resized_p = 1,
  > >   force_flush_display_p = 0,
  > >   background_pixel = 16777215,
  > >   foreground_pixel = 0,
  > >   default_face_done_p = 0,
  > >   already_hscrolled_p = 0,
  > >   updated_p = 0,
  > >   minimize_tool_bar_window_p = 0
  > > }




reply via email to

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