[3437] in SIPB bug reports

home help back first fref pref prev next nref lref last post

wafe (forwarded message from mkgray@Athena.MIT.EDU)

daemon@ATHENA.MIT.EDU (Calvin Clark)
Mon Jan 18 00:55:41 1993

Date: Mon, 18 Jan 93 00:55:23 -0500
From: Calvin Clark <ckclark@mit.edu>
To: bug-sipb@Athena.MIT.EDU
Cc: mkgray@Athena.MIT.EDU
Reply-To: ckclark@mit.edu


This is an Xt bug.  It may be possible for wafe to avoid triggering it,
but I don't have the time right now to examine it, because there are
more important things on my queue.  If anyone feels ambitious, and
understands how the function ComposeTranslations in TMstate.c in the R5
Xt source is supposed to work, feel free to give it a shot.  All of the
necessary build trees are in sipbsrc.  You'll probably have to compile a
debugging version of TMstate.c to link with wafe.

The smeLine and smeBSB widgets are usuable within wafe applications,
however.  They are used with menus.  Some of the wafe apps use the
following code from /mit/sipb/lib/wafe/perl/wafe_mu.pl to create a menu:

sub simpleMenue {
    local($f,$target,$type,@entries) = @_;
    for (@entries) {
        ($w = $_) =~ tr/*. /---/;
        &Xui("smeBSB {$f$w} $f label {$_} $normalFont callback {sV $target $type    }
}

For an example or two of this, look at /mit/sipb/bin/wafenews, which
calls this routine and doesn't cause wafe to dump core.

My suspicion is that wafedesign is invoking the widgets with no
arguments, so internally wafe may be passings some empty structures
around, and Xt just can't deal.

I have forwarded a notification of this problem to the author.

-Calvin

------- Start of forwarded message -------
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Sun" "17" "January" "93" "20:52:35" "EST" "mkgray@Athena.MIT.EDU" "mkgray@Athena.MIT.EDU" nil nil "wafe" "^From:" nil nil "1"])
Received: from ATHENA-AS-WELL.MIT.EDU by e40-po.MIT.EDU (5.61/4.7) id AA02059; Sun, 17 Jan 93 20:52:38 EST
Received: from W20-575-56.MIT.EDU by Athena.MIT.EDU with SMTP
	id AA17386; Sun, 17 Jan 93 20:52:37 EST
Received: by w20-575-56 (5.57/4.7) id AA25997; Sun, 17 Jan 93 20:52:35 -0500
Message-Id: <9301180152.AA25997@w20-575-56>
From: mkgray@Athena.MIT.EDU
To: ckclark@Athena.MIT.EDU
Subject: wafe
Date: Sun, 17 Jan 93 20:52:35 EST

xwafedesign dies with a Bus error and Seg fault respectvily
when one tries to use the smeLine or smeBSB widgets.

					Matthew
------- End of forwarded message -------

home help back first fref pref prev next nref lref last post