Path: utzoo!mnetor!uunet!husc6!bbn!gatech!gt-eedsp!emory!km From: km@emory.uucp (Ken Mandelberg) Newsgroups: comp.windows.x Subject: Re: CWM on Andrew Toolkit Message-ID: <2744@emory.uucp> Date: 13 Mar 88 07:15:25 GMT References: <2743@emory.uucp> Reply-To: km@emory.UUCP (Ken Mandelberg) Organization: Emory University Lines: 54 In article <2743@emory.uucp> km@emory.uucp (Ken Mandelberg) writes: >I am trying to bring up the Andrew Toolkit from contrib.src >for the x11r2 distribution on the Sun 3, running SunOS 3.4. > >The problem appears when I release button 2. Whether I choose >an item or not cwm aborts and I get a core dump. Well I bit the bullet, compiled with symbols and let dbx find the problem for me. As usual, the Sun was chasing a null pointer that presumably doesn't bother a Vax. I'm a little surprised this didn't show up in testing on at least one of the non Vax machines. I will include a diff of the fix. Its not clear to me how I submit an Andrew bug report. If someone will tell me, I'll be glad to do it. Fix for overhead/cwm/arbitrator.c *** arbitrator.c Sun Mar 13 00:29:49 1988 --- arbitrator.c.orig Thu Mar 10 19:32:20 1988 *************** *** 720,729 **** debug ( ("w 0x%x ", w) ); wqe = (struct wqe *) XLookUpAssoc (XDisplay, windowinfo, w); ! if (Destroyee && w == Destroyee->titlebar) debug ( ("It's the Destroyee's title bar - do nothing \n") ); ! else if (Destroyee && w == Destroyee->client) { debug ( ("It's the Destroyee's client window - cleaning up \n") ); free (Destroyee); --- 720,729 ---- debug ( ("w 0x%x ", w) ); wqe = (struct wqe *) XLookUpAssoc (XDisplay, windowinfo, w); ! if (w == Destroyee->titlebar) debug ( ("It's the Destroyee's title bar - do nothing \n") ); ! else if (w == Destroyee->client) { debug ( ("It's the Destroyee's client window - cleaning up \n") ); free (Destroyee); ******* -- Ken Mandelberg | {decvax,sun!sunatl,gatech}!emory!km UUCP Emory University | km@emory BITNET Dept of Math and CS | km@emory.ARPA ARPA,CSNET Atlanta, GA 30322 | Phone: (404) 727-7963