From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes, 07nov16 Date: Fri, 23 Nov 2007 12:31:14 +0000 (UTC) Message-ID: References: <4742CE2C.8000809@swipnet.se> <4743E151.9050405@swipnet.se> <47452A98.8000408@swipnet.se> <47458076.6050408@swipnet.se> <4746A143.50300@swipnet.se> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195821097 9433 80.91.229.12 (23 Nov 2007 12:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 12:31:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 13:31:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvXh1-0005nd-UD for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 13:31:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvXgn-00014G-DG for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 07:31:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvXgh-00012V-59 for emacs-devel@gnu.org; Fri, 23 Nov 2007 07:31:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvXgg-00012B-DY for emacs-devel@gnu.org; Fri, 23 Nov 2007 07:31:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvXgg-000123-6z for emacs-devel@gnu.org; Fri, 23 Nov 2007 07:31:14 -0500 Original-Received: from cpe-69-204-164-144.nycap.res.rr.com ([69.204.164.144] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvXgf-00044q-Va for emacs-devel@gnu.org; Fri, 23 Nov 2007 07:31:14 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 23 Nov 2007 12:31:14 +0000 (UTC) In-reply-to: <4746A143.50300@swipnet.se> (message from =?ISO-8859-1?Q?Jan_Dj=E4rv?= on Fri, 23 Nov 2007 10:45:39 +0100) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83948 Archived-At: Do you still get crashes if you use the font ...*iso10646-1 instead of ...*iso8859-1 from the start? Yes, even with a size of 18, which I did not expect. That is in Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 23 11:14 UTC GNU Emacs 23.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.1) started in debugger with set args -i -q \ --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \ -fn '-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1' \ -geometry 80x44+545+43 -name '-q GNU Emacs in Debugger, font: fixed 18' with the breakpoint at xterm.c:1374 and after I evaluated (x-synchronize t) in the debuggee (I could not even visit my test file with a size of 20, -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 #0 0xffffe410 in __kernel_vsyscall () #1 0xb7483c26 in kill () from /lib/i686/cmov/libc.so.6 #2 0x080f906b in abort () at emacs.c:431 although the only breakpoint was at xterm.c:1374 The following is for a size of 18 after visiting my test file which tries to insert a Euro sign.) (gdb) bt full #0 x_draw_glyph_string (s=0xbf807330) at xterm.c:1374 tem = h = y = relief_drawn_p = 0 #1 0x0806b295 in draw_glyphs (w=0x8601fe8, x=45, row=0x86272c4, area=TEXT_AREA, start=0, end=2, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:19850 base_face = (struct face *) 0x8055cc1 char2b = cmp = glyph_len = -1215192509 faces = first_s = n = first_glyph = head = (struct glyph_string *) 0xbf807330 tail = (struct glyph_string *) 0xbf807280 s = (struct glyph_string *) 0xbf807330 clip_head = (struct glyph_string *) 0x0 clip_tail = (struct glyph_string *) 0x0 last_x = 747 x_reached = 45 i = 2 j = -1082100680 f = #2 0x0806d932 in x_write_glyphs (start=0x8605a90, len=2) at xdisp.c:21149 x = #3 0x08056041 in update_window_line (w=0x8601fe8, vpos=9, mouse_face_overwritten_p=0xbf807678) at dispnew.c:4446 current_row = (struct glyph_row *) 0x86467bc desired_row = (struct glyph_row *) 0x86272c4 rif = (struct redisplay_interface *) 0x81be740 changed_p = 0 #4 0x08058384 in update_window (w=0x8601fe8, force_p=0) at dispnew.c:4302 tm = { tv_sec = 1195819727, tv_usec = 905224 } vpos = -1082100976 i = end = (struct glyph_row *) 0x8628794 header_line_row = (struct glyph_row *) 0x0 changed_p = 1 mouse_face_overwritten_p = 0 row = (struct glyph_row *) 0x86272c4 yb = 756 desired_matrix = (struct glyph_matrix *) 0x8604ae8 paused_p = 0 rif = (struct redisplay_interface *) 0x81be740 #5 0x08059629 in update_window_tree (w=0x8601fe8, force_p=0) at dispnew.c:3995 paused_p = #6 0x0805b7ae in update_frame (f=0x8601e60, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3923 tm = { tv_sec = 1195819727, tv_usec = 896018 } p = 1 sec = 0 usec = 100000 paused_p = root_window = (struct window *) 0x8601fe8 #7 0x0808a2a2 in redisplay_internal (preserve_echo_area=) at xdisp.c:11455 f = (struct frame *) 0x8601e60 tail = frame = w = (struct window *) 0x8601fe8 pause = 0 must_finish = 1 tlbufpos = { charpos = 0, bytepos = 0 } number_of_visible_frames = 1 polling_stopped_here = 0 old_frame = 140516964 consider_all_windows_p = 1 #8 0x0810544e in read_char (commandflag=1, nmaps=2, maps=0xbf8081c0, prev_event=137562313, used_mouse_menu=0xbf808258, end_time=0x0) at keyboard.c:2748 keys = 0 key_count = 140516960 key_count_reset = 0 saved_ok_to_echo = (struct kboard *) 0x0 saved_echo_string = 0 c = 137562313 local_getcjmp = {{ __jmpbuf = {137562313, -1082097488, 142874648, 142874652, -1082097512, 135913216}, __mask_was_saved = 137804429, __saved_mask = { __val = {137597689, 1, 3212869808, 142874648, 3212869808, 3212870024, 135639811, 137804429, 137597689, 142874652, 0 } } }} save_jump = {{ __jmpbuf = {0, 137562313, 0, 0, 142874652, 137879588}, __mask_was_saved = 1418, __saved_mask = { __val = {3212869624, 135910666, 0, 1417, 3212869656, 135910877, 0, 1, 0, 142874652, 137879588, 1417, 3212869672, 135910666, 137724945, 1416, 3212869704, 135910877, 1, 1, 137562313, 137597689, 137804424, 137562313, 3212869752, 135913031, 137597689, 137803581, 3212869760, 0, 1, 137804429} } }} key_already_recorded = 0 tem = 2 save = 140516960 previous_echo_area_message = 137562313 also_record = 137562313 reread = 0 polling_stopped_here = orig_kboard = (struct kboard *) 0x85e2200 #9 0x08107f23 in read_key_sequence (keybuf=0xbf808304, bufsize=30, prompt=137562313, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9455 interrupted_kboard = (KBOARD *) 0x85e2200 key = 142258956 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 137562313 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 2 nmaps_allocated = 2 defs = (Lisp_Object * volatile) 0xbf8081a0 submaps = (Lisp_Object * volatile) 0xbf8081c0 orig_local_map = 139309701 orig_keymap = 137562313 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 139323205, map = 139323205, start = 0, end = 0 } keytran = { parent = 137554789, map = 137554789, start = 0, end = 0 } indec = { parent = 139323213, map = 139323213, start = 0, end = 0 } delayed_switch_frame = 137562313 original_uppercase = 0 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x8841818 fake_prefixed_keys = 137562313 #10 0x08109be1 in command_loop_1 () at keyboard.c:1684 cmd = lose = nonundocount = 0 keybuf = {192, 48, 135283358, 139307181, 137562361, -1082096822, 137562313, 0, 137562313, -1082096760, 135283616, 139307181, -1082096822, 134541223, -1219987364, 134522604, 1, -1224708108, -1208518624, 0, -1082096792, -1082096944, 0, -1082130432, 137562313, 138190441, 0, 137911688, 137911672, -1082096760} i = prev_modiff = 76 prev_buffer = (struct buffer *) 0x8338540 already_adjusted = 0 #11 0x081607b0 in internal_condition_case (bfun=0x8109a40 , handlers=137619713, hfun=0x81042f0 ) at eval.c:1493 val = c = { tag = 137562313, val = 137562313, next = 0xbf8084b0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 137911688, 137911672, -1082096520, 352788609, 940499950}, __mask_was_saved = 0, __saved_mask = { __val = {0, 3212870336, 3073538260, 3212870388, 3086367968, 0, 3212870316, 3076255732, 2534, 3086430780, 3212870336, 3212870612, 276967387, 49, 3074944076, 3074943100, 134542083, 3212870704, 3212870992, 4294967295, 3212870840, 135341251, 3212870992, 3212870704, 3074959980, 3076272128, 0, 110932256, 3086446580, 134522604, 3086448232, 3212870784} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 137619713, var = 137562313, chosen_clause = 137562361, tag = 0xbf80839c, next = 0x0 } #12 0x08103773 in command_loop_2 () at keyboard.c:1396 val = 0 #13 0x0816088a in internal_catch (tag=137611273, func=0x8103750 , arg=137562313) at eval.c:1229 c = { tag = 137611273, val = 137562313, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 137911688, 137911672, -1082096264, 352927873, 940637166}, __mask_was_saved = 0, __saved_mask = { __val = {0, 177, 22, 0 , 3078526273, 140018008, 140018184, 3212871096, 137748338, 137748336, 137746960, 3212871016, 135605493, 137746961, 137748338, 137562313, 137594176, 3072297248, 140018192, 137562337} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #14 0x08104157 in command_loop () at keyboard.c:1375 No locals. #15 0x081044bb in recursive_edit_1 () at keyboard.c:984 val = #16 0x081045f1 in Frecursive_edit () at keyboard.c:1046 buffer = 137562313 #17 0x080f9df5 in main (argc=15, argv=0xbf808984) at emacs.c:1777 tz = 0xbf809efb "UTC" dummy = -1082095400 stack_bottom_variable = 8 '\b' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 (gdb) p *s->font_info $1 = { font = 0x86025b8, font_idx = 0, name = 0x85f9658 "-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1", full_name = 0x86024e0 "-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1", charset = 0, size = 9, height = 18, space_width = 9, average_width = 9, vertical_centering = 0, encoding = "\000\377", '\0' , '\001' , baseline_offset = 0, relative_compose = 0, default_ascent = 0, font_encoder = 0x8602520 } (gdb) p *s->font $2 = { ext_data = 0x86026d0, fid = 35651602, direction = 0, min_char_or_byte2 = 0, max_char_or_byte2 = 255, min_byte1 = 0, max_byte1 = 255, all_chars_exist = 0, default_char = 0, n_properties = 23, properties = 0x8602610, min_bounds = { lbearing = 0, rbearing = 0, width = 9, ascent = -3, descent = -13, attributes = 0 }, max_bounds = { lbearing = 8, rbearing = 9, width = 9, ascent = 14, descent = 4, attributes = 0 }, per_char = 0xb6e59000, ascent = 14, descent = 4 } (gdb) p *s $3 = { x = 27, y = 162, ybase = 176, width = 9, background_width = 9, height = 18, left_overhang = 0, right_overhang = 0, f = 0x8601e60, w = 0x8601fe8, display = 0x85b9400, window = 35651800, row = 0x86272c4, area = TEXT_AREA, char2b = 0xbf807310, nchars = 1, hl = DRAW_NORMAL_TEXT, face = 0x833e1f0, font = 0x86025b8, font_info = 0x86026e8, cmp = 0x0, gidx = 0, extends_to_end_of_line_p = 0, background_filled_p = 0, two_byte_p = 1, font_not_found_p = 0, stippled_p = 0, for_overlaps = 0, gc = 0x884a6f8, first_glyph = 0x8605a90, img = 0x0, slice = { x = 0, y = 0, width = 0, height = 0 }, clip_head = 0x0, clip_tail = 0x0, next = 0xbf807280, prev = 0x0 } (gdb) p s->char2b[0] $4 = { byte1 = 32 ' ', byte2 = 172 '\254' } -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc