From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes, 07nov16 Date: Thu, 22 Nov 2007 14:13:26 +0100 Message-ID: <47458076.6050408@swipnet.se> References: <4742CE2C.8000809@swipnet.se> <4743E151.9050405@swipnet.se> <47452A98.8000408@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195737274 6166 80.91.229.12 (22 Nov 2007 13:14:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2007 13:14:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 22 14:14: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 1IvBtA-0003GI-HJ for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2007 14:14:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvBsw-0004J8-CW for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2007 08:14:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvBso-0004Ij-36 for emacs-devel@gnu.org; Thu, 22 Nov 2007 08:14:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvBsm-0004Fs-Bu for emacs-devel@gnu.org; Thu, 22 Nov 2007 08:14:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvBsm-0004Fd-6o for emacs-devel@gnu.org; Thu, 22 Nov 2007 08:14:16 -0500 Original-Received: from av9-1-sn2.hy.skanova.net ([81.228.8.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvBsl-0000et-FF for emacs-devel@gnu.org; Thu, 22 Nov 2007 08:14:15 -0500 Original-Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id 7F0FF38525; Thu, 22 Nov 2007 14:14:14 +0100 (CET) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id 3B877383F4; Thu, 22 Nov 2007 14:14:14 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id AD06737E42; Thu, 22 Nov 2007 14:14:13 +0100 (CET) User-Agent: Thunderbird 2.0.0.9 (X11/20071031) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:83863 Archived-At: Sorry, I forgot. Can you also: (gdb) p s->char2b[0] But I think we are close to finding the problem now :-). Jan D. Robert J. Chassell skrev: > jan.h.d@swipnet.se wrote > > Looks loke you printed *s->font twice, but not *s->font_info. It > could be an effect of optimization, can you try again wih -O0? > > Trying again. This morning's, 2007 Nov 22, instance of Emacs and Debian. > > gdb --version > GNU gdb 6.6.90.20070912-debian > > gcc --version > gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3) > > # set break at xterm.c:1374 > > # eval: (x-synchronize t) > > (gdb) p *s->font_info > $1 = { > font = 0x88447a8, > font_idx = 1, > name = 0x887fb98 "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1", > full_name = 0x887f4c8 "-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1", > charset = 244, > size = 10, > height = 20, > space_width = 10, > average_width = 10, > vertical_centering = 0, > encoding = "\000\377", '\0' , '\001' , > baseline_offset = 0, > relative_compose = 0, > default_ascent = 0, > font_encoder = 0x88443a0 > } > > (gdb) p *s->font > $2 = { > ext_data = 0x88432f0, > fid = 44041077, > 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 = 0x87a1f50, > min_bounds = { > lbearing = 0, > rbearing = 0, > width = 10, > ascent = -3, > descent = -15, > attributes = 0 > }, > max_bounds = { > lbearing = 9, > rbearing = 10, > width = 10, > ascent = 16, > descent = 4, > attributes = 0 > }, > per_char = 0xb6da5000, > ascent = 16, > descent = 4 > } > > (gdb) p *s > $3 = { > x = 30, > y = 180, > ybase = 196, > width = 10, > background_width = 10, > height = 20, > left_overhang = 0, > right_overhang = 0, > f = 0x8601d78, > w = 0x8601f00, > display = 0x85b9380, > window = 44040409, > row = 0x8628034, > area = TEXT_AREA, > char2b = 0xbfb5de60, > nchars = 1, > hl = DRAW_NORMAL_TEXT, > face = 0x87a1ea8, > font = 0x88447a8, > font_info = 0x8603850, > 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 = 0x884a800, > first_glyph = 0x864e2d8, > img = 0x0, > slice = { > x = 0, > y = 0, > width = 0, > height = 0 > }, > clip_head = 0x0, > clip_tail = 0x0, > next = 0xbfb5ddd0, > prev = 0x0 > } > (gdb) >