[Top][All Lists]

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

Re: small number of lines: X error

From: Raphaël Berbain
Subject: Re: small number of lines: X error
Date: Wed, 31 Oct 2001 20:32:20 -0800
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

Gerd Moellmann writes:

> Could you please start emacs with the additional option
>   -xrm "emacs.synchronous: true"
> under GDB from the src/ directory of Emacs (because of the .gdbinit
> file there) and send me a backtrace?

Humm, interesting, maybe I should have looked more closely at
etc/DEBUG...  Here is the copy of the entire gdb session.  I don't
really know what you are looking for, and I am not familiar with Emacs
debugging, so please tell me if this is not what you expected.

--- begin gdb session ---

Current directory is ~/
GNU gdb 5.0.90-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) cd local/emacs-21.1/src/emacs-21.1/src
Working directory /home/raph/local/emacs-21.1/src/emacs-21.1/src
 (canonically /home/raph/local/emacs-21.1-h/src/emacs-21.1/src).
(gdb) file emacs
Reading symbols from emacs...done.
(gdb) source .gdbinit
DISPLAY = :0.0
TERM = dumb
Breakpoint 1 at 0x80fd40a: file emacs.c, line 387.
Breakpoint 2 at 0x80d9741: file xterm.c, line 12037.
(gdb) set args -geometry 20x5 -q --no-site-file -xrm "emacs.synchronous: true"
(gdb) run
Starting program: /home/raph/local/emacs-21.1/src/emacs-21.1/src/emacs 
-geometry 20x5 -q --no-site-file -xrm "emacs.synchronous: true"

Breakpoint 2, x_error_quitter (display=0x84aa530, error=0xbfffe4c8)
    at xterm.c:12037
(gdb) xbacktrace
0x81f577c "sit-for"
0x828116c "command-line-1"
0x8280224 "command-line"
0x827eb3c "normal-top-level"
(gdb) bt
#0  x_error_quitter (display=0x84aa530, error=0xbfffe4c8) at xterm.c:12037
#1  0x080d97d2 in x_error_handler (display=0x84aa530, error=0xbfffe4c8)
    at xterm.c:12055
#2  0x40208b6d in _XError () from /usr/X11R6/lib/libX11.so.6
#3  0x4020721b in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x40202c17 in XSync () from /usr/X11R6/lib/libX11.so.6
#5  0x40202ca0 in _XSyncFunction () from /usr/X11R6/lib/libX11.so.6
#6  0x40204f20 in XCreateWindow () from /usr/X11R6/lib/libX11.so.6
#7  0x080d40a1 in x_scroll_bar_create (w=0x84bf738, top=46, left=1, width=20, 
    height=0) at xterm.c:8979
#8  0x080d4787 in XTset_vertical_scroll_bar (w=0x84bf738, portion=40, 
    whole=796, position=0) at xterm.c:9228
#9  0x08073fa0 in redisplay_window (window=1212938040, just_this_one_p=0)
    at xdisp.c:10520
#10 0x08070859 in redisplay_windows (window=1212938040) at xdisp.c:9183
#11 0x0806fca2 in redisplay_internal (preserve_echo_area=1) at xdisp.c:8787
#12 0x080702a7 in redisplay_preserve_echo_area (from_where=2) at xdisp.c:9003
#13 0x08059c50 in sit_for (sec=120, usec=0, reading=0, display=1, 
    initial_display=1) at dispnew.c:6233
#14 0x08059db4 in Fsit_for (seconds=120, milliseconds=0, nodisp=405642940)
    at dispnew.c:6282
#15 0x08174231 in Ffuncall (nargs=2, args=0xbffff090) at eval.c:2662
#16 0x081ad6d7 in Fbyte_code (bytestr=942159384, vector=1210596460, 
    maxdepth=11) at bytecode.c:716
#17 0x081749ca in funcall_lambda (fun=1210594808, nargs=1, 
    arg_vector=0xbffff254) at eval.c:2847
#18 0x081743ae in Ffuncall (nargs=2, args=0xbffff250) at eval.c:2703
#19 0x081ad6d7 in Fbyte_code (bytestr=942150036, vector=1210586732, maxdepth=5)
    at bytecode.c:716
#20 0x081749ca in funcall_lambda (fun=1210585468, nargs=0, 
    arg_vector=0xbffff404) at eval.c:2847
#21 0x081743ae in Ffuncall (nargs=1, args=0xbffff400) at eval.c:2703
#22 0x081ad6d7 in Fbyte_code (bytestr=942146124, vector=1210581724, maxdepth=5)
    at bytecode.c:716
#23 0x081749ca in funcall_lambda (fun=1210581556, nargs=0, 
    arg_vector=0xbffff540) at eval.c:2847
#24 0x08174611 in apply_lambda (fun=1210581556, args=405642940, eval_flag=1)
    at eval.c:2766
#25 0x081735d9 in Feval (form=1480524020) at eval.c:2055
#26 0x081002b8 in top_level_2 () at keyboard.c:1254
#27 0x08171f7b in internal_condition_case (bfun=0x81002a4 <top_level_2>, 
    handlers=405739260, hfun=0x80fff84 <cmd_error>) at eval.c:1267
#28 0x081002eb in top_level_1 () at keyboard.c:1262
#29 0x08171a71 in internal_catch (tag=405700868, func=0x81002c0 <top_level_1>, 
    arg=405642940) at eval.c:1030
#30 0x081001f9 in command_loop () at keyboard.c:1223
#31 0x080ffd1e in recursive_edit_1 () at keyboard.c:950
#32 0x080ffe51 in Frecursive_edit () at keyboard.c:1006
#33 0x080fe8ca in main (argc=7, argv=0xbffffb84, envp=0xbffffba4)
    at emacs.c:1547
#34 0x4030c64f in __libc_start_main () from /lib/libc.so.6
(gdb) cont
X protocol error: BadValue (integer parameter out of range for operation) on 
protocol request 1

Program exited with code 0106.

--- end gdb session ---

Sorry about word wrap, I thought it was better to send this 'as is'.


reply via email to

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