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 17:07:45 +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> <85d4u1cepc.fsf@lola.goethe.zz> <4746E993.3070902@swipnet.se> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195837820 1809 80.91.229.12 (23 Nov 2007 17:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 17:10:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 18:10:24 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 1Ivc2k-0002bQ-Rl for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 18:10:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivc2W-0002Bo-C8 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 12:10:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ivc0M-0007yE-1z for emacs-devel@gnu.org; Fri, 23 Nov 2007 12:07:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ivc0I-0007sO-W3 for emacs-devel@gnu.org; Fri, 23 Nov 2007 12:07:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivc0I-0007s8-Oz for emacs-devel@gnu.org; Fri, 23 Nov 2007 12:07:46 -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 1Ivc0H-0005RK-Mz for emacs-devel@gnu.org; Fri, 23 Nov 2007 12:07:45 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 23 Nov 2007 17:07:45 +0000 (UTC) In-reply-to: <4746E993.3070902@swipnet.se> (message from =?ISO-8859-1?Q?Jan_Dj=E4rv?= on Fri, 23 Nov 2007 15:54:11 +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:83984 Archived-At: Following Jan's request, I intended to compile with -O0 but I may have forgot and done a regular make. (I cannot remember.) In any case, I have updated Emacs and done another make which is definitely -O0. Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 23 16:19 UTC GNU Emacs 23.0.50.5 (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 After visiting my test file, which tried to insert a Euro sign, Emacs crashed as before: (gdb) bt full #0 x_draw_glyph_string (s=0xbfd4ff40) at xterm.c:1374 tem = h = y = relief_drawn_p = 0 #1 0x0806b2f5 in draw_glyphs (w=0x8604f28, x=45, row=0x862a2c4, area=TEXT_AREA, start=0, end=2, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:19850 base_face = (struct face *) 0x8055d21 char2b = cmp = glyph_len = -1214909885 faces = first_s = n = first_glyph = head = (struct glyph_string *) 0xbfd4ff40 tail = (struct glyph_string *) 0xbfd4fe90 s = (struct glyph_string *) 0xbfd4ff40 clip_head = (struct glyph_string *) 0x0 clip_tail = (struct glyph_string *) 0x0 last_x = 747 x_reached = 45 i = 2 j = -1076559800 f = #2 0x0806d992 in x_write_glyphs (start=0x8608e78, len=2) at xdisp.c:21149 x = #3 0x080560a1 in update_window_line (w=0x8604f28, vpos=9, mouse_face_overwritten_p=0xbfd50288) at dispnew.c:4446 current_row = (struct glyph_row *) 0x86497bc desired_row = (struct glyph_row *) 0x862a2c4 rif = (struct redisplay_interface *) 0x81c1960 changed_p = 0 #4 0x080583e4 in update_window (w=0x8604f28, force_p=0) at dispnew.c:4302 tm = { tv_sec = 1195836868, tv_usec = 821064 } vpos = -1076560096 i = end = (struct glyph_row *) 0x862b794 header_line_row = (struct glyph_row *) 0x0 changed_p = 1 mouse_face_overwritten_p = 0 row = (struct glyph_row *) 0x862a2c4 yb = 756 desired_matrix = (struct glyph_matrix *) 0x8607ed0 paused_p = 0 rif = (struct redisplay_interface *) 0x81c1960 #5 0x08059689 in update_window_tree (w=0x8604f28, force_p=0) at dispnew.c:3995 paused_p = #6 0x0805b80e in update_frame (f=0x8604da0, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3923 tm = { tv_sec = 1195836868, tv_usec = 809232 } p = 1 sec = 0 usec = 100000 paused_p = root_window = (struct window *) 0x8604f28 #7 0x0808a302 in redisplay_internal (preserve_echo_area=) at xdisp.c:11455 f = (struct frame *) 0x8604da0 tail = frame = w = (struct window *) 0x8604f28 pause = 0 must_finish = 1 tlbufpos = { charpos = 0, bytepos = 0 } number_of_visible_frames = 1 polling_stopped_here = 0 old_frame = 140529060 consider_all_windows_p = 1 #8 0x081054ae in read_char (commandflag=1, nmaps=2, maps=0xbfd50dd0, prev_event=137574601, used_mouse_menu=0xbfd50e68, end_time=0x0) at keyboard.c:2748 keys = 0 key_count = 140529056 key_count_reset = 0 saved_ok_to_echo = (struct kboard *) 0x0 saved_echo_string = 0 c = 137574601 local_getcjmp = {{ __jmpbuf = {-1076556648, 135923056, 137818325, 137609977, 1, 142076664}, __mask_was_saved = 1418, __saved_mask = { __val = {142076664, 3218410904, 135619163, 137818325, 137609977, 142076668, 0 } } }} save_jump = {{ __jmpbuf = {142076668, 137892212, 1418, -1076556808, 135920506, 137892212}, __mask_was_saved = 1417, __saved_mask = { __val = {3218410520, 135920717, 0, 1, 3218410536, 142076668, 137892212, 1417, 3218410536, 135920506, 137737233, 1416, 3218410568, 135920717, 1, 1, 137574601, 137609977, 137818320, 137574601, 3218410616, 135922871, 137609977, 137815845, 3218410624, 0, 1, 137818325, 137574601, 142076664, 1418, 1698} } }} key_already_recorded = 0 tem = 2 save = 140529056 previous_echo_area_message = 137574601 also_record = 137574601 reread = 0 polling_stopped_here = orig_kboard = (struct kboard *) 0x85e5200 #9 0x08107f83 in read_key_sequence (keybuf=0xbfd50f14, bufsize=30, prompt=137574601, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9455 interrupted_kboard = (KBOARD *) 0x85e5200 key = 142269956 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 137574601 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 2 nmaps_allocated = 2 defs = (Lisp_Object * volatile) 0xbfd50db0 submaps = (Lisp_Object * volatile) 0xbfd50dd0 orig_local_map = 139144469 orig_keymap = 137574601 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 139144837, map = 139144837, start = 0, end = 0 } keytran = { parent = 137567077, map = 137567077, start = 0, end = 0 } indec = { parent = 139144845, map = 139144845, start = 0, end = 0 } delayed_switch_frame = 137574601 original_uppercase = 0 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x877eaf8 fake_prefixed_keys = 137574601 #10 0x08109c41 in command_loop_1 () at keyboard.c:1684 cmd = lose = nonundocount = 0 keybuf = {192, 48, -1219745584, 134541263, -1472036458, 134541265, 134541267, 0, 0, 1, 994, -1221146328, -1218412544, 134541263, -1219704740, 134522612, 1, -1208238092, -1208236000, 0, -1076555912, -1076556064, 0, -1076559872, 137574601, 138202729, 0, 137923976, 137923960, -1076555880} i = prev_modiff = 17 prev_buffer = (struct buffer *) 0x833b540 already_adjusted = 0 #11 0x08162e20 in internal_condition_case (bfun=0x8109aa0 , handlers=137632001, hfun=0x8104350 ) at eval.c:1493 val = c = { tag = 137574601, val = 137574601, next = 0xbfd510c0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 137923976, 137923960, -1076555640, -1105248127, 945538030}, __mask_was_saved = 0, __saved_mask = { __val = {0, 3086713404, 3218411184, 3218411460, 276967387, 49, 3075226700, 3075225724, 134542134, 276967386, 3086533532, 134542138, 0, 0, 1, 1997, 3073820968, 3218411584, 3218411872, 4294967295, 3218411720, 135341347, 3218411872, 3218411584, 3075242604, 3076554752, 0, 110932256, 3086729204, 134522612, 3086730856, 3218411664} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 137632001, var = 137574601, chosen_clause = 136050748, tag = 0xbfd50fac, next = 0x0 } #12 0x081037d3 in command_loop_2 () at keyboard.c:1396 val = 0 #13 0x08162efa in internal_catch (tag=137623561, func=0x81037b0 , arg=137574601) at eval.c:1229 c = { tag = 137623561, val = 137574601, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 137923976, 137923960, -1076555384, -1105108863, 945675246}, __mask_was_saved = 0, __saved_mask = { __val = {0, 177, 22, 0, 1, 0 , 3078808897, 140049736, 3076542832, 3218411976, 137760626, 137760624, 137759248, 3218411896, 135605589, 137759249, 137760626, 137574601, 137606464, 3072579872, 140049744, 137574625} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #14 0x081041b7 in command_loop () at keyboard.c:1375 No locals. #15 0x0810451b in recursive_edit_1 () at keyboard.c:984 val = #16 0x08104651 in Frecursive_edit () at keyboard.c:1046 buffer = 137574601 #17 0x080f9e55 in main (argc=15, argv=0xbfd51594) at emacs.c:1777 tz = 0xbfd52e75 "UTC" dummy = -1076554520 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 = 0x8605548, font_idx = 0, name = 0x8605470 "-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1", full_name = 0x86054f0 "-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 = 0x8606a00 } (gdb) p *s->font $2 = { ext_data = 0x8605660, fid = 46137362, 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 = 0x86055a0, 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 = 0xb6e9e000, 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 = 0x8604da0, w = 0x8604f28, display = 0x85bc400, window = 46137560, row = 0x862a2c4, area = TEXT_AREA, char2b = 0xbfd4ff20, nchars = 1, hl = DRAW_NORMAL_TEXT, face = 0x88678a8, font = 0x8605548, font_info = 0x8605678, 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 = 0x88616a8, first_glyph = 0x8608e78, img = 0x0, slice = { x = 0, y = 0, width = 0, height = 0 }, clip_head = 0x0, clip_tail = 0x0, next = 0xbfd4fe90, prev = 0x0 } (gdb) p s->char2b[0] $4 = { byte1 = 32 ' ', byte2 = 172 '\254' } (gdb) -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc