On Mon, Aug 30, 1999 at 11:44:22AM +0200, Hrvoje Niksic wrote:
To make things worse, not even your second patch cures the crash.
The
backtrace seems the same.
You can workaround it with:
Index: lwlib-Xaw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xaw.c,v
retrieving revision 1.9.2.3
diff -u -r1.9.2.3 lwlib-Xaw.c
--- lwlib-Xaw.c 1999/08/29 20:57:18 1.9.2.3
+++ lwlib-Xaw.c 1999/08/30 10:48:06
@@ -149,7 +149,7 @@
else if (XtClass (widget) == labelWidgetClass)
{
Arg al [1];
- XtSetArg (al [0], XtNlabel, val->contents->value);
+ XtSetArg (al [0], XtNlabel, val->contents ? val->contents->value :
"<null>");
XtSetValues (widget, al, 1);
}
#endif /* LWLIB_WIDGETS_ATHENA */
Motif seems to be more NULL-proof.
OG.