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