From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: --enable-font-backend bug (was: Re: 23.0.60; emacs segfaults when creating X display via emacsclient) Date: Wed, 06 Feb 2008 07:28:27 -0800 Message-ID: <200802061528.m16FSb4C026474@sallyv1.ics.uci.edu> References: <200802050018.m150IrgE007563@sallyv1.ics.uci.edu> <200802050815.m158FAHS021150@sallyv1.ics.uci.edu> <200802051357.m15DvHou009298@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202311906 26423 80.91.229.12 (6 Feb 2008 15:31:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2008 15:31:46 +0000 (UTC) Cc: wence@gmx.li, emacs-pretest-bug@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 16:32:07 2008 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 1JMmFR-00077z-27 for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 16:31:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMmEy-0001YH-Sf for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 10:31:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMmEu-0001Y2-74 for emacs-devel@gnu.org; Wed, 06 Feb 2008 10:31:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMmEr-0001Xq-Kz for emacs-devel@gnu.org; Wed, 06 Feb 2008 10:31:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMmEr-0001Xn-DK for emacs-devel@gnu.org; Wed, 06 Feb 2008 10:31:05 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMmEq-0004kE-Me for emacs-devel@gnu.org; Wed, 06 Feb 2008 10:31:04 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JMmEq-0002XS-Eo for emacs-pretest-bug@gnu.org; Wed, 06 Feb 2008 10:31:04 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JMmEm-0004jO-W1 for emacs-pretest-bug@gnu.org; Wed, 06 Feb 2008 10:31:04 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JMmEm-0004dJ-IK for emacs-pretest-bug@gnu.org; Wed, 06 Feb 2008 10:31:00 -0500 X-ICS-MailScanner-Watermark: 1202916526.50647@LBNhNpZacnbrGIVRUum7LA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m16FSb4C026474; Wed, 6 Feb 2008 07:28:38 -0800 (PST) In-Reply-To: (Kenichi Handa's message of "Wed, 06 Feb 2008 09:55:47 +0900") Original-Lines: 83 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_XC 0.08) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:88334 gmane.emacs.pretest.bugs:20897 Archived-At: Kenichi Handa writes: > In article <200802051357.m15DvHou009298@sallyv1.ics.uci.edu>, Dan Nicolaescu writes: > > > Kenichi Handa writes: > > In article <200802050815.m158FAHS021150@sallyv1.ics.uci.edu>, Dan Nicolaescu writes: > > > > > Why not start the debugger in another terminal and attach to the emacs > > > process? > > > > I tried it, but, when I type C-z on gdb terminal, gdb itself > > is suspended. > > > Use C-c to get the gdb prompt, not C-z. > > When I type C-c in the gdb terminal, nothing happens except > for beep sound. Does this backtrace (from an up to date build) help? (gdb) bt #0 0x005ed0a0 in _xcb_unlock_io () from /usr/lib/libxcb.so.1 #1 0x005c9649 in xcb_xlib_lock () from /usr/lib/libxcb-xlib.so.0 #2 0x00644a56 in ?? () from /usr/lib/libX11.so.6 #3 0x0064518c in _XReply () from /usr/lib/libX11.so.6 #4 0x00638eaa in XSync () from /usr/lib/libX11.so.6 #5 0x080d7a7d in x_catch_errors (dpy=0x8686890) at /tmp/emacs/src/xterm.c:7859 #6 0x080db19d in x_connection_closed (dpy=0x8686890, error_message=0xbfebc758 "X protocol error: BadFont (invalid Font parameter) on protocol request 55") at /tmp/emacs/src/xterm.c:8017 #7 0x080db84a in x_error_quitter (display=0x8686890, error=0xbfebca18) at /tmp/emacs/src/xterm.c:8187 #8 0x080db89d in x_error_handler (display=0x8686890, error=0x0) at /tmp/emacs/src/xterm.c:8143 #9 0x0063d71e in _XError () from /usr/lib/libX11.so.6 #10 0x00644aaa in ?? () from /usr/lib/libX11.so.6 #11 0x0064518c in _XReply () from /usr/lib/libX11.so.6 #12 0x006329f8 in XQueryColors () from /usr/lib/libX11.so.6 #13 0x081c525f in xftfont_get_colors (f=0x8cb7050, face=0x86d76e8, gc=, xftface_info=0x0, fg=0x8c156c0, bg=0x8c156cc) at /tmp/emacs/src/xftfont.c:120 #14 0x081c57ee in xftfont_prepare_face (f=0x8cb7050, face=0x86d76e8) at /tmp/emacs/src/xftfont.c:425 #15 0x080cabda in prepare_face_for_display (f=0x8cb7050, face=0x86d76e8) at /tmp/emacs/src/xfaces.c:5631 #16 0x080677d6 in get_glyph_face_and_encoding (f=0x8cb7050, glyph=, char2b=0xbfebcd80, two_byte_p=0xbfebcd58) at /tmp/emacs/src/xdisp.c:19276 #17 0x08067a89 in fill_glyph_string (s=0xbfebce30, face_id=12, start=, end=83, overlaps=0) at /tmp/emacs/src/xdisp.c:19426 #18 0x08068b44 in draw_glyphs (w=0x870ac50, x=, row=0x8601078, area=TEXT_AREA, start=0, end=83, hl=DRAW_NORMAL_TEXT, overlaps=0) at /tmp/emacs/src/xdisp.c:20026 #19 0x0806a7e1 in x_write_glyphs (start=0x8718440, len=83) at /tmp/emacs/src/xdisp.c:21478 #20 0x08052d9e in update_window_line (w=0x870ac50, vpos=64, mouse_face_overwritten_p=0xbfebd2e8) at /tmp/emacs/src/dispnew.c:4446 #21 0x080552b4 in update_window (w=0x870ac50, force_p=0) at /tmp/emacs/src/dispnew.c:4245 #22 0x0805635c in update_window_tree (w=0x870ac50, force_p=0) at /tmp/emacs/src/dispnew.c:3995 #23 0x08058521 in update_frame (f=0x8cb7050, force_p=0, inhibit_hairy_id_p=0) at /tmp/emacs/src/dispnew.c:3923 #24 0x08087d3e in redisplay_internal (preserve_echo_area=) at /tmp/emacs/src/xdisp.c:11621 #25 0x08119a28 in read_char (commandflag=1, nmaps=2, maps=0xbfebde40, prev_event=137743681, used_mouse_menu=0xbfebdee8, end_time=0x0) at /tmp/emacs/src/keyboard.c:2724 #26 0x0811b8aa in read_key_sequence (keybuf=0xbfebdf84, bufsize=30, prompt=137743681, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at /tmp/emacs/src/keyboard.c:9460 #27 0x0811d743 in command_loop_1 () at /tmp/emacs/src/keyboard.c:1655 #28 0x081758a2 in internal_condition_case (bfun=0x811d5a0 , handlers=137787897, hfun=0x8118650 ) at /tmp/emacs/src/eval.c:1494 #29 0x08117ac3 in command_loop_2 () at /tmp/emacs/src/keyboard.c:1370 #30 0x0817595a in internal_catch (tag=137782745, func=0x8117aa0 , arg=137743681) at /tmp/emacs/src/eval.c:1230 #31 0x081184b7 in command_loop () at /tmp/emacs/src/keyboard.c:1349 #32 0x0811881a in recursive_edit_1 () at /tmp/emacs/src/keyboard.c:958 #33 0x08118951 in Frecursive_edit () at /tmp/emacs/src/keyboard.c:1020 #34 0x0810d3a7 in main (argc=3, argv=0xbfebe684) at /tmp/emacs/src/emacs.c:1793