[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --enable-font-backend bug (was: Re: 23.0.60; emacs segfaults when cr

From: Dan Nicolaescu
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

Kenichi Handa <address@hidden> writes:

  > In article <address@hidden>, Dan Nicolaescu <address@hidden> writes:
  > > Kenichi Handa <address@hidden> writes:
  > > In article <address@hidden>, Dan Nicolaescu <address@hidden> 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=<value 
optimized out>, 
    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=<value 
optimized out>, 
    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=<value 
optimized out>, end=83, 
    overlaps=0) at /tmp/emacs/src/xdisp.c:19426
#18 0x08068b44 in draw_glyphs (w=0x870ac50, x=<value optimized out>, 
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, 
    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=<value optimized out>)
    at /tmp/emacs/src/xdisp.c:11621
#25 0x08119a28 in read_char (commandflag=1, nmaps=2, maps=0xbfebde40, 
    used_mouse_menu=0xbfebdee8, end_time=0x0)
    at /tmp/emacs/src/keyboard.c:2724
#26 0x0811b8aa in read_key_sequence (keybuf=0xbfebdf84, bufsize=30, 
    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 <command_loop_1>, 
    hfun=0x8118650 <cmd_error>) 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 
<command_loop_2>, 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]