[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SEGV in X display code
From: |
Robert Mecklenburg |
Subject: |
SEGV in X display code |
Date: |
Wed, 10 Nov 2004 11:04:02 -0700 |
The emacs frame was obscured by another (non-emacs) window and I
clicked in the emacs frame to raise the frame and got this:
Program received signal SIGSEGV, Segmentation fault.
0x40226df2 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6
(gdb) where
#0 0x40226df2 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6
#1 0x40227ec8 in _XRead () from /usr/X11R6/lib/libX11.so.6
#2 0x40228990 in _XReply () from /usr/X11R6/lib/libX11.so.6
#3 0x4020f776 in XAllocColor () from /usr/X11R6/lib/libX11.so.6
#4 0x080c6ffa in x_alloc_nearest_color_1 (dpy=0x854c6c8, cmap=32,
color=0xbfffde70) at xterm.c:1699
#5 0x080c7458 in x_alloc_lighter_color (f=0x8dd2c38, display=0x854c6c8,
cmap=32, pixel=0xbfffdeec, factor=1,
delta=32768) at xterm.c:1895
#6 0x080c768b in x_setup_relief_color (f=0x8dd2c38, relief=0x86623c8,
factor=Unhandled dwarf expression opcode
) at xterm.c:1958
#7 0x080c77b1 in x_setup_relief_colors (s=0xbfffe140) at xterm.c:2004
#8 0x080c7d63 in x_draw_glyph_string_box (s=0xbfffe140) at xterm.c:2170
#9 0x080c903d in x_draw_glyph_string (s=0xbfffe140) at xterm.c:2749
#10 0x0807f58c in draw_glyphs (w=0x8de1310, x=308, row=0x8d54408,
area=TEXT_AREA, start=8, end=9,
hl=DRAW_NORMAL_TEXT, overlaps_p=0) at xdisp.c:18201
#11 0x0808495c in x_write_glyphs (start=0x92f3fd8, len=1) at xdisp.c:19475
#12 0x0805511f in update_text_area (w=0x8de1310, vpos=0) at dispnew.c:4424
#13 0x0805528c in update_window_line (w=0x8de1310, vpos=0,
mouse_face_overwritten_p=0xbfffe3f8)
at dispnew.c:4512
#14 0x08054934 in update_window (w=0x8de1310, force_p=1) at dispnew.c:4154
#15 0x08054359 in update_frame (f=0x8dd2c38, force_p=0, inhibit_hairy_id_p=0)
at dispnew.c:3816
#16 0x0806f7b0 in redisplay_internal (preserve_echo_area=1) at xdisp.c:10222
#17 0x080700fa in redisplay_preserve_echo_area (from_where=5) at xdisp.c:10422
#18 0x080f2ff2 in read_char (commandflag=1, nmaps=4, maps=0xbfffec90,
prev_event=137433105,
used_mouse_menu=0xbfffecc8) at keyboard.c:2529
#19 0x080faa11 in read_key_sequence (keybuf=0xbfffedf0, bufsize=30,
prompt=137433105, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8786
#20 0x080f0b47 in command_loop_1 () at keyboard.c:1528
#21 0x08153aad in internal_condition_case (bfun=0x80f09a0 <command_loop_1>,
handlers=137494073,
hfun=0x80f04a0 <cmd_error>) at eval.c:1367
#22 0x080f07cb in command_loop_2 () at keyboard.c:1309
#23 0x081535ea in internal_catch (tag=137488081, func=0x80f07b0
<command_loop_2>, arg=137433105)
at eval.c:1128
#24 0x080f0787 in command_loop () at keyboard.c:1288
#25 0x080f01d2 in recursive_edit_1 () at keyboard.c:981
#26 0x080f031f in Frecursive_edit () at keyboard.c:1042
#27 0x080ee92f in main (argc=3, argv=0xbffff404) at emacs.c:1736
(gdb) xbacktrace
(gdb) frame 7
#7 0x080c77b1 in x_setup_relief_colors (s=0xbfffe140) at xterm.c:2004
2004 x_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000,
(gdb) p *s
$1 = {
x = 274,
y = 0,
ybase = 15,
width = 34,
background_width = 640,
height = 36,
left_overhang = 0,
right_overhang = 0,
f = 0x8dd2c38,
w = 0x8de1310,
display = 0x854c6c8,
window = 4195522,
row = 0x8d54408,
area = TEXT_AREA,
char2b = 0x0,
nchars = 0,
hl = DRAW_NORMAL_TEXT,
face = 0x85a6640,
font = 0x8521058,
font_info = 0x0,
cmp = 0x0,
gidx = 0,
extends_to_end_of_line_p = 1,
background_filled_p = 1,
two_byte_p = 0,
font_not_found_p = 0,
stippled_p = 0,
for_overlaps_p = 0,
gc = 0x9794a48,
first_glyph = 0x92f3fd8,
img = 0x8d469a0,
slice = {
x = 0,
y = 0,
width = 24,
height = 24
},
next = 0x0,
prev = 0x0
}
(gdb) frame 4
#4 0x080c6ffa in x_alloc_nearest_color_1 (dpy=0x854c6c8, cmap=32,
color=0xbfffde70) at xterm.c:1699
1699 rc = XAllocColor (dpy, cmap, color);
(gdb) p *color
$2 = {
pixel = 1074642988,
red = 58904,
green = 58904,
blue = 58904,
flags = -1 '\377',
pad = -65 '\277'
}
(gdb) info locals
rc = Variable "rc" is not available.
(gdb) frame 5
#5 0x080c7458 in x_alloc_lighter_color (f=0x8dd2c38, display=0x854c6c8,
cmap=32, pixel=0xbfffdeec, factor=1,
delta=32768) at xterm.c:1895
1895 success_p = x_alloc_nearest_color (f, cmap, &new);
(gdb) info locals
dimness = 13
min_delta = Variable "min_delta" is not available.
(gdb) p *f
$3 = {
size = 1073742931,
next = 0x8df77a0,
name = 148053259,
icon_name = 137433105,
title = 137433105,
focus_frame = 137433105,
root_window = 148532956,
selected_window = 148532956,
minibuffer_window = 140881244,
param_alist = 148207653,
scroll_bars = 148869804,
condemned_scroll_bars = 137433105,
menu_bar_items = 140936612,
face_alist = 158806173,
menu_bar_vector = 149418412,
menu_bar_items_used = 0,
buffer_predicate = 137433105,
buffer_list = 140679661,
menu_bar_window = 137433105,
tool_bar_window = 148771604,
tool_bar_items = 148310324,
desired_tool_bar_string = 148228459,
current_tool_bar_string = 140966531,
face_cache = 0x85cf300,
namebuf = 0x8cb76c8 "emacs",
current_pool = 0x0,
desired_pool = 0x0,
desired_matrix = 0x0,
current_matrix = 0x0,
glyphs_initialized_p = 1,
tool_bar_lines = 3,
n_tool_bar_items = 9,
decode_mode_spec_buffer = 0x8655120 '-' <repeats 200 times>...,
insert_line_cost = 0x993ee00,
delete_line_cost = 0x8cd3c90,
insert_n_lines_cost = 0x97a4a88,
delete_n_lines_cost = 0x8dc5750,
text_lines = 82,
text_cols = 146,
total_lines = 0,
total_cols = 152,
new_text_lines = 0,
new_text_cols = 0,
left_pos = 14,
top_pos = 14,
pixel_height = 1092,
pixel_width = 914,
x_pixels_diff = 5,
y_pixels_diff = 50,
win_gravity = 1,
size_hint_flags = 6,
border_width = 2,
internal_border_width = 1,
column_width = 6,
line_height = 13,
output_method = output_x_window,
output_data = {
x = 0x86622e8,
w32 = 0x86622e8,
mac = 0x86622e8,
nothing = 140911336
},
fringe_cols = 3,
left_fringe_width = 9,
right_fringe_width = 9,
kboard = 0x8543600,
want_fullscreen = 0,
menu_bar_lines = 0,
external_menu_bar = 1,
display_preempted = 0 '\0',
visible = 1 '\001',
iconified = 0 '\0',
async_visible = 1 '\001',
async_iconified = 0 '\0',
garbaged = 0 '\0',
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 = -1073749176,
blink_off_cursor = DEFAULT_CURSOR,
blink_off_cursor_width = 0,
auto_raise = 0 '\0',
auto_lower = 0 '\0',
no_split = 1 '\001',
explicit_name = 0 '\0',
window_sizes_changed = 0 '\0',
message_buf = 0x8e224f8
"address@hidden@cklen/work/trunk/wsr-server-builder/\003",
scroll_bottom_vpos = -1,
config_scroll_bar_width = 16,
config_scroll_bar_cols = 3,
scroll_bar_actual_width = 18,
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
}
In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2004-11-08 on oops.internal.realmsys.com
Distributor `Mandrake Linux (XFree86 4.3, patch level 30mdk)', version
11.0.40300001
configured using `configure '--with-x11''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: en_US
value of $LC_CTYPE: en_US
value of $LC_MESSAGES: en_US
value of $LC_MONETARY: en_US
value of $LC_NUMERIC: en_US
value of $LC_TIME: en_US
value of $LANG: en_US
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
show-paren-mode: t
eldoc-mode: t
auto-image-file-mode: t
recentf-mode: t
auto-compression-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-p C-p C-k C-k C-k C-k C-x C-s C-x o <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
Loading code-conversion (source)...done
Loading core-utils (source)...done
Loading /usr/local/share/emacs/site-lisp/local/local.el (source)...done
Loading ~/bin/emacs-helpers (source)...done
Starting the BeanShell. Please wait...
Loading semantic-el...done
Loading jit-lock...done
Mark set [2 times]
Wrote /home/mecklen/.worklog
Loading emacsbug...done
--
Robert
- SEGV in X display code,
Robert Mecklenburg <=