[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: Thu, 01 Nov 2001 23:19:44 -0800
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

Gerd Moellmann writes:

> Ah, I've forgotten that you are using the antique scroll bars :-).

What ??  Look, if I actually wanted fancy widgets, useless graphical
stuff et al., I would have switched to XEmacs a long time ago <g>.

OK, that was mean, I do apologize.

> I think this should fix it:
> [...]

Nope.  Still have a crash:
$ emacs -geometry 20x5 -q --no-site-file
X protocol error: BadWindow (invalid Window parameter) on protocol request 61

Here is the backtrace:

--- begin gdb session ---
Current directory is /home/raph/config/
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-g/src/emacs-21.1/src).
(gdb) file emacs
Reading symbols from emacs...done.
(gdb) source .gdbinit
DISPLAY = :0.0
TERM = dumb
Breakpoint 1 at 0x80fd432: file emacs.c, line 387.
Breakpoint 2 at 0x80d9769: file xterm.c, line 12038.
(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=0x84aa550, error=0xbfffe4c8)
    at xterm.c:12038
(gdb) xbacktrace
0x81f579c "sit-for"
0x828118c "command-line-1"
0x8280244 "command-line"
0x827eb5c "normal-top-level"
(gdb) bt
#0  x_error_quitter (display=0x84aa550, error=0xbfffe4c8) at xterm.c:12038
#1  0x080d97fa in x_error_handler (display=0x84aa550, error=0xbfffe4c8)
    at xterm.c:12056
#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  0x080d40c9 in x_scroll_bar_create (w=0x84bf758, top=46, left=1, width=20, 
    height=0) at xterm.c:8980
#8  0x080d47af in XTset_vertical_scroll_bar (w=0x84bf758, portion=40, 
    whole=796, position=0) at xterm.c:9229
#9  0x08073fa0 in redisplay_window (window=1212938072, just_this_one_p=0)
    at xdisp.c:10520
#10 0x08070859 in redisplay_windows (window=1212938072) 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=405642972)
    at dispnew.c:6282
#15 0x08174259 in Ffuncall (nargs=2, args=0xbffff090) at eval.c:2662
#16 0x081ad6ff in Fbyte_code (bytestr=942159416, vector=1210596492, 
    maxdepth=11) at bytecode.c:716
#17 0x081749f2 in funcall_lambda (fun=1210594840, nargs=1, 
    arg_vector=0xbffff254) at eval.c:2847
#18 0x081743d6 in Ffuncall (nargs=2, args=0xbffff250) at eval.c:2703
#19 0x081ad6ff in Fbyte_code (bytestr=942150068, vector=1210586764, maxdepth=5)
    at bytecode.c:716
#20 0x081749f2 in funcall_lambda (fun=1210585500, nargs=0, 
    arg_vector=0xbffff404) at eval.c:2847
#21 0x081743d6 in Ffuncall (nargs=1, args=0xbffff400) at eval.c:2703
#22 0x081ad6ff in Fbyte_code (bytestr=942146156, vector=1210581756, maxdepth=5)
    at bytecode.c:716
#23 0x081749f2 in funcall_lambda (fun=1210581588, nargs=0, 
    arg_vector=0xbffff540) at eval.c:2847
#24 0x08174639 in apply_lambda (fun=1210581588, args=405642972, eval_flag=1)
    at eval.c:2766
#25 0x08173601 in Feval (form=1480524052) at eval.c:2055
#26 0x081002e0 in top_level_2 () at keyboard.c:1254
#27 0x08171fa3 in internal_condition_case (bfun=0x81002cc <top_level_2>, 
    handlers=405739292, hfun=0x80fffac <cmd_error>) at eval.c:1267
#28 0x08100313 in top_level_1 () at keyboard.c:1262
#29 0x08171a99 in internal_catch (tag=405700900, func=0x81002e8 <top_level_1>, 
    arg=405642972) at eval.c:1030
#30 0x08100221 in command_loop () at keyboard.c:1223
#31 0x080ffd46 in recursive_edit_1 () at keyboard.c:950
#32 0x080ffe79 in Frecursive_edit () at keyboard.c:1006
#33 0x080fe8f2 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 ---

I diff'ed the two gdb sessions, and apart from line numbers and memory
adresses, there's no differences [I agree that memory addresses can
make a huge difference, but I haven't seen anything suspicious].

Note: This run comes from 21.1 sources plus the 6 patches you already
sent me.  I tried to apply this patch only on 21.1 sources, but then
the patch failed.  So I can not test this patch without the others.


reply via email to

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