unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
@ 2008-08-13  5:34 Harald Maier
  2011-09-11 17:18 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Maier @ 2008-08-13  5:34 UTC (permalink / raw)
  To: emacs-pretest-bug

I am using the new "newsticker tree view" under GNU/Linux and GTK+
2.8.11. Very often I get a segmentation fault in the function
update_frame_tool_bar. The core file list the following backtrace (at
the end of the message there is the "bt full" listing):

(gdb) bt
#0  0x00002aca48ffcea7 in kill () from /lib64/libc.so.6
#1  0x00000000004c283a in fatal_error_signal (sig=<value optimized out>) at emacs.c:388
#2  <signal handler called>
#3  0x00000000004beab1 in update_frame_tool_bar (f=0xd65250) at gtkutil.c:3909
#4  0x0000000000446bd3 in redisplay_window (window=18424324, just_this_one_p=0) at xdisp.c:10348
#5  0x0000000000446efa in redisplay_window_0 (window=10077345) at xdisp.c:12300
#6  0x000000000052a53d in internal_condition_case_1 (bfun=0x446ed3 <redisplay_window_0>, arg=18424324, handlers=10021301, hfun=0x4235fa <redisplay_window_error>) at eval.c:1559
#7  0x0000000000432cc3 in redisplay_windows (window=9669009) at xdisp.c:12279
#8  0x0000000000432c89 in redisplay_windows (window=9669009) at xdisp.c:12271
#9  0x0000000000447cf4 in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11845
#10 0x0000000000448315 in redisplay () at xdisp.c:11051
#11 0x00000000004cd8d5 in read_char (commandflag=1, nmaps=7, maps=0x7fff644b9870, prev_event=9669009, used_mouse_menu=0x7fff644b9924, end_time=0x0) at keyboard.c:2652
#12 0x00000000004d10e4 in read_key_sequence (keybuf=0x7fff644b9a40, bufsize=30, prompt=9669009, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9349
#13 0x00000000004d2df8 in command_loop_1 () at keyboard.c:1620
#14 0x000000000052a7af in internal_condition_case (bfun=0x4d2afd <command_loop_1>, handlers=9756257, hfun=0x4cc9d1 <cmd_error>) at eval.c:1511
#15 0x00000000004cbe6f in command_loop_2 () at keyboard.c:1338
#16 0x000000000052a89c in internal_catch (tag=<value optimized out>, func=0x4cbe55 <command_loop_2>, arg=9669009) at eval.c:1247
#17 0x00000000004cc807 in command_loop () at keyboard.c:1317
#18 0x00000000004ccb9b in recursive_edit_1 () at keyboard.c:942
#19 0x00000000004cccdb in Frecursive_edit () at keyboard.c:1004
#20 0x00000000004c2561 in main (argc=1, argv=0x7fff644ba2d8) at emacs.c:1689

Harald


In GNU Emacs 23.0.60.20 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.11)
 of 2008-08-13 on ate-s10-x64
Windowing system distributor `The X.Org Foundation', version 11.0.60900000
configured using `configure  'CFLAGS=-O -g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  desktop-save-mode: t
  cua-mode: t
  recentf-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

(gdb) bt full
#0  0x00002aca48ffcea7 in kill () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000000004c283a in fatal_error_signal (sig=<value optimized out>) at emacs.c:388
No locals.
#2  <signal handler called>
No symbol table info available.
#3  0x00000000004beab1 in update_frame_tool_bar (f=0xd65250) at gtkutil.c:3909
	selected_p = <value optimized out>
	idx = <value optimized out>
	stock_item = {
  stock_id = 0x0, 
  label = 0x19 <Address 0x19 out of bounds>, 
  modifier = 0, 
  keyval = 0, 
  translation_domain = 0x26a00000000 <Address 0x26a00000000 out of bounds>
}
	stock_name = <value optimized out>
	icon_name = 0xffffffff00000000 <Address 0xffffffff00000000 out of bounds>
	wbutton = (GtkWidget *) 0x1eaa9d0
	func = 29995137
	enabled_p = 1
	stock = <value optimized out>
	rtl = <value optimized out>
	icon_size = 175
	img = <value optimized out>
	image = 36437941
	img_id = <value optimized out>
	weventbox = <value optimized out>
	specified_file = 9669009
	i = <value optimized out>
	old_req = {
  width = 31, 
  height = 40
}
	new_req = {
  width = 18424320, 
  height = 0
}
	x = (struct x_output *) 0xd71530
	hmargin = 0
	vmargin = 0
	wtoolbar = (GtkToolbar *) 0xd71ce0
	ti = (GtkToolItem *) 0x11ab770
	dir = GTK_TEXT_DIR_LTR
