home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!dlj0
- From: dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON)
- Newsgroups: comp.unix.aix
- Subject: Re: More on aXe
- Message-ID: <1992Sep3.013255.27274@ns1.cc.lehigh.edu>
- Date: 3 Sep 92 01:32:55 GMT
- Organization: Lehigh University
- Lines: 44
-
- 6~
- In article <1992Sep1.205343.3026@uts.cc.wayne.edu>, tom@uts.cc.wayne.edu (Thomas Richard Stevenson) writes:
- >jhardin@data.tamu.edu (James Hardin) writes:
- >
- >> I asked earlier for some help on getting aXe compiled under
- >>aix 3.2.1 and several people wrote and told me to comment out the
- >>line: #define R5 and to try again. One person suggested that
- >>after he had done that the program compiled, but core dumped on
- >>invocation. Well, that is what is happening to me. The program
- >>has a segmentation fault in the
- >
- >> CopyShowMenuChildren()
- >
- >>routine in the AxeEditor.c file.
- >
- >I'm seeing the same problem. What I saw was that the variable
- >CLASS(show_menu), which is the first parameter in CopyShowMenuChildren(),
- >is set to zero. Zero is the default value for CLASS(show_menu), but it's
- >also one of the possible return values from
- >
- > CLASS(show_menu) =
- > MakeMenu(showButton, CLASS(menu_parent), MakeShowMenu, False)
- >
- >MakeMenu() is called to set CLASS(show_menu) during the init of aXe. My
- >c programming is very poor, and the routine MakeMenu() is a recursive
- >subroutine, which makes the problem of debugging aXe that much harder for
- >me. I'm hoping that with this extra information, that some c expert will
- >be able to find the bug within MakeMenu(), or one of the routines MakeMenu()
- >calls.
- >
-
- These defaults are set to 0, but axe can't live with that. You have to
- load your Xdefaults for aXe or it'll dump on startup, because of these
- impossible default settings. I put mine in an .Xdefaults file, but
- a directory with Axe.ad as in teh distribution will also work, if you
- tell aXe where to look in the Imakefile (It should work, anyway).
- --
- Sincerely,
-
- David L. Johnson ID: dlj0@ns1.cc.lehigh.edu
- Christmas-Saucon Hall #14, rm 211
- Department of Mathematics
-
- Lehigh University Telephone: 215-758-3759 (office)
-