From: Andy Piper <andy(a)xemacs.org>
Subject: Subwindow clipping
Date: Thu, 16 Sep 1999 17:59:33 +0100
This patch implements subwindow clipping as per Stephen
Turnbull's
suggestion. I'm hoping this will nuke the endless tab redisplay problems so
am recommiting the tabs sync. Let me know if this does not fix the problems.
I will apply this to cvs.
andy
Hi,
latest CVS (Sep, 18) still exhibits the tab redrawing bug, with a
couple of annoying additions:
I consistently get:
$ src/xemacs
src/xemacs: Symbol `toggleClassRec' has different size in shared object, consider
re-linking
src/xemacs: Symbol `labelClassRec' has different size in shared object, consider
re-linking
even right after compiltion (actually I get those even in the temacs
run duuring the make process).
I often get:
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Please report this bug by running the send-pr script included
with XEmacs, or selecting `Send Bug Report' from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/src/xemacs-21/xemacs-21.2/src/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
$
I dutifully complied and got:
$ gdb src/xemacs core
GNU gdb 4.18
Copyright 1998 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"...
Core was generated by `src/xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/Xaw3d/libXaw.so.6...done.
Reading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /usr/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libjpeg.so.62...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /usr/lib/libgpm.so.1...done.
Reading symbols from /lib/libncurses.so.4...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_compat.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
#0 0x402fc0a1 in kill () from /lib/libc.so.6
(gdb) where
#0 0x402fc0a1 in kill () from /lib/libc.so.6
#1 0x807fd04 in fatal_error_signal (sig=11) at emacs.c:276
#2 0x402fbfd8 in __restore () from /lib/libc.so.6
#3 0x815672f in x_event_to_emacs_event (x_event=0xbffff4cc,
emacs_event=0x86db504) at event-Xt.c:999
#4 0x81584ca in emacs_Xt_event_handler (wid=0x852ec88, closure=0x0,
event=0xbffff4cc, continue_to_dispatch=0xbffff413 "\001ðÕL\b&")
at event-Xt.c:2475
#5 0x4013706c in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#6 0x401379cd in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#7 0x40137c0d in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#8 0x40142527 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#9 0x8157679 in emacs_Xt_next_event (emacs_event=0x86db660) at event-Xt.c:2427
#10 0x80b4d85 in event_stream_next_event (event=0x86db660)
at event-stream.c:565
#11 0x80b5f4c in next_event_internal (target_event=141407840, allow_queued=1)
at event-stream.c:2020
#12 0x80b6317 in Fnext_event (event=141407840, prompt=136486996)
at event-stream.c:2237
#13 0x8067729 in Fcommand_loop_1 () at cmdloop.c:569
#14 0x806799d in command_loop_1 (dummy=136486996) at cmdloop.c:493
#15 0x80875ae in condition_case_1 (handlers=136487092,
bfun=0x8067984 <command_loop_1>, barg=136486996,
hfun=0x8067a0c <cmd_error>, harg=136486996) at eval.c:1646
#16 0x8067aff in command_loop_2 (dummy=136486996) at cmdloop.c:255
#17 0x808747c in internal_catch (tag=136561188,
func=0x8067ac0 <command_loop_2>, arg=136486996, threw=0x0) at eval.c:1321
#18 0x806743e in initial_command_loop (load_me=136486996) at cmdloop.c:304
#19 0x807e314 in sort_args (argc=1, argv=0xbffffb34) at emacs.c:1762
#20 0x807ff10 in voodoo_free_hook (mem=0x1) at emacs.c:2187
#21 0x402f6222 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
$
Hope it helps.
Thanks
Mauro