#4  0x0000000000446bd3 in redisplay_window (window=18424324, just_this_one_p=0) at xdisp.c:10348
	redisplay_menu_p = <value optimized out>
	w = (struct window *) 0x1192200
	f = (struct frame *) 0x99c4a1
	buffer = <value optimized out>
	old = (struct buffer *) 0x2703d50
	startp = {
  charpos = 1, 
  bytepos = 1
}
	update_mode_line = 14045776
	tem = <value optimized out>
	it = {
  window = 1, 
  w = 0x7fff644b8260, 
  f = 0x1, 
  method = 4401692, 
  stop_charpos = 0, 
  end_charpos = 1, 
  s = 0x0, 
  string_nchars = 1682670176, 
  region_beg_charpos = 32767, 
  region_end_charpos = 14045776, 
  redisplay_end_trigger_charpos = 0, 
  multibyte_p = 0, 
  header_line_p = 0, 
  string_from_display_prop_p = 0, 
  ellipsis_p = 0, 
  avoid_cursor_p = 1, 
  dp = 0x43a023, 
  dpvec = 0x7fff644b8260, 
  dpend = 0x100d65250, 
  dpvec_char_len = 1, 
  dpvec_face_id = 0, 
  saved_face_id = 0, 
  ctl_chars = {140734876058208, 1, 1, 1, 14045780, 4294967296, 14061168, 0, 0, 1, 14045780, 4472323, 14061172, 14061168, 14045776, 214748364800}, 
  start = {
    pos = {
      charpos = 50, 
      bytepos = 0
    }, 
    overlay_string_index = 0, 
    string_pos = {
      charpos = 0, 
      bytepos = 0
    }, 
    dpvec_index = -1
  }, 
  current = {
    pos = {
      charpos = -1, 
      bytepos = 0
    }, 
    overlay_string_index = 0, 
    string_pos = {
      charpos = 0, 
      bytepos = 0
    }, 
    dpvec_index = 0
  }, 
  n_overlay_strings = 0, 
  overlay_strings = {0, 0, 4294967295, 0 <repeats 13 times>}, 
  string_overlays = {0, 0, 0, 214748364850, -1, -1, 214748364850, -1, -1, 0, 0, 0, 0, 0, 0, 0}, 
  string = 0, 
  from_overlay = 0, 
  stack = {{
      string = 0, 
      string_nchars = 0, 
      end_charpos = 0, 
      stop_charpos = 0, 
      face_id = 0, 
      u = {
        image = {
          object = 0, 
          slice = {
            x = 0, 
            y = 0, 
            width = 0, 
            height = 0
          }, 
          image_id = 0
        }, 
        comp = {
          object = 0, 
          c = 0, 
          len = 0, 
          cmp_id = 0, 
          cmp_len = 0
        }, 
        stretch = {
          object = 0
        }
      }, 
      position = {
        charpos = 0, 
        bytepos = 0
      }, 
      current = {
        pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        overlay_string_index = 0, 
        string_pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        dpvec_index = 0
      }, 
      from_overlay = 0, 
      area = LEFT_MARGIN_AREA, 
      method = GET_FROM_BUFFER, 
      multibyte_p = 0, 
      string_from_display_prop_p = 0, 
      display_ellipsis_p = 0, 
      avoid_cursor_p = 0, 
      space_width = 0, 
      font_height = 0, 
      voffset = 0
    }, {
      string = 0, 
      string_nchars = 0, 
      end_charpos = 0, 
      stop_charpos = 0, 
      face_id = 0, 
      u = {
        image = {
          object = 0, 
          slice = {
            x = 0, 
            y = 9669009, 
            width = 0, 
            height = 0
          }, 
          image_id = 0
        }, 
        comp = {
          object = 0, 
          c = 0, 
          len = 0, 
          cmp_id = 9669009, 
          cmp_len = 0
        }, 
        stretch = {
          object = 0
        }
      }, 
      position = {
        charpos = 0, 
        bytepos = 0
      }, 
      current = {
        pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        overlay_string_index = 0, 
        string_pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        dpvec_index = 0
      }, 
      from_overlay = 0, 
      area = LEFT_MARGIN_AREA, 
      method = GET_FROM_BUFFER, 
      multibyte_p = 0, 
      string_from_display_prop_p = 0, 
      display_ellipsis_p = 0, 
      avoid_cursor_p = 0, 
      space_width = 0, 
      font_height = 0, 
      voffset = 0
    }, {
      string = 0, 
      string_nchars = 0, 
      end_charpos = 0, 
      stop_charpos = 0, 
      face_id = 0, 
      u = {
        image = {
          object = 0, 
          slice = {
            x = 0, 
            y = 0, 
            width = 0, 
            height = 0
          }, 
          image_id = 0
        }, 
        comp = {
          object = 0, 
          c = 0, 
          len = 0, 
          cmp_id = 0, 
          cmp_len = 0
        }, 
        stretch = {
          object = 0
        }
      }, 
      position = {
        charpos = 0, 
        bytepos = 0
      }, 
      current = {
        pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        overlay_string_index = 0, 
        string_pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        dpvec_index = 0
      }, 
      from_overlay = 0, 
      area = LEFT_MARGIN_AREA, 
      method = GET_FROM_BUFFER, 
      multibyte_p = 0, 
      string_from_display_prop_p = 0, 
      display_ellipsis_p = 0, 
      avoid_cursor_p = 0, 
      space_width = 0, 
      font_height = 0, 
      voffset = 0
    }, {
      string = 0, 
      string_nchars = 0, 
      end_charpos = 0, 
      stop_charpos = 0, 
      face_id = 0, 
      u = {
        image = {
          object = 0, 
          slice = {
            x = 0, 
            y = 0, 
            width = 0, 
            height = 0
          }, 
          image_id = 0
        }, 
        comp = {
          object = 0, 
          c = 0, 
          len = 0, 
          cmp_id = 0, 
          cmp_len = 0
        }, 
        stretch = {
          object = 0
        }
      }, 
      position = {
        charpos = 0, 
        bytepos = 0
      }, 
      current = {
        pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        overlay_string_index = 0, 
        string_pos = {
          charpos = 0, 
          bytepos = 0
        }, 
        dpvec_index = 0
      }, 
      from_overlay = 0, 
      area = LEFT_MARGIN_AREA, 
      method = GET_FROM_BUFFER, 
      multibyte_p = 0, 
      string_from_display_prop_p = 0, 
      display_ellipsis_p = 0, 
      avoid_cursor_p = 0, 
      space_width = 0, 
      font_height = 0, 
      voffset = 0
    }}, 
  sp = 0, 
  selective = 0, 
  what = IT_CHARACTER, 
  face_id = 0, 
  selective_display_ellipsis_p = 0, 
  ctl_arrow_p = 0, 
  line_wrap = TRUNCATE, 
  face_box_p = 0, 
  start_of_box_run_p = 0, 
  end_of_box_run_p = 0, 
  overlay_strings_at_end_processed_p = 0, 
  ignore_overlay_strings_at_pos_p = 0, 
  glyph_not_available_p = 0, 
  starts_in_middle_of_char_p = 0, 
  face_before_selective_p = 0, 
  constrain_row_ascent_descent_p = 0, 
  base_face_id = 0, 
  c = 0, 
  len = 0, 
  cmp_id = 0, 
  cmp_len = 0, 
  char_to_display = 0, 
  image_id = 0, 
  slice = {
    x = 0, 
    y = 0, 
    width = 0, 
    height = 0
  }, 
  space_width = 0, 
  voffset = 0, 
  font_height = 0, 
  object = 0, 
  position = {
    charpos = 0, 
    bytepos = 0
  }, 
  tab_width = 0, 
  truncation_pixel_width = 0, 
  continuation_pixel_width = 0, 
  first_visible_x = 0, 
  last_visible_x = 0, 
  last_visible_y = 0, 
  extra_line_spacing = 0, 
  max_extra_line_spacing = 0, 
  override_ascent = 0, 
  override_descent = 0, 
  override_boff = 0, 
  glyph_row = 0x0, 
  area = LEFT_MARGIN_AREA, 
  nglyphs = 0, 
  pixel_width = 0, 
  ascent = 0, 
  descent = 0, 
  max_ascent = 0, 
  max_descent = 0, 
  phys_ascent = 0, 
  phys_descent = 0, 
  max_phys_ascent = 0, 
  max_phys_descent = 4, 
  current_x = 0, 
  continuation_lines_width = 3, 
  current_y = 2, 
  first_vpos = 8, 
  vpos = 0, 
  hpos = 33, 
  left_user_fringe_bitmap = 1, 
  right_user_fringe_bitmap = 0, 
  left_user_fringe_face_id = 0, 
  right_user_fringe_face_id = 0
}
	current_matrix_up_to_date_p = 0
	used_current_matrix_p = 0
	buffer_unchanged_p = 0
	temp_scroll_step = 0
	rc = 0
	centering_position = 18424320
	last_line_misfit = 0
	beg_unchanged = -1
	end_unchanged = 0
