home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9277 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!gumby!destroyer!wsu-cs!uts.cc.wayne.edu!tom
  3. From: tom@uts.cc.wayne.edu (Thomas Richard Stevenson)
  4. Subject: Re: More on aXe 
  5. Message-ID: <1992Sep1.205343.3026@uts.cc.wayne.edu>
  6. Keywords: aXe
  7. Organization: Wayne State Univ.
  8. References: <1992Sep1.195127.1040@tamsun.tamu.edu>
  9. Date: Tue, 1 Sep 1992 20:53:43 GMT
  10. Lines: 27
  11.  
  12. jhardin@data.tamu.edu (James Hardin) writes:
  13.  
  14. >  I asked earlier for some help on getting aXe compiled under 
  15. >aix 3.2.1 and several people wrote and told me to comment out the
  16. >line: #define R5 and to try again. One person suggested that 
  17. >after he had done that the program compiled, but core dumped on
  18. >invocation. Well, that is what is happening to me. The program
  19. >has a segmentation fault in the 
  20.  
  21. >  CopyShowMenuChildren()
  22.  
  23. >routine in the AxeEditor.c file. 
  24.  
  25. I'm seeing the same problem. What I saw was that the variable 
  26. CLASS(show_menu), which is the first parameter in CopyShowMenuChildren(),
  27. is set to zero. Zero is the default value for CLASS(show_menu), but it's
  28. also one of the possible return values from 
  29.  
  30.    CLASS(show_menu) = 
  31.         MakeMenu(showButton, CLASS(menu_parent), MakeShowMenu, False)
  32.  
  33. MakeMenu() is called to set CLASS(show_menu) during the init of aXe. My 
  34. c programming is very poor, and the routine MakeMenu() is a recursive 
  35. subroutine, which makes the problem of debugging aXe that much harder for 
  36. me. I'm hoping that with this extra information, that some c expert will 
  37. be able to find the bug within MakeMenu(), or one of the routines MakeMenu()
  38. calls.
  39.