home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8857 < prev    next >
Encoding:
Text File  |  1992-08-17  |  2.5 KB  |  60 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!fletcher
  3. From: fletcher@netcom.com (F. Sullivan Segal)
  4. Subject: Re: AIX 3.2 - Can't use NULL pointers?
  5. Message-ID: <-v9m3#d.fletcher@netcom.com>
  6. Date: Mon, 17 Aug 92 15:34:26 GMT
  7. Organization:  bottom up!
  8. References: <4203@wet.UUCP> <1992Aug5.211733.7283@afterlife.ncsc.mil> <1992Aug7.213644.12166@ncs.com>
  9. Keywords: X, lockups, BS
  10. Lines: 48
  11.  
  12. In article <1992Aug7.213644.12166@ncs.com> bruce@ncs.com (bruce parkin) writes:
  13. >Got another strange one. Short and sweet: IBM tells us we cannot 
  14. >use NULL pointers (a pointer set equal to NULL: ptr = NULL;
  15. >if (ptr==NULL) ) in our code. Anyone able to shed some light on this? 
  16. >IBM has yet to; they have just made this statement to us.
  17. >
  18. >Some more details....
  19. >
  20. >We have had a reoccuring problem with "screen lockups". 1 type
  21. >is where the X server will die and and leave the screen frozen -
  22. >mouse, windows, and all input. An empty core is left. Another type
  23. >is where the X server may or may not die, but the screen is also
  24. >locked. No core. We know about AIX killing processes that hog 
  25. >resources whenever the AIX god decides it feels like it, especially
  26. >with a lack of paging space. We have heard AIX 3.2 suspends the 
  27. >hog process (I have asked but not got a clear answer what "suspend"
  28. >means - but I assume the worst based on experience).
  29. >
  30. If your process is getting kicked out of the process table, try
  31. running SUID root, and add a plock(), and nice() pair in the 
  32. initialization code.
  33.  
  34. If you are having problems with X dying, try the following (which
  35. has worked for us):
  36.    Make sure that upon leaving X the job that created the X process
  37. is still logged in.  (X will die if it fails on a write to the 
  38. parent processes terminal it seems).  
  39.    Don't run the xlock program.  It doesn't work anyway.  (Ie: it
  40. doesn't lock the X server, <Ctrl><Alt><Bs> still exits the server,
  41. and leaves you with a login prompt if you've followed the previous
  42. suggestion.
  43.    Don't enable backing store for 3.1.5.  It seems to work fine
  44. in 3.2.
  45.    Try running the X server from a pseudo terminal.  (eg: "open xinit -bs").
  46.  
  47.    
  48.    
  49.    
  50. --
  51.                            -F. Sullivan Segal
  52. _______________________________________________________________
  53.  _
  54. /V\  E-Credibility:  (n -- ME) The unguaranteed likelyhood that
  55.  '   the electronic mail you are reading is genuine rather than
  56. someone's made up crap.
  57. _______________________________________________________________
  58. Mail to: fletcher@netcom.com
  59.  
  60.