home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!gumby!destroyer!wsu-cs!uts.cc.wayne.edu!tom
- From: tom@uts.cc.wayne.edu (Thomas Richard Stevenson)
- Subject: Re: More on aXe
- Message-ID: <1992Sep1.205343.3026@uts.cc.wayne.edu>
- Keywords: aXe
- Organization: Wayne State Univ.
- References: <1992Sep1.195127.1040@tamsun.tamu.edu>
- Date: Tue, 1 Sep 1992 20:53:43 GMT
- Lines: 27
-
- 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.
-