#5  0x0000000000446efa in redisplay_window_0 (window=10077345) at xdisp.c:12300
No locals.
#6  0x000000000052a53d in internal_condition_case_1 (bfun=0x446ed3 <redisplay_window_0>, arg=18424324, handlers=10021301, hfun=0x4235fa <redisplay_window_error>) at eval.c:1559
	val = <value optimized out>
	c = {
  tag = 9669009, 
  val = 9669009, 
  next = 0x7fff644b9bc0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {18424320, -68979014637564025, 0, 18424320, 14045776, 1, -69084458855677129, -68979014656499591}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {9777297, 9777296, 6400000, 128, 9669009, 9669009, 5413972, 32901920, 0, 14045776, 12505140, 14061168, 0, 0, 4490346, 0}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x7fff644b9b90, 
  lisp_eval_depth = 0, 
  pdlcount = 4, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 10021301, 
  var = 9669009, 
  chosen_clause = 20516292, 
  tag = 0x7fff644b87d0, 
  next = 0x7fff644b9b90
}
#7  0x0000000000432cc3 in redisplay_windows (window=9669009) at xdisp.c:12279
	w = (struct window *) 0x1192200
#8  0x0000000000432c89 in redisplay_windows (window=9669009) at xdisp.c:12271
	w = (struct window *) 0x10a4e20
