Subject: UNIX PINE3.95, AIX4.1.x freeze up ...

From: [email-masked] (Farid Hamjavar)
Date: 5 Sep 1996 20:06:19 -0600

AIX4.1.4
UNIX PINE3.95

Greetings ....
We have been trying to resolve this since Late July ...

We receive calls from our clients in various situations,
that their PINE 3.95 session hangs; some indefinitely frozen,
and some intermittently get back to normal situation by doing a 
Cntrl-Z and foregorunding the process .... We have turned on 
debugging and turned SYSV style signaling flags 
on and we tried many things but we seem to be unable 
to find out why PINE3.95 freeze up on many of our clients.

I e-mailed pine-info and pine-debug several times
since August and we have not heard from them yet.

If you're a site with non-problematic usage of UNIX 
PINE 3.95 under AIX4.1.4, maybe we can compare your pre-compile
config file with those of ours and see something we have not
been able to see up to this point ...

Thanks,
Farid
[email-masked]

---

From: [email-masked] (Mike Ellwood)
Date: 6 Sep 1996 16:03:26 GMT

Farid Hamjavar ([email-masked]) wrote:

: AIX4.1.4
: UNIX PINE3.95

: Greetings ....
: We have been trying to resolve this since Late July ...

: We receive calls from our clients in various situations,
: that their PINE 3.95 session hangs; some indefinitely frozen,
: and some intermittently get back to normal situation by doing a 
: Cntrl-Z and foregorunding the process .... We have turned on 
: debugging and turned SYSV style signaling flags 
: on and we tried many things but we seem to be unable 
: to find out why PINE3.95 freeze up on many of our clients.

: I e-mailed pine-info and pine-debug several times
: since August and we have not heard from them yet.

: If you're a site with non-problematic usage of UNIX 
: PINE 3.95 under AIX4.1.4, maybe we can compare your pre-compile
: config file with those of ours and see something we have not
: been able to see up to this point ...

For what it's worth, I also see this problem with 
PINE 3.95 running on AIX 4.1.3.

I did not build the pine, but took the pre-compiled version.
Apart from this problem, it works fine.
I also sent in a fault report to the bug reporting e-mail address,
some time in August.

Actually sometimes I think if I just waited a bit longer, my
session would come back, so more recently, if I seem to get the problem
I just am more patient, and (so far) it usually does come back.
(been doing that for about a week).

[email-masked]

---

From: Bill Kirchhoff <[email-masked]>
Date: Fri, 06 Sep 1996 10:20:34 -0400

> been able to see up to this point ...

  After a week of debugging I found the problem with Pine 3.95
apparently
locking is an unitialized buffer being passed to the terminal setup
routine
in Pico.  The fix is to update Pico to use terminfo.

Steps: (in pico directory)

  1. Edit makefile.a41 change tcap.c/tcap.o entries to tinfo.c/tinfo.o

  2. Edit os_unix.h and update the following (note the added a41
define):
     /* Machine/OS definition                        */
     #if     defined(ptx) || defined(sgi) || defined(sv4) ||
defined(sco) ||
             defined(a41)
     #define TERMINFO        1               /* Use
TERMINFO               */
     #else
     #define TERMCAP         1               /* Use
TERMCAP                */
     #endif

  3. A little cleanup to tinfo.c (in routine tinfoopen()):

    if (Pmaster) {
        /*
         *              setupterm() automatically retrieves the value
         *              of the TERM variable.
         */
        int err;
        setupterm ((char *)0, 1, &err);      /* <-- Add cast */
        if (err != 1) return FALSE;
    }
    else {
        /*
         *              setupterm() issues a message and exits, if the
         *              terminfo data base is gone or the term type is
         *              unknown, if arg2 is 0.
         */
        setupterm ((char *)0, 1, (int *)0);  /* <-- Add cast */
    }

  Since these small changes Pine 3.95 has been rock solid under AIX
4.1.4
and 4.2.  Good luck.

  - Bill

-- 
=============================================================================
William S. Kirchhoff - Sr. System Programmer - Northeast Regional Data
Center
[email-masked]                    
http://nersp.nerdc.ufl.edu/~bill

---

From: [email-masked] (Will Spencer)
Date: 9 Sep 1996 14:25:16 -0000

This problem also occurs with Pine 3.95 under FreeBSD 2.2-SNAP-960801.