here's what i sent to the list a while ago. if you're using a the
threaded version of 5.005_02, this should fix your problem. if not, then
someone should take a closer look at the problem -- i'm sure it's a
conflict between threads in AFS and solaris threads (which perl uses).
-----
I said:
after analyzing core dumps and other atrocities, i've found a simple
solution to this problem. first of all, i'm assuming this problem only
occurs when using a threaded perl. secondly, i haven't tested the
workaround thoroughly enough to say that it doesn't break anything else.
# the order of these statements is important!
use AFS;
use Thread;
that's it. instantly, all my ptserver code ran flawlessly. if anyone has
scripts that rely on other parts of the AFS module, i'd be interested to
know if everything else still works.
i'd also like to find a way to integrate this into AFS.pm so it's
transparent to script writers, but i haven't had any luck so far...
btw, this works with 3.4a-build 5.52 and later. i haven't tested it with
anything earlier.
-----
------------------------------------------------------------------------
| Jeff Horwitz University of Michigan |
| [EMAIL PROTECTED] Ann Arbor |
| http://www-personal.umich.edu/~jhorwitz ITD Login Service |
------------------------------------------------------------------------
On Thu, 11 Mar 1999 14:27:42 +0100, Alf Wachsmann <[EMAIL PROTECTED]> said:
> Hi,
>
> a long time ago someone wrote the AFSperl module.
>
> The module does not work properly on Solaris with newer AFS Releases
> (e.g. afs3.4 5.63 or 5.67). In particular, compiling is difficult
> and the pts commands core dump.
> The module itself comes compiled with afs3.4 5.00, which works for
> the pts commands
>
> Has someone adapted this very nice and useful Perl module to newer
> versions of AFS?
>
>
> Kind regards,
> Alf.
>
>
> PS: I got my copy from ftp://ftp.csc.ncsu.edu/pub/users/tkl/AFSperl.tar
>
> ----------------------------------------------------------------------------
> Alf Wachsmann | e-mail: [EMAIL PROTECTED]
> DESY Zeuthen | Phone: +49 33762 77-363
> Platanenallee 6 | FAX: +49 33762 77-216
> D-15738 Zeuthen, Germany | Office: 1R16
> ----------------------------------------------------------------------------
> http://www.ifh.de/~alf (PGP)
> ----------------------------------------------------------------------------
>