home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20812 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

  1. Path: sparky!uunet!dziuxsolim.rutgers.edu!pilot.njin.net!dforan
  2. From: dforan@pilot.njin.net (David Foran)
  3. Newsgroups: comp.windows.x
  4. Subject: FreeAllPieces, memory leak
  5. Keywords: X application help
  6. Message-ID: <Jan.6.11.40.37.1993.6638@pilot.njin.net>
  7. Date: 6 Jan 93 16:40:38 GMT
  8. Distribution: usa
  9. Organization: Rutgers Univ., New Brunswick, N.J.
  10. Lines: 26
  11.  
  12. Hello,
  13.  
  14. I am running X11R5 on a Sun386i RoadRunner with SunOS 4.0.1. I have
  15. just begun to learn X and I have resorted to hacking X window software
  16. available via ftp to learn the fundamentals.
  17.  
  18. I have written an X window application for rudimentary image processing
  19. tasks. The program allows the user to select various options from a 
  20. menu and the program handles all file management, etc.
  21.  
  22. All is running fine except that repeated calls to display an image to
  23. the screen results in the following message:
  24.  
  25. "Programmer Botch in FreeAllPieces, there may be a memory leak."
  26.  
  27. The menu is then obliterated from the screen, and a core dump follows.
  28. It is interesting that even after all of this confusion the image
  29. is successfully displayed to the screen. But further processing
  30. requires restarting the program.
  31.  
  32. Do any of you X-perienced programmers have any idea as to how I can 
  33. run down the problem??
  34.  
  35. please respond........
  36.  
  37.         david (djf@mirage.umdnj.edu)
  38.