Hi,
Sorry for having reported this bug though mentioned in the PROBLEMS file.
I've got a question, however. As I've mentioned before, this does not
happen when I start xemacs with a -vanila option; or for that matter,
when I use the key sequences mentioned in my previous mail. If this was
caused purely due to a bug in the motif libraries, then, I presume this
should occur regardless of how I start / use xemacs.
Why then, is this occuring only when init.el is read?
Regards,
Arvind.
Stephen J. Turnbull wrote:
>>>>>"Arvind" == Arvind Devarajan
<arvind.sankruthi(a)oracle.com> writes:
>>>>>
>>>>>
Arvind> 2. Reproducing my crash is simple. I just bring up xemacs,
Arvind> and exit. This crash happens just as xemacs is exiting.
Two notes on Motif bugs from PROBLEMS. Unfortunately, you seem to
have the incurable one.
------------------------------------------------------------------------
Motif delete-device crash:
** SunOS/Solaris
*** Crashes when using Motif libraries, especially with multiple frames.
Crashes that produce C-backtraces like this:
#0 0xfec9a118 in _libc_kill () from /usr/lib/libc.so.1
#1 0x77f48 in fatal_error_signal (sig=11)
at /codes/rpluim/xemacs-21.4/src/emacs.c:539
#2 <signal handler called>
#3 0xfee929f4 in XFindContext () from /usr/openwin/lib/libX11.so.4
#4 0xfee92930 in XFindContext () from /usr/openwin/lib/libX11.so.4
#5 0xff297e54 in DisplayDestroy () from /usr/dt/lib/libXm.so.4
#6 0xfefbece0 in XtCallCallbackList () from /usr/openwin/lib/libXt.so.4
#7 0xfefc486c in XtPhase2Destroy () from /usr/openwin/lib/libXt.so.4
#8 0xfefc45d0 in _XtDoPhase2Destroy () from /usr/openwin/lib/libXt.so.4
#9 0xfefc43b4 in XtDestroyWidget () from /usr/openwin/lib/libXt.so.4
#10 0x15cf9c in x_delete_device (d=0x523f00)
are caused by buggy Motif libraries. Installing the following patches
has been reported to solve the problem on Solaris 2.7:
107081-40 107656-07
For information (although they have not been confirmed to work), the
equivalent patches for Solaris 2.8 are:
108940-33 108652-25
------------------------------------------------------------------------
Or maybe the HashTableForEachItem crash (says "Linux/Lesstif", but has
been observed on Solaris and HP/UX; no known cure for those platforms):
------------------------------------------------------------------------
** Linux
*** XEmacs crashes on exit.
This is known to happen with Lesstif version 0.93.36. It is
apparently due to breakage in Lesstif. There is a patch for Lesstif.
Frank McIngvale <frankm(a)hiwaay.net> says:
Ok, 0.93.34 works, and I tracked down the crash to a section
marked "experimental" in 0.93.36. Patch attached, "works for me".
diff -u -r lesstif-0.93.36/lib/Xm/ImageCache.c lesstif-0.93.36-mod/lib/Xm/ImageCache.c
--- lesstif-0.93.36/lib/Xm/ImageCache.c 2002-08-05 14:53:24.000000000 -0500
+++ lesstif-0.93.36-mod/lib/Xm/ImageCache.c 2002-11-11 11:13:12.000000000 -0600
@@ -1166,5 +1166,4 @@
DEBUGOUT(_LtDebug0(__FILE__, NULL, "_LtImageCacheScreenDestroy (XmGetPixmapByDepth)
%p\n",
s));
- (void) _LTHashTableForEachItem(PixmapCache, YowIter, (XtPointer)s);
}