home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9344 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.2 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!dlj0
  2. From: dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: More on aXe
  5. Message-ID: <1992Sep3.013255.27274@ns1.cc.lehigh.edu>
  6. Date: 3 Sep 92 01:32:55 GMT
  7. Organization: Lehigh University
  8. Lines: 44
  9.  
  10. 6~
  11. In article <1992Sep1.205343.3026@uts.cc.wayne.edu>, tom@uts.cc.wayne.edu (Thomas Richard Stevenson) writes:
  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. >
  40.     
  41. These defaults are set to 0, but axe can't live with that.  You have to
  42. load your Xdefaults for aXe or it'll dump on startup, because of these
  43. impossible default settings.  I put mine in an .Xdefaults file, but
  44. a directory with Axe.ad as in teh distribution will also work, if you 
  45. tell aXe where to look in the Imakefile (It should work, anyway).
  46. -- 
  47. Sincerely,
  48.  
  49. David L. Johnson                    ID:  dlj0@ns1.cc.lehigh.edu
  50. Christmas-Saucon Hall #14, rm 211        
  51. Department of Mathematics
  52.  
  53. Lehigh University                   Telephone: 215-758-3759 (office)
  54.