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

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

Crash on delete-frame


From: Marshall, Simon
Subject: Crash on delete-frame
Date: Wed, 13 Dec 2006 17:00:18 -0000

This is with CVS emacs as of 2006-12-11.

In GNU Emacs 22.0.91.8 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2006-12-11 on perth
X server distributor `Hummingbird Ltd.', version 11.0.100015
configured using `configure
'--prefix=/rvcarma/marshals/software/slash/usr/local'
'--with-x-toolkit=motif' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_GB.ISO8859-1
  value of $LC_CTYPE: en_GB.ISO8859-1
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: en_GB.ISO8859-1
  value of $LC_NUMERIC: en_GB.ISO8859-1
  value of $LC_TIME: en_GB.ISO8859-1
  value of $LANG: en_GB.ISO8859-1
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

I'd been editing a fair while, had ~10 frames open, double-clicked on the
WM's "close" button for one frame and *boom*.  The frame in question
contained two windows, one C++ buffer and one Calendar buffer.  

I've no idea if it will be of any use whatsoever, but here's a backtrace.
Let me know if there's anything I should look at.  I see that the coredump
appears to have occurred when setting the focus, so perhaps it's nothing to
do with emacs?

(gdb) where
#0  0xfed201cc in _libc_kill () from /usr/lib/libc.so.1
#1  0x0017c778 in fatal_error_signal (sig=11) at emacs.c:415
#2  <signal handler called>
#3  0xff0879c8 in XtSetKeyboardFocus () from /usr/lib/libXt.so.4
#4  0xff08c56c in XtCallCallbackList () from /usr/lib/libXt.so.4
#5  0xff0926c4 in Recursive () from /usr/lib/libXt.so.4
#6  0xff092718 in Recursive () from /usr/lib/libXt.so.4
#7  0xff0926c4 in Recursive () from /usr/lib/libXt.so.4
#8  0xff0926c4 in Recursive () from /usr/lib/libXt.so.4
#9  0xff092b3c in XtPhase2Destroy () from /usr/lib/libXt.so.4
#10 0xff0928b4 in _XtDoPhase2Destroy () from /usr/lib/libXt.so.4
#11 0xff092648 in XtDestroyWidget () from /usr/lib/libXt.so.4
#12 0x00145d28 in x_free_frame_resources (f=0x217ea00) at xterm.c:9196
#13 0x00146198 in x_destroy_window (f=0x217ea00) at xterm.c:9291
#14 0x0005d318 in Fdelete_frame (frame=35121668, force=4757553) at
frame.c:1307
#15 0x00258630 in Ffuncall (nargs=3, args=0xffbed3c0) at eval.c:3000
#16 0x002b1b80 in Fbyte_code (bytestr=3739131, vector=3739148, maxdepth=40)
at bytecode.c:679
#17 0x00259270 in funcall_lambda (fun=3739092, nargs=1, arg_vector=Cannot
access memory at address 0x4c
) at eval.c:3184
#18 0x00258968 in Ffuncall (nargs=2, args=0xffbed788) at eval.c:3043
#19 0x00250d3c in Fcall_interactively (function=5026585,
record_flag=4757505, keys=35215252) at callint.c:860
#20 0x0019a2fc in Fcommand_execute (cmd=5026585, record_flag=4757505,
keys=35215252, special=4757553) at keyboard.c:9876
#21 0x00188064 in read_char (commandflag=1, nmaps=3, maps=0xffbedc68,
prev_event=4757505, used_mouse_menu=0xffbeddd8, end_time=0x0) at
keyboard.c:3060
#22 0x00197310 in read_key_sequence (keybuf=0xffbedfe4, bufsize=30,
prompt=4757505, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:8978
#23 0x001824a4 in command_loop_1 () at keyboard.c:1603
#24 0x00254810 in internal_condition_case (bfun=0x181ef4 <command_loop_1>,
handlers=4821641, hfun=0x181308 <cmd_error>) at eval.c:1481
#25 0x001819e0 in command_loop_2 () at keyboard.c:1326
#26 0x00253f68 in internal_catch (tag=4815873, func=0x1819b4
<command_loop_2>, arg=4757505) at eval.c:1222
#27 0x00181954 in command_loop () at keyboard.c:1305
#28 0x00180e30 in recursive_edit_1 () at keyboard.c:1003
#29 0x001810a4 in Frecursive_edit () at keyboard.c:1064
#30 0x0017eac4 in main (argc=1, argv=0xffbee654) at emacs.c:1779
(gdb) up 12
#12 0x00145d28 in x_free_frame_resources (f=0x217ea00) at xterm.c:9196
(gdb) list
9191    #endif
9192    
9193    #ifdef USE_X_TOOLKIT
9194          if (f->output_data.x->widget)
9195            {
9196              XtDestroyWidget (f->output_data.x->widget);
9197              f->output_data.x->widget = NULL;
9198            }
9199          /* Tooltips don't have widgets, only a simple X window, even
if
9200             we are using a toolkit.  */
(gdb) p *f->output_data.x->widget
$1 = {core = {self = 0x1d2d200, widget_class = 0xff0c6a14, parent = 0x0,
xrm_name = 168, being_destroyed = 1 '\001', destroy_callbacks = 0x209afc0,
constraints = 0x0, x = 153, y = 358, width = 680, height = 546, border_width
= 0, managed = 0 '\0', sensitive = 1 '\001', ancestor_sensitive = 1 '\001',
event_table = 0x212e8e0, tm = {translations = 0x0, proc_table = 0x0,
current_state = 0x0, lastEventTime = 0}, accelerators = 0x0, border_pixel =
0, border_pixmap = 2, popup_list = 0x0, num_popups = 0, name = 0x724400
"cemacs", screen = 0x4ef100, colormap = 32, window = 67402473, depth = 24,
background_pixel = 12566463, background_pixmap = 2, visible = 1 '\001',
mapped_when_managed = 0 '\0'}}
(gdb) p *f->output_data.x
$2 = {menubar_height = 30, toolbar_height = 0, border_tile = 67402482,
normal_gc = 0x1c69380, reverse_gc = 0x2153b00, cursor_gc = 0x1f04a00,
window_desc = 67402475, icon_desc = 0, parent_desc = 46138726, widget =
0x1d2d200, column_widget = 0x21d1800, edit_widget = 0xe14300, menubar_widget
= 0x222cc00, icon_bitmap = 1, font = 0x533600, baseline_offset = 0, fontset
= 2, background_pixel = 15794175, foreground_pixel = 0, cursor_pixel =
4199418, border_pixel = 0, mouse_pixel = 4199418, cursor_foreground_pixel =
15794175, scroll_bar_foreground_pixel = 4294967295,
scroll_bar_background_pixel = 12566463, scroll_bar_top_shadow_pixel =
4294967295, scroll_bar_bottom_shadow_pixel = 4294967295, text_cursor =
67403214, nontext_cursor = 67403215, modeline_cursor = 67403217, hand_cursor
= 67403218, hourglass_cursor = 67403216, horizontal_drag_cursor = 67403219,
hourglass_window = 67404089, hourglass_p = 0, needs_exposure = 0, wm_hints =
{flags = 1, input = 1, initial_state = 0, icon_pixmap = 67108906,
icon_window = 0, icon_x = 0, icon_y = 0, icon_mask = 67108908, window_group
= 0}, display_info = 0x7a9800, saved_menu_event = 0x21e9e80, id = 17,
explicit_parent = 0 '\0', asked_for_visible = 1 '\001', has_been_visible = 1
'\001', xic = 0x0, xic_style = 1032, xic_xfs = 0x0, xic_base_fontname = 0x0,
black_relief = {gc = 0x21e9500, pixel = 7178649, allocated_p = 1},
white_relief = {gc = 0x21e9a00, pixel = 14352383, allocated_p = 1},
relief_background = 11920639, wait_for_wm = 1, x_pixels_outer_diff = 6,
y_pixels_outer_diff = 25, focus_state = 3, move_offset_top = 0,
move_offset_left = 0, left_before_move = 0, top_before_move = 0}
(gdb) p *f
$3 = {size = 1073742934, next = 0x21a0900, name = 23519987, icon_name =
4757505, title = 4757505, focus_frame = 4757505, root_window = 4757505,
selected_window = 23980548, minibuffer_window = 12195844, param_alist =
34106645, scroll_bars = 14878020, condemned_scroll_bars = 4757505,
menu_bar_items = 28092420, face_alist = 33465349, menu_bar_vector =
36737028, menu_bar_items_used = 0, buffer_predicate = 4757505, buffer_list =
24106389, menu_bar_window = 4757505, tool_bar_window = 4757505,
tool_bar_items = 4757505, desired_tool_bar_string = 4757505,
current_tool_bar_string = 4757505, face_cache = 0x212e800, namebuf =
0x132d6c8 "\002\023\224ΓΈ", current_pool = 0x0, desired_pool = 0x0,
desired_matrix = 0x0, current_matrix = 0x0, glyphs_initialized_p = 0,
tool_bar_lines = 0, n_tool_bar_rows = 0, n_tool_bar_items = 0,
decode_mode_spec_buffer = 0x21d1000 "\002\035\022", insert_line_cost =
0xe14400, delete_line_cost = 0x1aca400, insert_n_lines_cost = 0x1aca700,
delete_n_lines_cost = 0x1e77800, text_lines = 39, text_cols = 79,
total_lines = 0, total_cols = 84, new_text_lines = 0, new_text_cols = 0,
left_pos = 147, top_pos = 333, pixel_height = 546, pixel_width = 680,
x_pixels_diff = 7, y_pixels_diff = 56, win_gravity = 1, size_hint_flags = 8,
border_width = 2, internal_border_width = 1, column_width = 8, space_width =
8, line_height = 13, output_method = output_x_window, output_data = {x =
0x1c36a00, w32 = 0x1c36a00, mac = 0x1c36a00, nothing = 29583872},
fringe_cols = 2, left_fringe_width = 8, right_fringe_width = 8, kboard =
0x735600, 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 = 0 '\0',
has_minibuffer = 0 '\0', wants_modeline = 1 '\001', can_have_scroll_bars = 1
'\001', vertical_scroll_bar_type = vertical_scroll_bar_left, desired_cursor
= FILLED_BOX_CURSOR, cursor_width = 4740381, 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 =
0 '\0', message_buf = 0x21d1c00 "\0029\206", scroll_bottom_vpos = -1,
config_scroll_bar_width = 18, config_scroll_bar_cols = 3,
scroll_bar_actual_width = 24, cost_calculation_baud_rate = 19200,
mouse_moved = 1 '\001', gamma = 0, extra_line_spacing = 0, resized_p = 0,
force_flush_display_p = 0, default_face_done_p = 1, already_hscrolled_p = 0,
updated_p = 1}
(gdb) 




reply via email to

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