#9  0x0000000000447cf4 in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11845
	f = (struct frame *) 0xd65250
	tail = 9669009
	frame = <value optimized out>
	w = (struct window *) 0x1192200
	pause = 0
	must_finish = 1
	tlbufpos = {
  charpos = 1, 
  bytepos = 0
}
	number_of_visible_frames = 1
	count = 2
	polling_stopped_here = 0
	old_frame = 14045780
	consider_all_windows_p = 1
#10 0x0000000000448315 in redisplay () at xdisp.c:11051
No locals.
#11 0x00000000004cd8d5 in read_char (commandflag=1, nmaps=7, maps=0x7fff644b9870, prev_event=9669009, used_mouse_menu=0x7fff644b9924, end_time=0x0) at keyboard.c:2652
	c = 9669009
	local_getcjmp = {{
    __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, 
    __mask_was_saved = 0, 
    __saved_mask = {
      __val = {0 <repeats 16 times>}
    }
  }}
	save_jump = {{
    __jmpbuf = {140734876063392, 5713695, 140734876063224, 8, 140734876063808, 40910164, 0, 8}, 
    __mask_was_saved = 1, 
    __saved_mask = {
      __val = {5109983, 140734876063808, 5737378, 0, 5395440, 32522442, 32447818, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }
  }}
	key_already_recorded = 0
	tem = 14045776
	save = <value optimized out>
	previous_echo_area_message = 9669009
	also_record = 9669009
	reread = 0
	polling_stopped_here = <value optimized out>
	orig_kboard = (struct kboard *) 0x17b15e0
#12 0x00000000004d10e4 in read_key_sequence (keybuf=0x7fff644b9a40, bufsize=30, prompt=9669009, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9349
	interrupted_kboard = (KBOARD *) 0x17b15e0
	from_string = 9669009
	count = 2
	t = 0
	echo_start = 0
	keys_start = 0
	nmaps = 7
	nmaps_allocated = 7
	defs = (Lisp_Object * volatile) 0x7fff644b9820
	submaps = (Lisp_Object * volatile) 0x7fff644b9870
	orig_local_map = 41106229
	orig_keymap = 17162517
	localized_local_map = 0
	first_binding = 0
	first_unbound = 31
	mock_input = 0
	fkey = {
  parent = 20679541, 
  map = 20679541, 
  start = 0, 
  end = 0
}
	keytran = {
  parent = 9661205, 
  map = 9661205, 
  start = 0, 
  end = 0
}
	indec = {
  parent = 20679637, 
  map = 20679637, 
  start = 0, 
  end = 0
}
	shift_translated = 0
	delayed_switch_frame = 9669009
	original_uppercase = 5361625
	original_uppercase_position = -1
	starting_buffer = (struct buffer *) 0x2703d50
	fake_prefixed_keys = 9669009
#13 0x00000000004d2df8 in command_loop_1 () at keyboard.c:1620
	cmd = <value optimized out>
	lose = 32901824
	nonundocount = 0
	keybuf = {1073742784, 32901824, 32901760, 9669105, -1, 4294967295, 4294967295, 9669009, 9880227, 9669009, 9669105, 9756305, 140734876064480, 5533971, 35149701, 140734876064528, 9669009, 140734876066512, 4294967295, 0, 35149701, 5032368, 9669009, 35149701, 9669009, 5032675, 9668864, 20361153, 8144949, 10512592}
	i = 32901824
	prev_modiff = 2034
	prev_buffer = (struct buffer *) 0xaa3b50
	already_adjusted = 0
#14 0x000000000052a7af in internal_condition_case (bfun=0x4d2afd <command_loop_1>, handlers=9756257, hfun=0x4cc9d1 <cmd_error>) at eval.c:1511
	val = <value optimized out>
	c = {
  tag = 9669009, 
  val = 9669009, 
  next = 0x7fff644b9d00, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {10512592, -68979014655300505, 10512624, 140734876066512, 4294967295, 0, -69084458855669817, -68979014656498701}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {7063432, 10512624, 140734876066512, 4294967295, 0, 0, 47048252420261, 1, 0, 0, 47048252406391, 47048296343280, 10512592, 10512592, 47048252441794, 0}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 9756257, 
  var = 9669009, 
  chosen_clause = 9669105, 
  tag = 0x7fff644b9bc0, 
  next = 0x0
}
#15 0x00000000004cbe6f in command_loop_2 () at keyboard.c:1338
	val = 608
#16 0x000000000052a89c in internal_catch (tag=<value optimized out>, func=0x4cbe55 <command_loop_2>, arg=9669009) at eval.c:1247
	c = {
  tag = 9737553, 
  val = 9669009, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {10512592, -68979014655300505, 10512624, 140734876066512, 4294967295, 0, -69084458855671737, -68979014656496601}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {10069090, 10074992, 10069088, 9709264, 10074993, 9669009, 5361101, 9867096, 4294967296, 9669057, 10074992, 10074993, 9669009, 140734876066512, 10069088, 0}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#17 0x00000000004cc807 in command_loop () at keyboard.c:1317
No locals.
#18 0x00000000004ccb9b in recursive_edit_1 () at keyboard.c:942
	val = <value optimized out>
#19 0x00000000004cccdb in Frecursive_edit () at keyboard.c:1004
	buffer = 9669009
#20 0x00000000004c2561 in main (argc=1, argv=0x7fff644ba2d8) at emacs.c:1689
	dummy = 47048296348728
	stack_bottom_variable = 0 '\0'
	do_initial_setlocale = 1
	skip_args = 0
	rlim = {
  rlim_cur = 8720000, 
  rlim_max = 18446744073709551615
}
	no_loadup = 0
	junk = 0x0






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
@ 2008-08-13 14:50 Chong Yidong
  2008-08-15  6:45 ` Harald Maier
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-08-13 14:50 UTC (permalink / raw)
  To: Harald Maier; +Cc: 707

> I am using the new "newsticker tree view" under GNU/Linux and GTK+
> 2.8.11. Very often I get a segmentation fault in the function
> update_frame_tool_bar.

Could you do two things:

1. Recompile without optimization (CFLAGS="-g" ./configure; make)

2. Trigger the crash again, and in gdb, do

      f 3'
      p stock
      xstring

   Please give the results, as well as the new backtrace.  Thanks.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
  2008-08-13 14:50 Chong Yidong
@ 2008-08-15  6:45 ` Harald Maier
  2008-08-15 13:42   ` Chong Yidong
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Maier @ 2008-08-15  6:45 UTC (permalink / raw)
  To: bug-gnu-emacs

Chong Yidong <cyd@stupidchicken.com> writes:

>> I am using the new "newsticker tree view" under GNU/Linux and GTK+
>> 2.8.11. Very often I get a segmentation fault in the function
>> update_frame_tool_bar.
>
> Could you do two things:
>
> 1. Recompile without optimization (CFLAGS="-g" ./configure; make)

Without optimization the problem disapears. See too bug number 601.

Harald








^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
  2008-08-15  6:45 ` Harald Maier
@ 2008-08-15 13:42   ` Chong Yidong
  2008-08-15 19:40     ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-08-15 13:42 UTC (permalink / raw)
  To: Harald Maier; +Cc: 707

Harald Maier <harald@maierh.de> writes:

> Chong Yidong <cyd@stupidchicken.com> writes:
>
>>> I am using the new "newsticker tree view" under GNU/Linux and GTK+
>>> 2.8.11. Very often I get a segmentation fault in the function
>>> update_frame_tool_bar.
>>
>> Could you do two things:
>>
>> 1. Recompile without optimization (CFLAGS="-g" ./configure; make)
>
> Without optimization the problem disapears. See too bug number 601.

Looks like a compiler bug.  Upgrading to a newer version of gcc might
fix it.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
  2008-08-15 13:42   ` Chong Yidong
@ 2008-08-15 19:40     ` Stefan Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2008-08-15 19:40 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Harald Maier, 707

>>>> I am using the new "newsticker tree view" under GNU/Linux and GTK+
>>>> 2.8.11. Very often I get a segmentation fault in the function
>>>> update_frame_tool_bar.
>>> 
>>> Could you do two things:
>>> 
>>> 1. Recompile without optimization (CFLAGS="-g" ./configure; make)
>> 
>> Without optimization the problem disapears. See too bug number 601.

> Looks like a compiler bug.  Upgrading to a newer version of gcc might
> fix it.

In 90% of the cases, if a program crashes when compiled with
optimization but runs fine when compiled without optimization, the
problem is actually not a compiler bug.  It's just that the C language
has many "undefined" behaviors, and programmers tend to assume a lot
more than the language actually guarantees.


        Stefan






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
  2008-08-13  5:34 bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar Harald Maier
@ 2011-09-11 17:18 ` Lars Magne Ingebrigtsen
  2011-09-25 21:43   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 17:18 UTC (permalink / raw)
  To: Harald Maier; +Cc: 707

Harald Maier <Harald@Maierh.de> writes:

> I am using the new "newsticker tree view" under GNU/Linux and GTK+
> 2.8.11. Very often I get a segmentation fault in the function
> update_frame_tool_bar. The core file list the following backtrace (at
> the end of the message there is the "bt full" listing):
>
> (gdb) bt
> #0  0x00002aca48ffcea7 in kill () from /lib64/libc.so.6
> #1  0x00000000004c283a in fatal_error_signal (sig=<value optimized out>) at emacs.c:388

Is this still an issue in Emacs 23 or 24?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar
  2011-09-11 17:18 ` Lars Magne Ingebrigtsen
@ 2011-09-25 21:43   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-25 21:43 UTC (permalink / raw)
  To: Harald Maier; +Cc: 707

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Harald Maier <Harald@Maierh.de> writes:
>
>> I am using the new "newsticker tree view" under GNU/Linux and GTK+
>> 2.8.11. Very often I get a segmentation fault in the function
>> update_frame_tool_bar. The core file list the following backtrace (at
>> the end of the message there is the "bt full" listing):
>>
>> (gdb) bt
>> #0  0x00002aca48ffcea7 in kill () from /lib64/libc.so.6
>> #1 0x00000000004c283a in fatal_error_signal (sig=<value optimized
>> out>) at emacs.c:388
>
> Is this still an issue in Emacs 23 or 24?

More information was requested, but was apparently not given, so I'm
closing this bug report.  If this is still a problem, please reopen the
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-25 21:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13  5:34 bug#707: 23.0.60; segmentation fault in gtkutil.c:update_frame_tool_bar Harald Maier
2011-09-11 17:18 ` Lars Magne Ingebrigtsen
2011-09-25 21:43   ` Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2008-08-13 14:50 Chong Yidong
2008-08-15  6:45 ` Harald Maier
2008-08-15 13:42   ` Chong Yidong
2008-08-15 19:40     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).